Questions tagged [eclipselink]

EclipseLink delivers a comprehensive open-source Java persistence solution. EclipseLink focuses on standards (JPA, JAXB, SDO) with advanced features, performance and scalability for enterprise software developers across data sources, formats, and containers.

EclipseLink delivers a comprehensive open-source Java persistence solution. EclipseLink focuses on standards (JPA, JAXB, SDO) with advanced features, performance and scalability for enterprise software developers across data sources, formats, and containers.

5055 questions
2
votes
2 answers

Using different eclipselink than bundled in glassfish-embedded-web

I use glassfish-embedded-web for integration tests inside a maven project: org.glassfish.extras glassfish-embedded-web 3.2-b06
Marek
  • 7,337
  • 1
  • 22
  • 33
2
votes
1 answer

GlassFish Server deployment and MySQLNonTransientConnectionException

When I deploy my application, after a while I get this exception: javax.servlet.ServletException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.DatabaseException Internal…
Rob
  • 3,556
  • 2
  • 34
  • 53
2
votes
2 answers

EclipseLink does not work on Netbeans, is this normal?

It'll be weeks that I'm stuck with EclipseLink. I can not persist an object in my database. I use netbeans 7.3. I encountered this problem when I started designing a web application. What follows is the approach I have adopted. It may be that I do…
2
votes
1 answer

How would I audit the changes to a list of JPA entities?

I've got two lists of entities: One that is the current state of the rows in the DB, the other is the changes that were made to the list. How do I audit the rows that were deleted, added, and the changes made to the entities? My audit table is…
Daniel Kaplan
  • 62,768
  • 50
  • 234
  • 356
2
votes
3 answers

Trouble with Aspectj load-time-weaving when using EclipseLink JPA in Spring dm Server 1.x

I am attempting to get EclipseLink JPA working inside the Spring dm Server OSGi environment. Relevant frameworks and libraries downloaded from the Spring Enterprise Bundle Repository include: dm Server 1.0.2.SR02 AspectJ Runtime 1.6.3 AspectJ…
2
votes
2 answers

EclipseLink NoSQL limitations, support, future

I am trying to understand better EclipseLink NoSQL, but I am having trouble understand it's limitations, what it currently supports and I simply can't find anything about the future plans the team has. So, in short, I have quite a big list of…
Flame_Phoenix
  • 16,489
  • 37
  • 131
  • 266
2
votes
2 answers

How to handle server errors/exceptions in GWT 2.5 + RequestFactory and PostgreSQL?

Environment GWT 2.5 using RequestFactory EclipseLink 2.4.1 PostgreSQL 9.1 Problem To give context to the part of RequestFactory I'm looking at, I've inserted the structure of the snippet below: requestContext.persist().fire(new…
hulkmeister
  • 429
  • 1
  • 5
  • 15
2
votes
1 answer

One to many and Many to One MOXy @XmlInverseReference EclipseLink 2.5

I'm showing you the class that already I've got and I would like to serialize with jaxb. Unluckly when I try to serialize positionSet inside Person I can't obtain completely all the attribute that there are inside the Person object Code: public…
Coder
  • 183
  • 3
  • 16
2
votes
1 answer

Does Hazelcast provide an L2 (Second Level) distributed cache for EclipseLink?

Hazelcast offers an L2 cache for Hibernate as documented in their manual here: http://hazelcast.com/docs/2.1/manual/single_html/#HibernateSecondLevelCache. My question is if there is the same for EclipseLink? (I'm thinking not but maybe someone…
jonas789
  • 219
  • 1
  • 3
  • 13
2
votes
1 answer

Eclipselink/Derby: Foreign Key Constraint

I am trying to remove an object CATEGORY. All keys in this particular object are . Nor is the ID of this object part of any foreign key in another object. Still I'm getting a violation. I have no idea what 'CCNTCTGSLCTDCTGRSD' might be. I have…
Menno
  • 12,175
  • 14
  • 56
  • 88
2
votes
1 answer

@XmlJavaTypeAdapter, Inheritance and xsi:type

Alright here is what happens when I do the following: Entities.java: All of those classes whose names start with "E" (e.g. EStudent, ETeacher etc.) extends EntityWithId class. public class Entities { Map students; …
mostruash
  • 4,169
  • 1
  • 23
  • 40
2
votes
1 answer

With EclipseLink Is it possible to create orm.xml mappings during runtime for a class?

I am new to EclipseLink. I am trying to generate orm mappings for a class during runtime and do mapping. Is it possible at all? I see examples where a class is generated during runtime but that doesn't fit my situation. thanks
PGK
  • 141
  • 3
  • 12
2
votes
1 answer

JPA: How to map VARCHAR column containg dates to DATE format?

I have to read dates from a database using JPA. I'm using EclipseLink and MySQL. The date is stored in the database as varchar(10) in the format YYYY-MM-DD. It's not possible changing the database column type. Is there a way to map this column to…
user1052004
  • 93
  • 2
  • 6
2
votes
1 answer

more info in the commit of the entity manager

Im using eclipselink with jpa and when I do commit sometimes im having error with lack of info , there is a way get addtional informative error which can help me to find the cause of the error quickly ? entityManager.getTransaction().commit();
John Jerrby
  • 1,683
  • 7
  • 31
  • 68
2
votes
1 answer

EclipseLink and GlassFish: Predeployment fails: NullPointerException

When I try to deploy my EJB-application to glassfish (3.1.2), I randomly get "Predeployment Errors". Some times it works, sometimes it doesn't, with a 50%-chance. I searched the internet for this problem, but it seems that I am the only one with…
Manuel
  • 496
  • 6
  • 20