Hi, guys,
who coud tell me what a default data access should be used in case of
entity mapping through orm.xml (field/property)?
Is it written anywhere?
I ask because there is seems a bug in hibernate - it use "property"
access by default.
Dmitr
Hi, guys,
who could tell me what a default data access should be used in case of
entity mapping through orm.xml (field/property)?
Is it written anywhere?
I ask because there is seems a bug in hibernate - it use "property"
access by default.
Dmitr
gt; In any case, you can enforce a specific access type in xml using one
> of the many ways to explicitly set
> the access type, for example
>
>
> --Hardy
>
> On Thu, 24 Jun 2010 09:57:46 +0200, Dmitry Geraskov
> wrote:
>
>> Hi, guys,
>> who could tell me w
dn't find any usage of Table#isSchemaQuoted(), and
DatabaseMetadata#getTableMetadata(..., isQuoted) called with
Table#isQuoted() parameter. Perhaps there should be
isQuoted = Table#isQuoted() || Table#isSchemaQuoted() ||
Table#isCatalogQuoted() ?
Dmitry Geraskov.
__
://issues.jboss.org/browse/JBIDE-5461 for more details)
Thanks,
Dmitry Geraskov
Hibernate tools plugins developer.
### Eclipse Workspace Patch 1.0
#P Branch_3_2_5.ga
Index: src/org/hibernate/mapping/ForeignKey.java
===
--- src/org
problem is I can't use instanceof to determine whether current
connection provider is Stoppable, because internally hibernate uses proxyes.
What is right way to replace old ConnectionProvider#close()?
Dmitry Geraskov
___
hibernate-dev mailing list
hibe
= connectionProvider.unwrap(Stoppable.class);
stoppable.stop();
}
but condition returns false...
Dmitry
01/06/2011 11:22, Dmitry Geraskov wrote:
> Hey, guys,
>
> in Hibernate 3 you had ConnectionProvider#close() method which releases
> all the resources used by the connection pr
Sure the proxy implements Service as actually it implements
ConnectionProder which is a rg.hibernate.service.Service and
org.hibernate.service.spi.Wrapped.
01/06/2011 11:25, Sanne Grinovero wrote:
> 2011/6/1 Dmitry Geraskov:
>> Hey, guys,
>>
>> in Hibernate 3 you had Con
rappable
> which is instead meant to give you access to wrapped objects (the
> datasource of a datasource connection provider, e.g.).
>
> On Jun 1, 2011 3:37 AM, "Dmitry Geraskov" <mailto:dgeras...@exadel.com>> wrote:
> > Sure the proxy implements Service as
e are many sources?
Thanks,
Dmitry
01/06/2011 12:13, Steve Ebersole wrote:
>
> Have a look at the latest sources in git...
>
> On Jun 1, 2011 4:12 AM, "Dmitry Geraskov" <mailto:dgeras...@exadel.com>> wrote:
> > Sorry, Steven I didn't understand, could y
Thanks, Steve, this works.
(Unfortunately this didn't fix our tests, but anyway thanks)
Dmitry
01/06/2011 14:18, Steve Ebersole wrote:
> On 06/01/2011 04:34 AM, Dmitry Geraskov wrote:
>> You mean I can't close ConnectionProvider using alpha3?
&g
Hi, Steve,
I just looked in ManagedProviderConnectionHelper which is used in
SchemaExport, SchemaUpdate, SchemaValidator and it is broken.
It is never creates a connection, and this make impossible to run
SchemaExport, SchemaUpdate, SchemaValidator configured by cfg.
I guess the class is going
hibernate4 too, but only if connection can't be established because of
SQLException, but not any other problem.
Dmitry Geraskov
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
Done,
please check my pull request.
06/06/2011 15:15, Steve Ebersole wrote:
>
> Then please create a test case that illustrates this problematic
> behavior and ideally create a pull request fixing said behavior
>
> On Jun 6, 2011 5:01 AM, "Dmitry Geraskov" <mailto:
Here is the link to the request:
https://github.com/hibernate/hibernate-core/pull/103
08/06/2011 9:56, Dmitry Geraskov wrote:
> Done,
> please check my pull request.
>
> 06/06/2011 15:15, Steve Ebersole wrote:
>> Then please create a test case that illustrates this problemat
Hey, guys,
I tried to build hibernate source yesterday and I faced a problem with
gradle.
How can I let it the maven repository location (preferably without
changing common build.gradle)? (I don't use default
'user.home/.m2/repository)
Any ideas?
Dmitr
ndirectly calls driver class loading due to the mentioned change.
Also it breaks org.hibernate.test.annotations.SecuredBindingTest which
expects the fail in JDBCServices constructor.
Dmitry Geraskov
08/06/2011 10:24, Dmitry Geraskov wrote:
> Here is the link to the request:
>
> http
implement org.hibernate.usertype.UserType interface
2. Can it be a primitive type
3. Any other requirements
Or would be nice if you point me on some doc which describes al possible
usages of the annotation.
Thanks,
Dmitry Geraskov
___
hibernate-dev mailing
Hi, Strong Liu,
can I somehow look at you "draft" hibernate tools for hibernate core 4
implementation?
You said there are a lot of code should be rewritten, I guess you try to
get rid of Configuration class.
My approach was: minimal changes and still use the Configuration clas
yet)
> but there are others:
>
> 1. package change
> 2. ServiceRegistry
> 3. Junit 4
>
> ---
> Strong Liu
> http://hibernate.org
> http://github.com/stliu
>
> On Oct 7, 2011, at 8:05 PM, Dmitry Geraskov wrote:
>
>> Hi, Strong Liu,
>
t;
.
This seems like a bug, or I do something wrong?
Dmitry Geraskov
Exception in thread "main"
org.hibernate.internal.util.config.ConfigurationException: Unable to perform
unmarshalling at line number 5 and column 26 in RESOURCE hibernate.cfg.xml.
Message: cvc-elt.1: Ca
Hi, guys,
I am working on the hibernate tools code generation problem for tables
which has quoted names (name, schema or catalog has special symbols(dot
for ex.)).
Any reason why Table#setName(x) and Table#setSchema(x) have "unquote"
logic, but Table#setCatalog(x) does not?
Dmitr
I created jira issue for this as nobody replied.
https://hibernate.onjira.com/browse/HHH-7195
19.03.2012 17:12, Dmitry Geraskov пишет:
> Hi, guys,
>
> I am working on the hibernate tools code generation problem for tables
> which has quoted names (name, schema or catalog has specia
lease help?
Thanks,
Dmitry Geraskov
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
> The version itself comes from build.gradle where the group- and artifact-if
> together with the version are defined.
> Something like:
>
> subprojects { subProject ->
> // ...
> group = 'org.hibernate'
> version = '4.1.0-SNAPSHOT'
>
Hi, guys,
I noticed that hibernate excludes unlisted classes even if
** is set to *false*.
Here is the text from persistence-2_0-final-spec.pdf:
/8.2.1.6 mapping-file, jar-file, class, exclude-unlisted-classes
The following classes must be implicitly or explicitly denoted as
managed persistence
;> and people that do not want to exclude simply don't add this element.
>>>
>>> It's possible that our parsing does not account for people that use the
>>> explicit form to not exclude. Open a JIRA issue please.
>>>
>>> On 3 mai 2012, at 14:12
Hi, guys,
it is possible to set in persistence.xml path to hibernate.cfg.xml. The
question is: can this path be absolute and work? Or the path must be
classpath relative?
This question is important for our plugins ui.
Thanks, Dmitry
___
hibernate-dev
t; Also, that is not a "Hibernate development" question. Its a usage
> question. Please direct usage questions to either the forum or IRC.
>
>
> On Mon 14 May 2012 06:06:47 AM CDT, Dmitry Geraskov wrote:
>> Hi, guys,
>>
>> it is possible to set in persis
> Dima, which JBIDE/HBX was/is this issue related to ?
>
> /max
>
>> On Thu 22 Mar 2012 06:48:37 AM CDT, Dmitry Geraskov wrote:
>>> I created jira issue for this as nobody replied.
>>>
>>> https://hibernate.onjira.com/browse/HHH-7195
>>>
>>
30 matches
Mail list logo