[hibernate-dev] release

2012-03-07 Thread Steve Ebersole
Just a heads up that I cut the release and pushed bundles to SF and artifacts to Nexus. I'll upload docs and blog tomorrow. Can anyone point me to the definitive page detailing docs.jboss.org access? Thanks. -- st...@hibernate.org http://hibernate.org

Re: [hibernate-dev] Infinispan tests

2012-03-07 Thread Steve Ebersole
Hmm, I did not have problems resolving artifacts, but I just noticed this CR... we really need to not be upgrading to CR releases of dependencies as part of a point release. Sigh On Wed 07 Mar 2012 08:19:55 PM CST, Strong Liu wrote: > btw ci fails due to > > 08:23:54.474 [ERROR] [org.gradle.Bui

Re: [hibernate-dev] Infinispan tests

2012-03-07 Thread Strong Liu
btw ci fails due to 08:23:54.474 [ERROR] [org.gradle.BuildExceptionReporter] Could not resolve all dependencies for configuration ':hibernate-infinispan:testCompile'. 08:23:54.478 [ERROR] [org.gradle.BuildExceptionReporter] > Artifact 'org.infinispan:infinispan-core:5.1.2.CR1:tests@jar' not fou

Re: [hibernate-dev] Infinispan tests

2012-03-07 Thread Steve Ebersole
Speaking of which, is everyone else seeing tests in hibernate-infinispan taking many many minutes to run? On Wed 07 Mar 2012 07:53:42 PM CST, Steve Ebersole wrote: > Running the hibernate-infinispan tests I am seeing 2 output > directories showing up in the hibernate-infinispan directory (aka, n

[hibernate-dev] Infinispan tests

2012-03-07 Thread Steve Ebersole
Running the hibernate-infinispan tests I am seeing 2 output directories showing up in the hibernate-infinispan directory (aka, not hibernate-infinispan/target/...). Namely, I see hibernate-infinispan/ObjectStore and hibernate-infinispan/PutObjectStoreDirHere. Anyone know how/if we can change

Re: [hibernate-dev] Bug in org.hibernate.hql.ast.tree.DotNode#dereferenceEntity, need help assembling test case

2012-03-07 Thread Christopher Smith
An update: If I manually set "joinIsNeeded=true" in the debugger to force it to generate a join, the generated join is a cross join, which I believe is incorrect for this "IS NULL" query. I think what's tripping up the parser is that "IS NULL" on a mapped field means something different from "IS N

[hibernate-dev] Bug in org.hibernate.hql.ast.tree.DotNode#dereferenceEntity, need help assembling test case

2012-03-07 Thread Christopher Smith
I have run into a bug in 3.6.10.Final that I can replicate and describe, but I'm not sure how to generate a useful automated test case (the application I'm working on is using Spring/JPA/Hibernate, and I don't know how to set up the test sessions and such by hand). I've traced the bug to DotNode#de

Re: [hibernate-dev] [OGM] AssociationKey table property during the create tuple association

2012-03-07 Thread Emmanuel Bernard
On 7 mars 2012, at 18:00, Guillaume SCHEIBEL wrote: > OK, but to set the fk to B into A I need to retrieve (from the DB would be > good I think) the current instance of B. No, why? In this case you will need to create a mongodb document that contains the navigational information to go from a

Re: [hibernate-dev] [OGM] AssociationKey table property during the create tuple association

2012-03-07 Thread Emmanuel Bernard
No, you should have two RowKeys, one for Entity A and one for Entity B (speaking of instances here). AssociationKey represents the navigational info to go from A to B (B to A would be represented by a second AssociationKey object). And what would be stored is the list of navigational info (in you

[hibernate-dev] [OGM] AssociationKey table property during the create tuple association

2012-03-07 Thread Guillaume SCHEIBEL
Hello, I'm writting the OGM dialect for mongodb and I work on the @OneToOne association. When the createTupleAssociation method is called, there is an AssociationKey parameter which should (I think) represents the object to which we are associated. Let's take a very short example: class EntityA

Re: [hibernate-dev] HSearch: Do includePaths also reduce queries because objects "dirty" less quickly?

2012-03-07 Thread Sanne Grinovero
Hi Marc, dirty checking in Hibernate Search only inspects indexed properties, and reindexes only if one of the indexed properties is flagged as dirty (by Hibernate Core). So having removed indexed properties with a smaller set of paths by using the new includePaths, this would also reduce the set o

[hibernate-dev] HSearch: Do includePaths also reduce queries because objects "dirty" less quickly?

2012-03-07 Thread Marc Schipperheyn
With the new includePaths on IndexedEmbedded is it now possible to have a more specific "dirty" check? Since you are indexing less paths, it stands to reason that less objects will need to be reindexed because they are (potentially) "dirty" during a save operation. I'm just curious if new opportuni

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

2012-03-07 Thread Scott Marlow
On 03/06/2012 02:45 PM, Scott Marlow wrote: > On 03/06/2012 02:27 PM, Galder Zamarreño wrote: >> So, to summarise all of this. What I suggest is this: >> >> - Short term: >> The "quick fix" I suggest in >> http://lists.jboss.org/pipermail/infinispan-dev/2012-March/010317.html > > Do we want to try

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

2012-03-07 Thread Galder Zamarreño
On Mar 6, 2012, at 10:01 PM, Paul Ferraro wrote: > - Original Message - >> >> >> (***) I still don't fully understand how web apps don't have the same >> issue as 2LC of not seeing Infinispan classes (Reminder: we're not >> talking about the contents of the cache, but about the Infinisp

Re: [hibernate-dev] Queries executed with bidirectional @OneToOnes

2012-03-07 Thread Guillaume Smet
On Mon, Mar 5, 2012 at 9:51 PM, Steve Ebersole wrote: > Hm, then I do not actually understand the first query either.  Are these > query results cached? Nope, no cache yet. I'm going to work on a simple Maven project so that you can reproduce the problem easily. Have a nice day. -- Guillaume

[hibernate-dev] Hibernate JPA modelgen issue with @Embedded and @OneToOne

2012-03-07 Thread Guillaume Smet
Hi, Yesterday, we tried the following mapping: EntityA { @Embedded private EntityB entityB; } EntityB { @OneToOne private EntityC entityC; } In this configuration, and only with a @OneToOne, Hibernate JPA Modelgen doesn't generate the attribute for entityC in EntityB_ (

[hibernate-dev] Hibernate Validator Roadmap and 4.3.0.Alpha1 release

2012-03-07 Thread Hardy Ferentschik
more info about $subject on in.relation.to - http://in.relation.to/22988.lace --Hardy ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev