ObjectDB ObjectDB

Internal Website Search

91-100 of 200 resultsRefresh

client server mod of communication

client server mode. 1)EntityManagerFactory emf = Persistence.createEntityManagerFactory("objectdb://localhost:6137/settercode.odb;user=admin;password=admin"); 2)EntityManagerFactory emf = Persistence ... Clent { public static void main(String[] args) { try{ Getter gtr; EntityManagerFactory emf

ODB IndexActivation NullPointerException

with opening and closing the creation of EntityManagerFactory or of EntityManager? Is it possible ... the following code block after creating the EntityManagerFactory. this.entityManagerFactory ... = this.entityManagerFactory.createEntityManager(); final String indexActivationThreadName = "ODB-IndexActivation

mapping file is not being loaded

: EntityManagerFactory emf = Persistence.createEntitManagerFactory("project.odb"); //this set is alwasy ... .EntityManagerFactory; import javax.persistence.Persistence; public class T824 {     public static void main(String[] args) {         EntityManagerFactory emf =             Persistence

Memory leak

when the user logs out, as well as EntityManagerFactory. We use em.clear() after every commit ... The heap dump indicates that 9 EntityManagerFactory instances have been created and have not been closed, and ObjectDB is very sensitive for closing every opened EntityManagerFactory. Please try build 2

ObjectDB within a resource adapter module and Java EE Connector Architecture

an EntityManagerFactory. But when using ObjectDB you can either define a standard persistence unit in an XML file or you can simply provide the file path of the ObjectDB database instead:' EntityManagerFactory emf ... an explicit EntityManagerFactory it is not clear to me how to "inject" easily specs for which per-end

combined index not used

Exception { EntityManagerFactory emf = Persistence ... , added: entityManager = entityManagerFactory.createEntityManager(); Thread thread = entityManager ... .temp.no-schema-upgrade", "true"); EntityManagerFactory emf

Remove of an entry from a @OneToMany collection is not possible if the enhancer is disabled

.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence ... [] args) {   EntityManagerFactory emf = Persistence.createEntityManagerFactory("objectdb:$objectdb/db ... T1602b {     public static void main(String[] args) {         EntityManagerFactory emf

Memory leak in com.objectdb.o.CST

You have 168 EntityManagerFactory instances. Do you access 168 distinct databases concurrently? If not and you only have one database, try to build one EntityManagerFactory instance, use it for creating multiple EntityManager instances, and remember to close each EntityManagerFactory and EntityManager

Unexpected exception when execute query without enhanced entities

) {         EntityManagerFactory emf =             Persistence.createEntityManagerFactory ... ();     }     private static void store(EntityManagerFactory emf) {         EntityManager em = emf ... static void retrieve(EntityManagerFactory emf) {         EntityManager em = emf.createEntityManager

Tracking changes to new collections (in enhancement mode) after flush

;drop";         EntityManagerFactory emf = Persistence.createEntityManagerFactory(dbUrl ... ) { EntityManagerFactory emf = Persistence .createEntityManagerFactory("objectdb:c ... ());                  String dbUrl = "objectdb:F2640c.tmp;drop";         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