Re: [hibernate-dev] Jenkins build became unstable: hibernate-core-master-matrix » mssql2008R1,java16_default,hibernate #185

2012-03-14 Thread Strong Liu
On Mar 15, 2012, at 12:31 AM, Steve Ebersole wrote: > I am not able to produce this failure locally just using H2 and I do not > see how my change that would seem to cause this chaned the output SQL in > this particular case. H2 is fine, since our main master job finishes w/o any failure > >

Re: [hibernate-dev] @Entity and inheritance with annotations

2012-03-14 Thread Hardy Ferentschik
On Mar 14, 2012, at 9:17 PM, Steve Ebersole wrote: > Can someone help me understand whether this is valid annotation mapping: > > @Entity > class A { > } > > @Entity > class B extends A { > } That's valid. The @Inheritance annotation is optional. If not specified InheritanceType.SINGLE_TABLE

[hibernate-dev] @Entity and inheritance with annotations

2012-03-14 Thread Steve Ebersole
Can someone help me understand whether this is valid annotation mapping: @Entity class A { } @Entity class B extends A { } ? My understanding was that an @Entity extending an @Entity had to specify an inheritance strategy? And that this example is really the point of @MappedSuperclass: @Map

Re: [hibernate-dev] [infinispan-dev] [jboss-as7-dev] AS7-4007 missing Infinispan dependency for clustered JPA second level cache

2012-03-14 Thread Scott Marlow
On 03/14/2012 02:13 PM, Manik Surtani wrote: > > On 6 Mar 2012, at 14:45, Scott Marlow wrote: > >>> >>> >>> - Medium term: >>> Have a way to pass in marshalling configurations per cache manager and >>> per-cache (or an abstraction of it), which allows the right class resolver >>> to be passed in.

Re: [hibernate-dev] [infinispan-dev] [jboss-as7-dev] AS7-4007 missing Infinispan dependency for clustered JPA second level cache

2012-03-14 Thread Manik Surtani
On 6 Mar 2012, at 14:45, Scott Marlow wrote: >> >> >> - Medium term: >> Have a way to pass in marshalling configurations per cache manager and >> per-cache (or an abstraction of it), which allows the right class resolver >> to be passed in. (***) >> https://issues.jboss.org/browse/ISPN-1367 >

Re: [hibernate-dev] Covariant returns

2012-03-14 Thread Steve Ebersole
Ah, that was Guenther that reported the problem... Sorry On Wed 14 Mar 2012 11:51:30 AM CDT, Guillaume Smet wrote: > Hi Steve, > > On Wed, Mar 14, 2012 at 4:46 PM, Steve Ebersole wrote: >> Was the initial problem you just using SessionImpl directly? Or is it a >> problem of particular JDK handli

Re: [hibernate-dev] Covariant returns

2012-03-14 Thread Guillaume Smet
Hi Steve, On Wed, Mar 14, 2012 at 4:46 PM, Steve Ebersole wrote: > Was the initial problem you just using SessionImpl directly?  Or is it a > problem of particular JDK handling the covariant return differently?  In the > latter case we'd need to change the code.  In the former, its a discussion.

[hibernate-dev] Fwd: Jenkins build became unstable: hibernate-core-master-matrix » mssql2008R1,java16_default,hibernate #185

2012-03-14 Thread Steve Ebersole
I am not able to produce this failure locally just using H2 and I do not see how my change that would seem to cause this chaned the output SQL in this particular case. So I tried to go back to the last successful builds but I found nothing to help me. I wanted to check whether I am missing som

Re: [hibernate-dev] Covariant returns

2012-03-14 Thread Steve Ebersole
Hi Guillaume, Was the initial problem you just using SessionImpl directly? Or is it a problem of particular JDK handling the covariant return differently? In the latter case we'd need to change the code. In the former, its a discussion. As for why byId is that way, TBH being new to being ab

Re: [hibernate-dev] OGM-123 Support MongoDB as datastore - Unit tests

2012-03-14 Thread Sanne Grinovero
That's a good point. This first abstraction was built around Cache-centric approaches, so that's reflected in the [test]API method names, but there are no "Cache" types in the interface you have to implement. I think you should be able to ignore the inappropriate names and still fullfill the contr

Re: [hibernate-dev] OGM-123 Support MongoDB as datastore - Unit tests

2012-03-14 Thread Guillaume SCHEIBEL
Hi, I'm implementing the MongoDBTestHelper and I have a question Most of the methods implents are referencing a "Cache". Either for Infispan or for EhCache there is a specific implementation of Cache so should I implement mine because I think there isn't any cache into the mongodb-java-driver ?

Re: [hibernate-dev] [JPAModelgen] MixedConfigurationTest failing

2012-03-14 Thread Guillaume Smet
On Wed, Mar 14, 2012 at 1:20 PM, Hardy Ferentschik wrote: > I think it would be time to track this via a proper Jira issue. Do you mind > creating one? You can also attach the patch > you've sent me. OK, I'll do it later today. -- Guillaume ___ hiber

Re: [hibernate-dev] [JPAModelgen] MixedConfigurationTest failing

2012-03-14 Thread Hardy Ferentschik
Hi, fyi, seems Sanne is backing you up :-( He tried to build as well and got also failures - http://fpaste.org/xuOr/ The actual test failures are misleading in this case, because each tests processes all test resources prior the assertions. If any of the test classes cannot be processed you get

Re: [hibernate-dev] [JPAModelgen] MixedConfigurationTest failing

2012-03-14 Thread Guillaume Smet
On Wed, Mar 14, 2012 at 12:53 PM, Hardy Ferentschik wrote: > @Generated(value = "org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor") > @StaticMetamodel(ZeroCoordinates.class) > public abstract class ZeroCoordinates_ { > > > } Nope. I have attributes in it (and SingularAttribute import is miss

Re: [hibernate-dev] [JPAModelgen] MixedConfigurationTest failing

2012-03-14 Thread Hardy Ferentschik
Hi, just double checked. ZeroCoordinates gets generated and compiles: >>> package org.hibernate.jpamodelgen.test.mixedmode; import javax.annotation.Generated; import javax.persistence.metamodel.StaticMetamodel; @Generated(value = "org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor") @Static

Re: [hibernate-dev] Releasing another CR for Search?

2012-03-14 Thread Sanne Grinovero
Ideally I wanted HSEARCH-499, but after a drive failure over the weekend I'm still unable to stress test any fix. So *maybe* I can have a proposal for it in 2 days. We could go ahead without it, we have enough changes already? HSEARCH-1054 would be needed, so that I can update other projects in t

Re: [hibernate-dev] [JPAModelgen] MixedConfigurationTest failing

2012-03-14 Thread Guillaume Smet
BTW, tests also fails here with Maven 3.0.4. ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev

Re: [hibernate-dev] [JPAModelgen] MixedConfigurationTest failing

2012-03-14 Thread Guillaume Smet
On Wed, Mar 14, 2012 at 11:22 AM, Hardy Ferentschik wrote: > Thanks. I got the patch now. I have indeed not seen it before. > I need to have a closer look though, because as I said, I don't see > this test failure. As you suspect,  I would not intentionally keep a failing > test on master ;-) I'

Re: [hibernate-dev] [JPAModelgen] MixedConfigurationTest failing

2012-03-14 Thread Hardy Ferentschik
Hi Guillaume, > That said, I don't think it has anything to do with the environment. > I'm not sure you've seen my preliminary patch as I don't see it in any > archives so I suppose the list is filtering the attachments. > > I posted it here: https://share.openwide.fr/share/zone/gsmet/367583861

Re: [hibernate-dev] [JPAModelgen] MixedConfigurationTest failing

2012-03-14 Thread Guillaume Smet
Hi Hardy, On Wed, Mar 14, 2012 at 9:35 AM, Hardy Ferentschik wrote: > first off, thanks for your pull requests for Modelgen. I applied both :-) Thanks. > I did not realize that the issue you are describing here is still in issue. > Are you reproduce > this problem with the current master? I do

Re: [hibernate-dev] [JPAModelgen] MixedConfigurationTest failing

2012-03-14 Thread Hardy Ferentschik
Hi Guillaume, first off, thanks for your pull requests for Modelgen. I applied both :-) I did not realize that the issue you are describing here is still in issue. Are you reproduce this problem with the current master? I don't have any test failures against master. What is your environment? J

Re: [hibernate-dev] Releasing another CR for Search?

2012-03-14 Thread Emmanuel Bernard
Yes I think you are right. It's better to release a CR this week. If only to release our stress ;) HSEARCH-1054 is pending, is there anything you wanted in before this CR? Emmanuel On 12 mars 2012, at 11:44, Sanne Grinovero wrote: > There was a plan to release Hibernate Search 4.1.0.Final today