ObjectDB ObjectDB

Internal Website Search

121-130 of 200 resultsRefresh

significant performance decrease

; @OneToMany(fetch=FetchType.LAZY) public List<Action> actions = new ArrayList<Action>(); @OneToMany(fetch=FetchType.LAZY) public List<ObjectNode> childNodes = new ArrayList<ObjectNode>(); @OneToMany(fetch=FetchType.LAZY) public List<ObjectNode> container = new


, and except for string and character-based types defaults to Blob. Example 1: @Lob @Basic(fetch=LAZY) @Column(name="REPORT") protected String report; Example 2: @Lob @Basic(fetch=LAZY) @Column(name="EMP


, during beforeCompletion all cached instances are prepared for detachment according to the fetch plan in effect at commit. Loading fields and unloading fields required by the fetch plan is done after calling


Annotation Element javax.jdo.annotations.Persistent String defaultFetchGroup Whether this member is in the default fetch group. Returns: whether this member is in the default fetch group Default value: "" Since: JDO 2.1


Method javax.jdo.PersistenceManager T detachCopy( T pc ) Detach the specified instance from the PersistenceManager. The flags for detachment (DETACH_LOAD_FIELDS and DETACH_UNLOAD_FIELDS) and the active fetch groups determine the scope of fetching for the graph of instances reachable from the pc


Method javax.jdo.FetchPlan FetchPlan addGroup( String fetchGroupName ) Add the fetch group to the set of active fetch groups. Parameters: fetchGroupName - Returns: the FetchPlan Since: JDO 2.0


Method javax.jdo.Query FetchPlan getFetchPlan() Returns the FetchPlan used by this Query. Modifications of the returned fetch plan will not cause this query's owning PersistenceManager's FetchPlan to be modified. Returns: the fetch plan used by this query Since: JDO 2.0


Annotation Element javax.jdo.annotations.FetchGroup String name Name of the fetch group. Returns: the name of the fetch group Default value: "" Since: JDO 2.1


Annotation Element javax.jdo.annotations.FetchGroup Persistent[] members Members (fields and properties) of the fetch group. The members should contain only name and recursionDepth. Returns: members for the fetch group Since: JDO 2.1


Annotation Element javax.jdo.annotations.FetchGroup String[] fetchGroups Fetch groups to be nested (included) in this fetch group. Default value: {} Since: JDO 2.1

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