ObjectDB ObjectDB

Internal Website Search

91-100 of 200 resultsRefresh
5

javax.persistence.OneToOne

// On Customer class: @OneToOne(optional=false) @JoinColumn( name="CUSTREC_ID", unique ... : @Entity public class Employee { @Id Integer id; @OneToOne @MapsId EmployeeInfo ... { @Id Integer id; ... } Example 3: One-to-one association from an embeddable class
5

javax.persistence.MapKeyJoinColumn

: @Entity public class Company { @Id int id; ... @OneToMany ... public class VideoStore { @Id int id; String name; Address location ... ="MOVIE", referencedColumnName="ID") Map videoInventory
5

javax.persistence.MapKeyClass

is specified and vice versa. Example 1: @Entity public class Item { @Id int id ... and target type of relationship can be defaulted @Entity public class Item { @Id int id ... : @Entity public class Company { @Id int id; ... @OneToMany
4

javax.persistence.AttributeOverride

Id property or field. May be applied to an entity that extends a mapped superclass or to an embedded field or property to override a basic mapping or id mapping defined by the mapped superclass or ... : @MappedSuperclass public class Employee { @Id protected Integer id
4

javax.persistence.metamodel.SingularAttribute

whether the attribute is collection-valued Since: JPA 2.0 boolean isId() Is the attribute an id attribute. Is the attribute an id attribute. This method will return true if the attribute is an attribute that corresponds to a simple id, an embedded id, or an attribute of an id class. Returns: boolean
0

javax.jdo.datastore.DataStoreCache.EmptyDataStoreCache

the parameter instance from the second-level cache. Parameters: oid - the object id of the instance ... . Parameters: oids - the object ids of the instance to evict. Since: JDO 2.0 void evictAll(Collection oids ... the second-level cache. Parameters: oids - the object ids of the instance to evict. Since: JDO 2.0 void
0

javax.jdo.datastore.DataStoreCache

instance from the second-level cache. Parameters: oid - the object id of the instance to evict ... . Parameters: oids - the object ids of the instance to evict. Since: JDO 2.0 void evictAll(Collection oids ... the second-level cache. Parameters: oids - the object ids of the instance to evict. Since: JDO 2.0 void
0

javax.jdo.PersistenceManagerFactory

setting. Since: JDO 1.0 String getServerTimeZoneID() Gets the TimeZone ID of the server associated with this PersistenceManagerFactory. Gets the TimeZone ID of the server associated with this PersistenceManagerFactory. If not set, assume that the server has the same TimeZone ID as the client. Returns
0

javax.jdo.spi.JDOImplHelper

that has three key fields ( int id, String name, and Float salary) would have the method generated: void ... , oid.id); fm.storeStringField (1, oid.name); fm.storeObjectField (2, oid.salary ... the ObjectId. For example, an ObjectId class that has three key fields (int id, String name
0

javax.jdo.JDOHelper

.getObjectById(Object oid, boolean validate) Object[] getObjectIds(Object[] pcs) Get object ids for an array of instances. Get object ids for an array of instances. For each instance in the parameter ... of the parameter array. Parameters: pcs - the persistence-capable instances Returns: the object ids

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