I\'m working on migrating some code that has two entities (Progress and PerformanceRating) that are related by a many-to-many relationship.Each PerformanceRating has multiple Progress and each Progres
I can\'t map query result to POJO. JPA executes query ok (it trace in logs) but in mapping process throws a NPE.
I am not able to describe my problem, I try it again with example: I have two entities (tables): Department and Person. Both tables have a field CODE which is not unique.
I\'m trying to write a Java EE 6 application using JPA but without using Hibernate or Spring. I used Netbeans to generate the JPA classes, and I created the tables in Postgres, but I am not able to ru
I am using the inheritance strategy table per concrete class and today I faced something very strange. I still don\'t know the reason for that problem but let me explain what it is...
I have been struggling with this for sometime and can\'t seem to get past the problem. I have a persisted entity called SiteVisit which is many-to-many related to Staff via an intermediate table calle
I am using Spring , JPA, Hibernate, Postgresql. I can upload/insert a file to the database. But I got the error when tried to access the file.
The following configuration is ok for WebLogic, but in OpenEJB it raises a error \"javax.naming.NameNotFoundException: Name \"AppDB\" not found.\"
We\'re using JPA, and when a collection of objects returns from a query, a separate query is executed for each \"child\" object related through a foreign key.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari