ObjectDB ObjectDB

Internal Website Search

1-10 of 12 resultsRefresh
106

javax.persistence.PersistenceUtil

javax.persistence Interface PersistenceUtil Subinterfaces: PersistenceUnitUtil Utility interface between the application and the persistence provider(s). The PersistenceUtil interface instance obtained from the Persistence class is used to determine the load state of an entity or entity attribute
102

isLoaded(entity, attributeName)

Method javax.persistence.PersistenceUtil boolean isLoaded( Object entity, String attributeName ) Determine the load state of a given persistent attribute. Parameters: entity - entity containing the attribute attributeName - name of attribute whose load state is to be determined Returns: false
102

isLoaded(entity)

Method javax.persistence.PersistenceUtil boolean isLoaded( Object entity ) Determine the load state of an entity. This method can be used to determine the load state of an entity passed as a reference. An entity is considered loaded if all attributes for which FetchType.EAGER has been specified
40

Retrieving JPA Entity Objects

: PersistenceUtil util = Persistence.getPersistenceUtil(); boolean isObjectLoaded = util.isLoaded ... above, a PersistenceUtil instance is obtained from the static getPersistenceUtil method. It provides two isLoaded
28

JPA Miscellaneous

This section contains miscellaneous JPA types. The PersistenceUtil and PersistenceUnitUtil interfaces provide general utility methods: The Cache interface and the CacheRetrieveMode and CacheStoreMode enum types serve in managing the EntityManagerFactory's shared (level 2) cache: Other enum types are provided for setting of various JPA operations:
24

Pre-detach loading: retrieval by navigation not working in if statement

here) also investigated the ObjectDB load states using Persistence.persistenceUtil() before and after that problematic ... ) { for (InnerBlock ib : getL_InnerBlock().getEls()) { //ObjectDB PersistenceUtil ... ().getValue() != null && ib.getPresent().getValue()) { //ObjectDB PersistenceUtil
19

javax.persistence.Persistence

a PersistenceUtil instance in both Java EE and Java SE environments. Since: JPA 1.0 Learn how to use ... PersistenceUtil getPersistenceUtil() Return the PersistenceUtil instance Return the PersistenceUtil instance Returns: PersistenceUtil instance Since: JPA 2.0
14

getPersistenceUtil()

Static Method javax.persistence.Persistence PersistenceUtil getPersistenceUtil() Return the PersistenceUtil instance Returns: PersistenceUtil instance Since: JPA 2.0
8

javax.persistence.spi.ProviderUtil

javax.persistence.spi Interface ProviderUtil Utility interface implemented by the persistence provider. This interface is invoked by the javax.persistence.PersistenceUtil implementation to determine the load status of an entity or entity attribute. Since: JPA 2.0 LoadState isLoaded(Object entity
8

javax.persistence.PersistenceUnitUtil

javax.persistence Interface PersistenceUnitUtil Superinterfaces: PersistenceUtil Utility interface between the application and the persistence provider managing the persistence unit. The methods of this interface should only be invoked on entity instances obtained from or managed by entity managers

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