ObjectDB ObjectDB

Internal Website Search

41-50 of 200 resultsRefresh
109

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
99

Cascade type annotaion on an embeddable type

Cascade type annotaion on an embeddable type
20

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
18

javax.persistence.metamodel.EntityType

<X>, ManagedType<X>, Type<X> 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
18

javax.persistence.metamodel.MappedSuperclassType

>, ManagedType<X>, Type<X> Instances of the type MappedSuperclassType represent mapped superclass 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
18

javax.persistence.metamodel.IdentifiableType

javax.persistence.metamodel Interface IdentifiableType<X> Superinterfaces: ManagedType<X>, Type<X> Subinterfaces: EntityType, MappedSuperclassType Instances of the type IdentifiableType represent entity or mapped superclass types. Since: JPA 2.0 Attribute<?,?> getAttribute(String name) Return
17

ObjectDB Object Database Features

is optional (recommended before deployment). Schema Evolution Fully automatic schema evolution and type ... automatically. Removed fields are handled automatically. Most field type changes are handled automatically. Moving fields up and down in the class hierarchy is transparent. Support for renaming types, fields
2

[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
2

[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
2

[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

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