ObjectDB ObjectDB

Internal Website Search

31-40 of 200 resultsRefresh
9

JPA Criteria API Queries

in which the query is built. Parameters in Criteria Queries The following query string represents a JPQL query with a parameter: SELECT c FROM Country c WHERE c.population > :p An equivalent query ... .class); ParameterExpression<Integer> p = cb.parameter(Integer.class); q.select(c).where(cb.gt(c
8

Collections in JPQL and Criteria Queries

Collections may appear in JPQL queries: as parameters - when collections are assigned as arguments ... as a parameter. For example: 'English' IN :languages is TRUE if the argument for the languages parameter is a collection that contains 'English' and FALSE if not. 'English' NOT IN :languages is TRUE
7

Database Connection using JPA

of the createEntityManagerFactory method takes a map of persistence unit properties as a second parameter: Map<String ... Parameters The following parameters are supported as part of an ObjectDB connection URL: user ... existing content if any) the drop parameter has to be specified: EntityManagerFactory emf
7

Comparison in JPQL and Criteria API

parameters): x BETWEEN :min AND :max x >= :min AND x <= :max Similarly, NOT BETWEEN ... and parameter expressions: Expression<String> name = country.get("name"); Expression<String> nameParam = cb.parameter(String.class); // Create Integer path and parameter expressions: Expression
0

javax.jdo.datastore.DataStoreCache.EmptyDataStoreCache

. Since: JDO 2.0 void evict(Object oid) Evict the parameter instance from the second-level cache. Evict the parameter instance from the second-level cache. Parameters: oid - the object id of the instance to evict. Since: JDO 2.0 void evict(Object oid) Parameters: oid - Since: JDO 2. Parameters: oid
0

javax.jdo.JDOHelper

of the JDO identity associated with the parameter instance. Return a copy of the JDO identity associated with the parameter instance. Persistent instances of PersistenceCapable classes have a JDO identity ... within the current transaction. Parameters: pc - the PersistenceCapable instance. Returns: a copy
0

javax.jdo.spi.StateManager

for the field. Return the value for the field. Parameters: pc - the calling PersistenceCapable instance field ... the value for the field. Return the value for the field. Parameters: pc - the calling PersistenceCapable ... currentValue) Return the value for the field. Return the value for the field. Parameters: pc - the calling
0

javax.jdo.spi.StateInterrogation

. A call to JDOHelper to get the status of an instance is handled internally if the parameter instance implements ... that persistent instances implement PersistenceCapable. Therefore, if the parameter does not implement ... not recognize the parameter as being handled by it. A non-null return value indicates
0

javax.jdo.spi.JDOImplHelper

checkAuthorizedStateManager( StateManager sm) Check that the parameter instance is of a class that is authorized for JDOPermission("setStateManager"). Check that the parameter instance is of a class that is authorized ... persistence-capable classes. A class that is passed as the parameter to replaceStateManager
0

javax.jdo.PersistenceManagerFactory

, connection pooling, operational parameters) must not be serialized. Since: JDO 1.0 void ... , removeFetchGroups, getFetchGroups, and removeAllFetchGroups are internally serialized. Parameters: groups ... listener, Class[] classes) Add the parameter listener to the list of instance lifecycle event

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