ObjectDB ObjectDB

Internal Website Search

1-10 of 200 resultsRefresh
122

find() cost unreasonable time!

, why? Result: =========== find time @ 24.125000 getSons time @ 0.000000 1 : type:Nodes, sons:2 child : 2 child : 3 Iterator time @ 0.000000 find time @ 0.000000 getSons time @ 0.000000 2 : type:Nodes, sons:2 child : 4 child : 5 Iterator time @ 0.000000 find time @ 0.000000 getSons
114

Problem to use find method on an abstract Class: AbstractMethodError is thrown

find method mentioning SentenceStatement everything works just fine but when I use this method ... for a better ease this is the stack trace when I try to find LogicalObject: 08:17:21,359 INFO [org ... ) JBAS014101: Failed to find SFSB instance with session ID {[-48, -118, 126, 59, 2, -122, 72, 57, -75
111

find() delay

(o); trans.commit();} 2, for 1 to 30 {p = em.find(typeC.class, i); print(p)} So simple a test ... is enabled. support Support L2 cache? I'm not sure. But why the second find() will output? By the way ... .getResultList(); // this works 3. typeC p = em.find(typeC.class, i); // this p will be null I'm doubting
64

find(entityClass, primaryKey)

Method javax.persistence.EntityManager T find( Class<T> entityClass, Object primaryKey ) Find by primary key. Search for an entity of the specified class and primary key. If the entity instance is contained in the persistence context, it is returned from there. Parameters: entityClass - entity
64

find(entityClass, primaryKey, lockMode, properties)

Method javax.persistence.EntityManager T find( Class<T> entityClass, Object primaryKey, LockModeType lockMode, Map<K,V> properties ) Find by primary key and lock, using the specified properties. Search for an entity of the specified class and primary key and lock it with respect to the specified
64

find(entityClass, primaryKey, lockMode)

Method javax.persistence.EntityManager T find( Class<T> entityClass, Object primaryKey, LockModeType lockMode ) Find by primary key and lock. Search for an entity of the specified class and primary key and lock it with respect to the specified lock type. If the entity instance is contained in
64

find(entityClass, primaryKey, lockMode, properties)

Method javax.persistence.EntityManager T find( Class<T> entityClass, Object primaryKey, LockModeType lockMode, Map<String,Object> properties ) Find by primary key and lock, using the specified properties. Search for an entity of the specified class and primary key and lock it with respect
64

find(entityClass, primaryKey, properties)

Method javax.persistence.EntityManager T find( Class<T> entityClass, Object primaryKey, Map<String,Object> properties ) Find by primary key, using the specified properties. Search for an entity of the specified class and primary key. If the entity instance is contained in the persistence context
22

Blocked by find

"find" method. If nothing is returned from the db the passed object is persisted to the db. I have 5 ... somewhere in the find. The thread dump looks like: Name: DEV1-WSAgent-1-Existing/3 State: RUNNABLE Total ... .find(EMImpl.java:551) - locked com.objectdb.jdo.PMImpl@ae89a com.objectdb.jpa.EMImpl.find
6

find(entityClass, primaryKey, lockMode, properties)

Method javax.persistence.EntityManager T find( Class<T> entityClass, Object primaryKey, LockModeType lockMode, Map<K,V> properties ) Find by primary key and lock, using the specified properties. Search for an entity of the specified class and primary key and lock it with respect to the specified

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