Generator 5 « Map « JPA Q&A

1. identity generator

2. increment generator thread-safe?

I was wondering if the increment generator is thread-safe? From searching through the archives I was unclear whether or not it is now thread-safe. One post from 2007 mentioned there was a fix for this, but I wasn't sure if that was accurate or not. The documentation says to not use this in clusters, but it doesn't say explicitly that it ...

3. Hibernate - generator class

That is left to the database. That is why is called native. Ps: In Visual Studio I dragged all the tables, and he kindly generated the layout and the xml's for me in just a few seconds.. and then I remebered how many hours I needed to correctly implement all the DAO classes and xml mapping files manually with Hibernate..