ObjectDB ObjectDB

Internal Website Search

181-190 of 200 resultsRefresh
2

javax.persistence.metamodel.Attribute

of a Java type. Since: JPA 2.0 ManagedType<X> getDeclaringType() Return the managed type representing the type in which the attribute was declared. Return the managed type representing the type in
2

getCollection(name, elementType)

Method javax.persistence.metamodel.ManagedType CollectionAttribute<?,E> getCollection( String name, Class<E> elementType ) Return the Collection-valued attribute of the managed type that corresponds ... of the given name and element type Throws: IllegalArgumentException - if attribute of the given name and type is not present in the managed type Since: JPA 2.0
2

getProperties()

Method javax.persistence.EntityManagerFactory Map<String,Object> getProperties() Get the properties and associated values that are in effect for the entity manager factory. Changing the contents ... : IllegalStateException - if the entity manager factory has been closed Since: JPA 2.0
2

close()

has been closed, all its entity managers are considered to be in the closed state. Throws: IllegalStateException - if the entity manager factory has been closed Since: JPA 1.0
2

getCache()

Method javax.persistence.EntityManagerFactory Cache getCache() Access the cache that is associated with the entity manager factory (the "second level cache"). Returns: instance of the Cache interface Throws: IllegalStateException - if the entity manager factory has been closed Since: JPA 2.0
0

javax.jdo.annotations.PersistenceCapable

requiresExtent Whether this class or interface manages an extent. Whether this class or interface manages
0

makePersistent(pc)

on parameter persistent instances already managed by this PersistenceManager. They will throw a JDOUserException if the parameter instance is managed by a different PersistenceManager. If an instance
0

commit()

Method javax.jdo.Transaction void commit() Commit the current transaction. Throws: JDOUserException - if transactions are managed by a container in the managed environment, or if the transaction is not active. Since: JDO 1.0
0

begin()

Method javax.jdo.Transaction void begin() Begin a transaction. The type of transaction is determined by the setting of the Optimistic flag. Throws: JDOUserException - if transactions are managed by a container in the managed environment, or if the transaction is already active. Since: JDO 1.0 See Also: setOptimistic getOptimistic
0

jdoReplaceStateManager(sm)

Method javax.jdo.spi.PersistenceCapable void jdoReplaceStateManager( StateManager sm ) This method sets the StateManager instance that manages the state of this instance. This method is normally used ... manager approves the change, then the jdoFlags field will be reset to LOAD_REQUIRED. Parameters: sm

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