openjpa « Glassfish « JPA Q&A

1. Glassfish EJB 3 OpenJPA 2

I'm stuck between a rock and a hard place at the moment with this problem. If I define my persistence context as:

@PersistenceContext(unitName = "persistentUnit")
private EntityManager entityManager;
Glassfish refused to start with the ...

2. Does OpenJPA work well with Glassfish?

Is anyone successfully using OpenJPA with Glassfish? I'm trying to use OpenJPA 2.1 with Glassfish 3.1 Open Source. I've followed the instructions to integrate the two here ->

3. TopLink, OpenJPA etc.

1> I am using MySQL on Linux where table names are case sensitive. Since mine is a new Application, I donot have to annotate the table name for every entity class. I use TopLink's auto table creation process to create tables. The problem is that in absense of explicit entity class & property name mapping to database table & column names, ...

4. GF3 + OpenJPA 2.0 - Enhancer not working

This one has the disadvantage, that the entity classes used (here: Class1 and Class2) need to be listed twice (in persistence.xml and pom.xml), to configure the Enhancer outside of Glassfish and push the results into OpenJPA's MetaDataFactory. Of course, keeping two lists of classes up to date is error prone, especially as the following error is produced, if this step is ...