ObjectDB ObjectDB

Internal Website Search

91-100 of 200 resultsRefresh
27

General Performance Issues Illustrated with a Specific Method

<ClientBasicData> listPatientsByIDsWithBasicData(String ids) { Long st = new Date().getTime ... <ClientBasicData> cs = new ArrayList<>(); if (ids == null || ids.trim().equals ... = "select new lk.gov.health.phsp.pojcs.ClientBasicData(" + "c.id
5

javax.persistence.GeneratedValue

conjunction with the Id annotation. The use of the GeneratedValue annotation is only required ... primary keys. Example 1: @Id @GeneratedValue(strategy=SEQUENCE, generator="CUST_SEQ") @Column(name="CUST_ID") public Long getId() { return id; } Example 2: @Id
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.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
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.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.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

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