ObjectDB ObjectDB

Internal Website Search

181-190 of 200 resultsRefresh
1

javax.persistence.ElementCollection

javax.persistence Annotation ElementCollection Target: Fields (including property get methods) Defines a collection of instances of a basic type or embeddable class. Must be specified if the collection is to be mapped by means of a collection table. Example: @Entity public class Person
1

select(selection)

. For example: CriteriaQuery q = cb.createQuery(String.class); Root
1

javax.persistence.criteria.ListJoin

the get operation in order to avoid the use of Path variables. For example: CriteriaQuery
1

javax.persistence.SqlResultSetMapping

javax.persistence Annotation SqlResultSetMapping Target: Classes Specifies the mapping 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
1

javax.persistence.MapKeyEnumerated

. Example: public enum ProjectStatus {COMPLETE, DELAYED, CANCELLED, IN_PROGRESS} public enum
1

javax.persistence.Inheritance

is specified for an entity class hierarchy, the SINGLE_TABLE mapping strategy is used. Example: @Entity
1

javax.persistence.DiscriminatorColumn

" and the discriminator type to DiscriminatorType.STRING. Example: @Entity @Table(name="CUST
1

javax.persistence.JoinTable

together (owning side first) using an underscore. Example: @JoinTable( name="CUST_PHONE
1

javax.persistence.Version

, Integer, short, Short, long, Long, java.sql.Timestamp. Example: @Version @Column(name
0

Persistent.types

Annotation Element javax.jdo.annotations.Persistent Class[] types Types of the member. Used when the declared member type is a supertype of the actual type that is stored in the member. For example, the declared member type might be an interface type that must contain an object of a concrete type

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