ObjectDB ObjectDB

Internal Website Search

131-140 of 200 resultsRefresh
5

Does ObjectDB support lazy loading?

"; EntityManagerFactory emf = Persistence.createEntityManagerFactory(path); EntityManager em = emf ... ? public static void main(String[] args)  {     String path = "test.odb";     EntityManagerFactory
5

Join performance in Objectdb

) {         EntityManagerFactory emf =             Persistence.createEntityManagerFactory ... ) {         EntityManagerFactory emf =             Persistence.createEntityManagerFactory
5

Database(*.odb) file size on disk

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

Server connection management

can also be specified in properties map when instantiating the EntityManagerFactory. Currently the default pool ... {     public static void main(String[] args)     {         EntityManagerFactory emf
5

Database absolute filepath

Is there a line of code that can be used to print out my databases absolute path? I have set it as follows: EntityManagerFactory emf = Persistence.createEntityManagerFactory("$objectdb/database ... class T1523 { public static void main(String[] args) { EntityManagerFactory emf
5

Is it possible to remove parent/child entities without refresh?

; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax ... EntityManager createEntityManager(String dbFileName, boolean delete) {   EntityManagerFactory emf = null
5

Date field Index is corrupted due to time change

.Entity; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory ... ");                 EntityManagerFactory emf =             Persistence.createEntityManagerFactory
5

Merge with Parent/Child entities not possible

.EntityManagerFactory; import javax.persistence.FetchType; import javax.persistence.FlushModeType; import ... , boolean delete) {   EntityManagerFactory emf = null;   if (delete) {    new File(dbFileName).delete
1

Close() Method of EMF throwing "PersistenceException: Connection is closed" on first attempt to close.

the EntityManagerFactory associated with these ODBs by calling the EMF’s close() method. The exception / stack trace ... The exception indicates that the EntityManagerFactory was already closed when an attempt to close it happened
1

Navigation through lazy loading from Detached Objects

a semi detached state (in which they are still associated with the EntityManagerFactory and enable lazy ... ");         EntityManagerFactory emf =             Persistence.createEntityManagerFactory

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