ObjectDB ObjectDB

Internal Website Search

191-200 of 200 resultsRefresh
10

find() delay

");         EntityManager em = emf.createEntityManager();                for (int i = 0; i < 30; i ... .getTransaction().commit();         }         for (int i = 0; i < 30; i ... .createEntityManager();   EntityTransaction trans = em.getTransaction();   int iBlock = 3;   //* codes-1
2

setMaxResults(maxResult)

Method javax.persistence.TypedQuery TypedQuery<X> setMaxResults( int maxResult ) Set the maximum number of results to retrieve. Parameters: maxResult - maximum number of results to retrieve Returns: the same query instance Throws: IllegalArgumentException - if the argument is negative Since: JPA 2.0
2

setParameter(position, value)

Method javax.persistence.TypedQuery TypedQuery<X> setParameter( int position, Object value ) Bind an argument to a positional parameter. Parameters: position - position value - parameter value Returns: the same query instance Throws: IllegalArgumentException - if position does not correspond
2

get(i, type)

Method javax.persistence.Tuple X get( int i, Class<X> type ) Get the value of the element at the specified position in the result tuple. The first position is 0. Parameters: i - position in result tuple type - type of the tuple element Returns: value of the tuple element Throws
2

hashCode()

Method java.security.BasicPermission int hashCode()
2

executeUpdate()

Method javax.persistence.Query int executeUpdate() Execute an update or delete statement. Returns: the number of entities updated or deleted Throws: IllegalStateException - if called for a Java Persistence query language SELECT statement or for a criteria query TransactionRequiredException
0

isLoaded(pc, field)

Method javax.jdo.spi.StateManager boolean isLoaded( PersistenceCapable pc, int field ) Return true if the field is cached in the calling instance. Parameters: pc - the calling PersistenceCapable instance field - the field number Returns: whether the field is cached in the calling instance Since: JDO 1.0
0

compareTo(o)

Method javax.jdo.identity.ObjectIdentity int compareTo( Object o ) Determine the ordering of identity objects. Parameters: o - Other identity Returns: The relative ordering between the objects Since: JDO 2.2
0

getObjectField(pc, field, currentValue)

Method javax.jdo.spi.StateManager Object getObjectField( PersistenceCapable pc, int field, Object currentValue ) Return the value for the field. Parameters: pc - the calling PersistenceCapable instance field - the field number currentValue - the current value of the field Returns: the new value for the field Since: JDO 1.0
0

getShortField(pc, field, currentValue)

Method javax.jdo.spi.StateManager short getShortField( PersistenceCapable pc, int field, short currentValue ) Return the value for the field. Parameters: pc - the calling PersistenceCapable instance field - the field number currentValue - the current value of the field Returns: the new value for the field Since: JDO 1.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