[hibernate-dev] Statements issued for unidirectional one-to-many with @JoinColumn

2016-01-21 Thread Gunnar Morling
Steve, all, I have a model with two entities, Parent and Child, and an unidirectional one-to-many association from the former to the latter. Via @JoinColumn on the association it is ensured that the Parent FK is stored in the Child table, i.e. without a separate join table. When inserting a

[hibernate-dev] [OGM] How to get the transaction id

2016-01-21 Thread Davide D'Alto
Hi, for the implementation of the Neo4j remote dialect I need to get the identifier of the transaction. I suppose this is something that we will need for other dialect as well in the future. What's the proper way to get the transaction id or the transaction? Is it via the TransactionDriver? Once

Re: [hibernate-dev] 2LC docs

2016-01-21 Thread Radim Vansa
Seems much more comprehensive, though I can't find e.g. 'Cache-provider/concurrency-strategy compatibility' table (already out-of-date). Nevertheless, thanks! I'll try to find some timeslot for updating it early next week. Radim On 01/21/2016 04:17 PM, Vlad Mihalcea wrote: > Hi Radim, > >

Re: [hibernate-dev] 2LC docs

2016-01-21 Thread Vlad Mihalcea
Hi Radim, I've just committed the updated version of the Caching chapter. To build it, you need to: 1. go to the documentation folder 2. run gradle rUG 3. The new user guide is located under: documentation/target/asciidoc/userguide/html/Hibernate_User_Guide.html Let me know what you think.

Re: [hibernate-dev] Statements issued for unidirectional one-to-many with @JoinColumn

2016-01-21 Thread Gail Badner
Hi Gunnar, Can you try using this pull request for HHH-9979 [1] to see if the extra updates go away? This pull request is already closed because I am going to use new OperationContext functionality to fix HHH-9979. I know this pull request does get rid of some updates, and the future one will as

Re: [hibernate-dev] Statements issued for unidirectional one-to-many with @JoinColumn

2016-01-21 Thread Gail Badner
Actually, that pull request will only affect merging transient entities. Are you seeing the extra updates when merging? On Thu, Jan 21, 2016 at 1:09 PM, Gail Badner wrote: > Hi Gunnar, > > Can you try using this pull request for HHH-9979 [1] to see if the extra > updates go