Home » Search

About EntityManagerFactory

71-80 of 200Refresh
Issue
2

Threaded Test - Failed to commit transaction: Unexpected internal exception

() {         EntityManagerFactory emf = Persistence.createEntityManagerFactory(             "$objectdb/db ... extends TestRunnable {         private String _name;         private EntityManagerFactory _emf;         private int _num;         public ObjectDbProducer(String name, EntityManagerFactory emf, int num
Forum
2

Remove an entity which attributes were changed - OptimisticLockException

seems to be using one or more EntityManagerFactory / EntityManager instances, i.e ... "? Are you sure that the same EntityManager (not just the same EntityManagerFactory) is used by ... T1855 {     public static void main(String[] args) {         EntityManagerFactory emf
Forum
2

Empty temporary dat files in the temp folder

have a connection (open EntityManagerFactory). For each user action we create an EntityManager ... .EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.FlushModeType ... *.dat files"); } public static void createDB(String db) {   EntityManagerFactory emf
Issue
2

Unexpected Exception during commit

.fastmodel.fastplan.db.EntityManagerFactory.doFilter(EntityManagerFactory.java:158) at org.apache ... case that produces the exception every time:     javax.persistence.EntityManagerFactory emf ... .Enhancer.enhance(Enhancer.java:87) at com.fastmodel.fastplan.db.EntityManagerFactory
Issue
2

Issues with JDO Casting & Full Qualified Names

; import javax.persistence.EntityManagerFactory; import javax.persistence.Persistence; public final class F328 { public static void main(String[] args) {   EntityManagerFactory emf = Persistence ... .persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence
Forum
2

Schema Update: class hierarchy change

.EntityManagerFactory; import javax.persistence.Persistence; public final class Test { public static void main(String[] args) {   System.out.println("start");   EntityManagerFactory emf = Persistence ... .EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.Persistence
Issue
2

Weird issue with variable naming

; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import ... ) {   EntityManagerFactory emf = Persistence.createEntityManagerFactory("objectdb:$objectdb/db/test ... .persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax
Forum
2

ODB IndexActivation NullPointerException

periods Do you mean with opening and closing the creation of EntityManagerFactory or of EntityManager ... the following code block after creating the EntityManagerFactory. this.entityManagerFactory ... = this.entityManagerFactory.createEntityManager(); final String indexActivationThreadName = "ODB
Forum
2

Unable to persist TreeMap

; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import ... ) {         EntityManagerFactory emf = Persistence.createEntityManagerFactory(           "objectdb:D:\\eclipse ... .util.Map; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory
Forum
2

ObjectDB CRUD Examples

Would this be correct?     public List read() { EntityManagerFactory emf ... . Would this be correct?     public List read() { EntityManagerFactory emf = Persistence ... and see if it works. It would be more efficient to avoid creating and closing EntityManagerFactory instances