ObjectDB ObjectDB

Internal Website Search

121-130 of 200 resultsRefresh

Attempt to begin a new transaction when a transaction is active

The code I have a RecordDao stateless java bean : @Stateless public class RecordDao { private EntityManagerFactory emf; private EntityManager em; public RecordDao() { } @PostConstruct ... the EntityManagerFactory and the EntityManager explicitly, but let the application server

persisting object with long[][] arrays of array

) {         EntityManagerFactory EMF = Persistence.createEntityManagerFactory("TESTDB.odb ... ;     }     public static void main(String[] args) {         EntityManagerFactory EMF

connection pooling

THUFIR Every EntityManagerFactory instance manages a pool of connections and reuses ... with EntityManagerFactory (which manages the connection pool) and EntityManager (which represents a connection). By

Problem with distinct select, order by and equivalent alias/attribute path

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

EntityManager refresh problem

javax.persistence.EntityManagerFactory; import javax.persistence.Persistence; import javax ... (dbFileName);         odbFile.delete();         EntityManagerFactory emf = Persistence

Cast exception?

the exception: /* */ public static EntityManagerFactory createEntityManagerFactory(String paramString, Map paramMap) /* */ { /* 73 */ EntityManagerFactory localEntityManagerFactory

Need help to make this test work and define proper annotations for entities Lists

; import javax.persistence.EntityManagerFactory; import javax.persistence.GeneratedValue; import ... {                 EntityManagerFactory emf;         EntityManager em;                 public void

Storing objects problem

to the problem that you have described. support Support Main class:      EntityManagerFactory emf ... ().add(switch1);   router.getChildren().add(switch2);     EntityManagerFactory emf

Server crash - Mismatch client-server protocol prefix

.fastplan.db.EntityManagerFactory.doFilter(EntityManagerFactory.java:202) at org.apache.catalina

[ObjectDB 2.2.6_02] Unexpected exception (Error 990) at com.objectdb.o.OBC.aJ(OBC.java:961)

; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import ... EntityManagerFactory emf; public ReproduceTest() { emf = Persistence

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support