ObjectDB ObjectDB

Internal Website Search

131-140 of 200 resultsRefresh
13

persisting object with long[][] arrays of array

static final long serialVersionUID = 1L;     public @Id String id;     @OneToMany(fetch = FetchType.EAGER, cascade = CascadeType.ALL) public long[] time;     @OneToMany(fetch = FetchType.EAGER, cascade = CascadeType.ALL) private long[][] a1;     @OneToMany(fetch = FetchType.EAGER, cascade
2

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

; @ManyToOne(fetch = FetchType.LAZY) @JoinTable(name = "Element_owns_Element ... here. Try setting the fetch type of ownedElements to EAGER and check if it affects. Transparent ... . Because the ownedElements relationship is defined as LAZY (the default fetch type for to-many) - the entity
2

javax.persistence.criteria.JoinType

javax.persistence.criteria Enum JoinType java.lang.Object java.lang.Enum<javax.persistence.criteria.JoinType> javax.persistence.criteria.JoinType Implemented Interfaces: Serializable, Comparable<JoinType> Defines the three types of joins. Right outer joins and right outer fetch joins
2

FetchType.LAZY

Enum Constant javax.persistence.FetchType LAZY Defines that data can be lazily fetched. Since: JPA 1.0
0

FetchGroups.value

Annotation Element javax.jdo.annotations.FetchGroups FetchGroup[] value The Fetch Groups Returns: The Fetch Groups Since: JDO 2.1
0

makeTransient(pc, useFetchPlan)

. useFetchPlan - whether to use the current fetch plan to determine which fields to load and which instances to make transient Since: JDO 2.0
0

FetchPlan.maxFetchDepth

Annotation Element javax.jdo.annotations.FetchPlan int maxFetchDepth The depth of references to instantiate, starting with the root object. Returns: the maxium fetch depth Default value: 1 Since: JDO 2.1
0

FetchPlan.fetchSize

Annotation Element javax.jdo.annotations.FetchPlan int fetchSize The number of instances of multi-valued fields retrieved by queries. Returns: the fetch size Default value: 0 Since: JDO 2.1
0

setGroups(fetchGroupNames)

Method javax.jdo.FetchPlan FetchPlan setGroups( Collection fetchGroupNames ) Set a collection of groups. Parameters: fetchGroupNames - a collection of names of fetch groups Returns: the FetchPlan Since: JDO 2.0
0

fetchStringField(fieldNumber)

Methodjavax.jdo.spi.PersistenceCapable.ObjectIdFieldSupplier String fetchStringField( int fieldNumber ) Fetch one field from the field manager. This field will be stored in the proper field of the ObjectId. Parameters: fieldNumber - the field number of the key field. Returns: the value of the field to be stored into the ObjectId. Since: JDO 1.0

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