ObjectDB ObjectDB

Internal Website Search

151-160 of 200 resultsRefresh

ODB-WeakRefPurger threads not closing at all

(or EntityManagerFactory) is created and exited when it is closed. Could you please verify ... . It is very similar to JPA's EntityManagerFactory and EntityManager, so please see this manual page

Not able to update records

) Following is the code i am executing EntityManagerFactory emFactory = Persistence ... It schould then look like: EntityManagerFactory emFactory = Persistence.createEntityManagerFactory

Unable to execute update query

T1803 {     public static void main(String[] args) {             EntityManagerFactory emf ... .password", "admin");         EntityManagerFactory emf =                 Persistence

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

@MappedSuperclass and @Transient not working as I expected

.persistence.EntityManagerFactory; import javax.persistence.GeneratedValue; import javax.persistence ... protected int id; @Version protected long version; @Transient protected EntityManagerFactory emf

Exception when querying Map property with @embedded & Enhancer enabled

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

Optimistic locking: prevent version increment on entity collection attribute

{ EntityManagerFactory emf = Persistence.createEntityManagerFactory("./test.odb;drop ... ; } } @org.junit.Test public void test() throws IOException { EntityManagerFactory emf

Drop the entire database, Change the schema

:     EntityManagerFactory emf =         Persistence.createEntityManagerFactory("myDbFile.odb;drop ... :     EntityManagerFactory emf = Persistence.createEntityManagerFactory("objectdb:myDbFile

Unable to persist fields in subclass

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

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

{     public static void main(String[] args) {         EntityManagerFactory emf ... main(String[] args) {         EntityManagerFactory 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