ObjectDB ObjectDB

Internal Website Search

161-170 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
0

PersistenceCapable.READ_WRITE_OK

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

jdoNewObjectIdInstance(o)

: the field value is fetched from the ObjectIdFieldSupplier and passed to the single field identity
0

newObjectIdInstance(pcClass, obj)

constructor ObjectIdFieldSupplier: the field value is fetched from the ObjectIdFieldSupplier and passed
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(pcs, useFetchPlan)

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

FetchPlan.DETACH_UNLOAD_FIELDS

Static Field javax.jdo.FetchPlan int DETACH_UNLOAD_FIELDS For use with PersistenceManager.detachCopy and setDetachmentOptions. Specifies that fields that are loaded but not in the current fetch plan should be unloaded prior to detachment. Since: JDO 2.0
0

makeTransientAll(pcs, useFetchPlan)

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

PersistenceCapable.LOAD_REQUIRED

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

FetchPlan.DETACH_LOAD_FIELDS

Static Field javax.jdo.FetchPlan int DETACH_LOAD_FIELDS For use with PersistenceManager.detachCopy and setDetachmentOptions. Specifies that fields that are not loaded but are in the current fetch plan should be loaded prior to detachment. Since: JDO 2.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