ObjectDB ObjectDB

Internal Website Search

181-190 of 200 resultsRefresh
11

Persist error @ManyToMany how to define correct entities relationships

= new ArrayList(); } @Entity public class Category implements Serializable { @Id ... How do you initialize the categories of a new product? You should retrieve references to existing Category instances (possibly using em.getReference) rather than create new Category instances. You may also consider
10

Date field Index is corrupted due to time change

_64). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o ... ) have been migrated. New database copy is ready at: db/SystemDB.odb.rpmnew Thank you Emil ... a database file while it is active (the new copy may be corrupted) or copying a database file after abnormal
1

javax.persistence.spi.PersistenceUnitInfo

that will be called for every new class definition or class redefinition that gets loaded by the loader ... that will be called for every new class definition or class redefinition that gets loaded by ... Since: JPA 1.0 ClassLoader getNewTempClassLoader() Return a new instance of a ClassLoader
1

Best practise loading big data

after a certain number of read accesses (every 10000 read access to commit and open a new transaction ... our application. I forced the GC to collect garbage. With the new setting it looks like now the entities ... in memory. The new cache setting makes no detectable difference on application side. The heap dump
0

jdoNewInstance(sm)

a new instance of this class, with the jdoStateManager set to the parameter, and jdoFlags set ... to construct a new instance. It is used by the JDOImplHelper class method newInstance. Parameters: sm - the StateManager that will own the new instance. Returns: a new instance of this class
0

javax.jdo.listener.InstanceLifecycleEvent

(Object source, int type) Creates a new event object with the specified source and type. Creates a new event object with the specified source and type. Parameters: source - the instance that triggered ... , Object target) Creates a new event object with the specified source, type, and target. Creates a new
0

jdoNewInstance(sm, oid)

oid ) Return a new instance of this class, with the jdoStateManager set to the parameter, key fields ... a performance optimization as an alternative to using reflection to construct a new instance of a class ... . Parameters: sm - the StateManager that will own the new instance. oid - an instance of the object id class
0

newInstance(pcClass, sm, oid)

, Object oid ) Create a new instance of the class and assign its jdoStateManager and key values from the ObjectId. If the oid parameter is null, no key values are copied. The new instance ... which will own the new instance. oid - the ObjectId instance from which to copy key field values
0

newInstance(pcClass, sm)

Method javax.jdo.spi.JDOImplHelper PersistenceCapable newInstance( Class pcClass, StateManager sm ) Create a new instance of the class and assign its jdoStateManager. The new instance ... which will own the new instance. Returns: the new instance, or null if the class is not registered
0

printStackTrace()

) { throw new HighLevelException(e); } } static void b() throws MidLevelException ... (); } catch(LowLevelException e) { throw new MidLevelException(e ... LowLevelException { throw new LowLevelException(); } } class HighLevelException

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