ObjectDB ObjectDB

Internal Website Search

1-10 of 83 resultsRefresh
88

javax.jdo.annotations.Inheritance

javax.jdo.annotations Annotation Inheritance Target: Classes Annotation for the inheritance of the class. Corresponds to the xml element "inheritance" of the "class" and "interface" elements. Since: JDO 2.1 String customStrategy Custom inheritance strategy. Custom inheritance strategy
86

javax.persistence.Inheritance

javax.persistence Annotation Inheritance Target: Classes Defines the inheritance strategy ... class hierarchy. If the Inheritance annotation is not specified or if no inheritance type ... @Inheritance(strategy=JOINED) public class Customer { ... } @Entity public class
82

Inheritance.strategy

Annotation Element javax.jdo.annotations.Inheritance InheritanceStrategy strategy Strategy to use for inheritance. Specifies in which table(s) the members for the class are stored. Returns: the inheritance strategy Default value: javax.jdo.annotations.InheritanceStrategy.UNSPECIFIED Since: JDO 2.1
82

Inheritance.customStrategy

Annotation Element javax.jdo.annotations.Inheritance String customStrategy Custom inheritance strategy. If customStrategy is non-empty, then strategy must be UNSPECIFIED. Returns: the custom inheritance strategy Default value: "" Since: JDO 2.1
81

Inheritance.strategy

Annotation Element javax.persistence.Inheritance InheritanceType strategy The strategy to be used for the entity inheritance hierarchy. Default value: javax.persistence.InheritanceType.SINGLE_TABLE Since: JPA 1.0
51

JPA Persistable Types

and inherit their behavior. The difference can be noticed in the debugger view and when invoking the getClass
45

[ODB1] Chapter 8 - ObjectDB Server

> elements), no more than one of them can have a sub element. User Inheritance User inheritance ... the configuration file before its derived users. One abstract user can inherit from another abstract user ... are inherited except the name attribute. The $user variable (in the path attribute of $standard
42

JPA Metamodel API

: // Get all the attributes - including inherited: Set attributes1 = managedType.getAttributes(); // Get all the attributes - excluding inherited: Set attributes2 = managedType.getDeclaredAttributes(); // Get a specific attribute - including inherited: Attribute
26

Problem with JOIN and inheritance

)))) The problem is quite easy: The "VendorCustomer" class inherits from the "Customer" class. Now with this query
26

When using inheritance, you can specify, which ID to use

When storing objects with inheritance, it should be possible to choose, which ID (parent or child class) should be used for new object. For example: public EntityA() {     @Id     long id;     String field1; } public EntityB() extends EntityA() {     @Id     long id;     String field2

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