ObjectDB ObjectDB

Internal Website Search

151-160 of 200 resultsRefresh
2

Best practise loading big data

a boolean flag. @Entity class MyStepBlockCollection { @OneToMany (cascase=ALL, fetch=Lazy ... (cascase=ALL, fetch=Lazy, target=MyStep} ArrayList<StepBlock> steps; } @Entity { class MyStep { @ElementCollection (fetch=LAZY) ArrayList<MyValue> values; } @Embeddable class
2

FetchType.LAZY

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

PersistenceCapable.READ_OK

Static Field javax.jdo.spi.PersistenceCapable byte READ_OK If jdoFlags is set to READ_OK, then the fields in the default fetch group can be accessed for read without notifying the StateManager. Since: JDO 1.0
0

makeTransientAll(useFetchPlan, pcs)

: useFetchPlan - whether to use the current fetch plan to determine which fields to load
0

getFetchGroup(cls, name)

for the FetchGroup name - the name of the fetch group Returns: the FetchGroup Throws: JDOUserException
0

makeTransientAll(pcs, useFetchPlan)

. Parameters: pcs - the root instances to make transient. useFetchPlan - whether to use the current fetch
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

makeTransientAll(pcs, useFetchPlan)

: pcs - the root instances to make transient. useFetchPlan - whether to use the current fetch plan
0

hashCode()

Method javax.jdo.FetchGroup int hashCode() Return the hashCode for this instance. The hash code should combine both the class and fetch group name. The hash codes for two equal instances must be identical. Returns: the hash code Since: JDO 2.2
0

equals(other)

Method javax.jdo.FetchGroup boolean equals( Object other ) Return whether this instance is equal to the other. The equals method must compare the class for identity and the fetch group name for equality. Parameters: other - Returns: whether this instance is equal to the other Since: JDO 2.2

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