Fast Object Database for Java - with JPA/JDO support

Internal Website Search

41-50 of 200 resultsRefresh
38

Literals in JPQL and Criteria Queries

Literals in JPQL, as in Java, represent constant values. JPQL supports various types of literals ... . 'abc'), enum literals (e.g. mypackage.MyEnum.MY_VALUE) and entity type literals (e.g. Country). JPQL ... values, but the fully qualified name of the enum type should always be specified. For example, assuming
29

JPA Metamodel API

of the JPA Metamodel API is: Types (mainly classes) and attributes (persistent field and properties) in the persistent object model are represented by the following sets of interfaces and enum types
24

[ODB1] Chapter 4 - JDO Metadata

. identity-type and objectid-class The identity-type and objectid-class attributes, which are defined ... and persistent in JDO), or a field whose declared type is java.lang.Object or some interface, but holds at runtime only values of persistent types. Specifying a none value, as demonstrated by field f1
23

Chapter 2 - JPA Entity Classes

Explains how to define and use JPA entity classes and other JPA persistable types.
22

[ODB1] Chapter 7 - JDOQL Queries

exists but its type cannot be compared with an int value, a JDOUserException is thrown. If the query ... . The execute() method returns a Collection instance, but its declared return type is Object (for future ... collection . A Query instance for this type of query can be obtained by one of the following
22

Using Enum type in NamedQuery: Field is not found in type

with queries that reference enum types. On my entity object is a static enum public static enum Type {     A,B,C } that is stored in an @Enumerated member variable private Type type; @Enumerated public Type getType() {     return type; } I then try to query this field in the following
20

Cascade type annotaion on an embeddable type

Cascade type annotaion on an embeddable type
19

[ODB1] Chapter 3 - Persistent Classes

Fields and Types Storing a persistent object in the database does not store methods and code ... , are all the fields that are not defined as static, final or transient, and have persistent types. Every persistent class is a persistent type. The following predefined system types
19

Database Schema Evolution

and either the same type or a convertible type, as explained below. A matching field ... the hierarchy, removing an intermediate class in the hierarchy, etc.). Convertible Types When an old matching field is found but its type is different than the type of the new field (with the same name
17

javax.persistence.metamodel.EntityType

, ManagedType, Type Instances of the type EntityType represent entity types. Since: JPA 2.0 Attribute getAttribute(String name) Return the attribute of the managed type that corresponds to the specified name. Return the attribute of the managed type that corresponds to the specified

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