I\'m new to JPA and I\'m having problems with the autogeneration of primary key values. I have the following entity:
I try to write an big test class. I\'m using Junit, Hibernate and TopLink and H2 database. Before this I used EJB3Unit (including Hibernate and H2).
i am using toplink, but i am getting some problem while updati开发者_高级运维ng the values. this is my code snippet
Is there any way i can access t开发者_开发百科he object of one client session from another client session?Unless you have isolated your Entities to the client Session (ClassDescriptor.setIsIsolated) t
can i directly create unit of work on server session instead of 开发者_开发问答creating multiple client session. As my application runs in multi threaded environment, so i am unable to get updated ent
i am using a toplink with struts 2 and toplink for a high usage app, the app always access a single table with multiple read and writes per second. This causes a lock_wait_timeout error and the transa