I have entity model like this (using EclipseLink and JPA 2.0): @Entity class A { @Id @GeneratedValue(strategy = GenerationType.AUTO)
I doing a Proof Of Concept to figure out how efficient to call a store procedure using EclipseLink. I was able to call oracle store procedure using EclispeLink with Scalar/primitive data types (link I
I\'m using the EclipseLink implementation of the JPA 2.0 which allows pessimistic locking.I k开发者_运维百科now how to lock an entity but how do I release the lock?At first I thought this was all take
I want to output the SQL generated by EclipseLink to the console, during development. However, I could only do so using the logging level FINE. I have a complex domain model composed of开发者_开发问答
With two users simultaneously using my simple app, I\'m getting exception: Error Code: 0 Call: SELECT ID, NAME, IMAGE FROM GameObjectTable ORDER BY ID ASC
I have implemented a DescriptorE开发者_如何学CventAdapter for JPA (eclipselink). It performs simple timestamp operations. The preUpdate method is being called, however it is being called too often. It
I\'m new to JPA so forgive me if not being clear. Basically I want to prevent concurrent modifications by using Optimistic Locking.
Suppose I have an entity: @Entity public class AnEntity implements Serializable{ @ElementCollection private List<String> strings = new Vector<String>();
I\'m on a project that uses the EclipseLink implementation of JPA to talk to a PostgreSQL database.I have a task for which PostgreSQL NOTIFY/LISTEN seems like a perfect fit.Unfortunately, I\'m a JPA n
I get the following error when attempting to persist an object: java.lang.IllegalStateException:During synchronization a new object was found through a relationship that was not marked cascade PERSI