ObjectDB ObjectDB

Internal Website Search

151-160 of 200 resultsRefresh
5

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
5

Not able to update records

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

Unable to execute update query

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

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
5

@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
5

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
5

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
5

Drop the entire database, Change the schema

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

Unable to persist fields in subclass

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

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