Internal Website Search

121-130 of 200 resultsRefresh

Schema-Update: Rename superclass and remove one subclass

class="pre-java"> public static void main(String[] args) { EntityManagerFactory emf ... ) { // no drop - reuse the existing file EntityManagerFactory emf = Persistence

javax.persistence.PersistenceException: No Persistence provider for EntityManager named in Karaf 4.0.7 and OSGi DS test

().getContextClassLoader(); Thread.currentThread().setContextClassLoader(EntityManagerFactory ... ;EntityManagerFactory as a service such that one simply needs to request a reference to the service

Optimistic locking: prevent version increment on entity collection attribute

{ EntityManagerFactory emf = Persistence.createEntityManagerFactory("./test.odb;drop ... { EntityManagerFactory emf = Persistence.createEntityManagerFactory("./test.odb;drop"); EntityManager em

Performance and memory usage of queries

; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import ... = 500000; public static void main(String[] args) {   EntityManagerFactory emf = Persistence

Attempt to begin a new transaction when a transaction is active

EntityManagerFactory emf; private EntityManager em; public RecordDao() { } @PostConstruct public void ... ="code">EntityManagerFactory and the EntityManager explicitly, but let

persisting object with long[][] arrays of array

EntityManagerFactory EMF = Persistence.createEntityManagerFactory("TESTDB.odb");    ... ;       EntityManagerFactory EMF = Persistence

connection pooling

/server THUFIR THUFIR Every EntityManagerFactory instance ... on working with EntityManagerFactory (which manages the connection

Strange Error with Criteria API and Sorting

.EntityManagerFactory; import javax.persistence.Persistence; import javax.persistence.criteria ... Test_OrderBy { public static void main(String[] args) {   EntityManagerFactory emf

Unexpected exception (Error 990) com.objectdb.o.InternalException

;      EntityManagerFactory emf =         ... (String[] args) {         EntityManagerFactory emf =  

Server crash - Mismatch client-server protocol prefix

( at com.fastmodel.fastplan.db.EntityManagerFactory.doFilter( at org.apache.catalina.core.ApplicationFilterChain