ObjectDB ObjectDB

Internal Website Search

111-120 of 200 resultsRefresh
4

javax.persistence.SqlResultSetMapping

of the result of a native SQL query. Example: Query q = em.createNativeQuery( "SELECT o.id AS order_id, " + "o.quantity AS order_quantity, " + "o.item AS order_item ... > 25) AND (order_item = i.id)", "OrderResults"); @SqlResultSetMapping(name="OrderResults
4

getDeclaredId(type)

> type ) Return the attribute that corresponds to the id attribute declared by the entity or mapped superclass. Parameters: type - the type of the represented declared id attribute Returns: declared id attribute Throws: IllegalArgumentException - if id attribute of the given type is not declared in
4

javax.persistence.PersistenceUnitUtil

entity) Return the id of the entity. Return the id of the entity. A generated id is not guaranteed ... yet have an id. Parameters: entity - entity instance Returns: id of the entity Throws
4

isId()

Method javax.persistence.metamodel.SingularAttribute boolean isId() 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 indicating whether the attribute is an id Since: JPA 2.0
3

javax.persistence.MapKey

() {... } ... } @Entity public class Employee { ... @Id Integer getEmpId() { ... } @ManyToOne @JoinColumn(name="dept_id") public Department ... { @Id public Integer getEmpId() { ... } ... @ManyToOne @JoinColumn(name
3

javax.persistence.MappedSuperclass

{ @Id protected Integer empId; @Version protected Integer version; @ManyToOne ... () { ... } public void setEmpId(Integer id) { ... } public Address getAddress ... (name="ADDR_ID")) public class PartTimeEmployee extends Employee { // Inherited empId
3

javax.persistence.ManyToMany

_PHONE", joinColumns= @JoinColumn(name="CUST_ID", referencedColumnName="ID"), inverseJoinColumns= @JoinColumn(name="PHONE_ID", referencedColumnName="ID
3

hasSingleIdAttribute()

Method javax.persistence.metamodel.IdentifiableType boolean hasSingleIdAttribute() Whether the identifiable type has a single id attribute. Returns true for a simple id or embedded id; returns false for an idclass. Returns: boolean indicating whether the identifiable type has a single id attribute Since: JPA 2.0
0

javax.jdo.PersistenceManager

: oid - The object id of the object to load Returns: the corresponding persistent instance Since: JDO 1 ... of object to load key - either the string representation of the object id, or an object representation ... newObjectIdInstance(Class pcClass, Object key) This method returns an object id instance corresponding
0

javax.jdo.Constants

_SERVER_TIME_ZONE_ID The name of the persistence manager factory element's "server-time-zone-id" attribute. The name of the persistence manager factory element's "server-time-zone-id" attribute ... " Since: JDO 2.1 See Also: PersistenceManagerFactory.getRetainValues() String PROPERTY_SERVER_TIME_ZONE_ID

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