[hibernate-dev] Hibernate Envers question

2012-08-31 Thread Christian Beikov
Hello! I wondered how envers works/could work in a JPA portable way. Are you using somehow a entity listener approach or so? Does the the code needed for envers really depend on the hibernate core stuff or does hibernate just offer a more relaxed contract in respect to entity listeners? I was

Re: [hibernate-dev] Metamodel dev questions

2012-08-31 Thread Hardy Ferentschik
On 31 Jan 2012, at 1:46 PM, Steve Ebersole wrote: > IIUC that not how use of jboss-logging for generating exception messages is > supposed to work, though to be honest, I do not know the details. Since you > "use this in Validator and Search" I would figure you would know how to do it. Turns

Re: [hibernate-dev] Metamodel dev questions

2012-08-31 Thread Hardy Ferentschik
On 31 Aug 2012, at 13:49, Steve Ebersole wrote: > In terms of exception handling, of course you are right in terms of final > product. I understand we are in a transition phase. Just saying that we should keep it in mind already now and IMO add the obvious checks already now. > IIUC that not

Re: [hibernate-dev] Metamodel dev questions

2012-08-31 Thread Steve Ebersole
In terms of exception handling, of course you are right in terms of final product. IIUC that not how use of jboss-logging for generating exception messages is supposed to work, though to be honest, I do not know the details. Since you "use this in Validator and Search" I would figure you would

Re: [hibernate-dev] org.hibernate.engine.jdbc.dialect.spi.DialectResolver

2012-08-31 Thread Steve Ebersole
On Aug 31, 2012 3:02 AM, "Max Rydahl Andersen" wrote: > > and having > > On 31 Aug 2012, at 01:59, Steve Ebersole wrote: > > > Correct. The current proposal has them passed in as settings. > > okey, so I must be missing something - since no access to database metadata how is the autodetection of

[hibernate-dev] Metamodel dev questions

2012-08-31 Thread Hardy Ferentschik
Hi, I just bumped into a couple of issues when working on some metamodel tests. First thing I came across was a NullPointerException :-( Turns out I was missing to add a annotated class to the test. Digging a little deeper I noticed that the problem is in the Binder. It does something like:

Re: [hibernate-dev] org.hibernate.engine.jdbc.dialect.spi.DialectResolver

2012-08-31 Thread Max Rydahl Andersen
and having On 31 Aug 2012, at 01:59, Steve Ebersole wrote: > Correct. The current proposal has them passed in as settings. okey, so I must be missing something - since no access to database metadata how is the autodetection of name/version supposed to work when users have not passed in the