ObjectDB ObjectDB

Internal Website Search

31-40 of 154 resultsRefresh
12

FROM clause (JPQL / Criteria API)

and result iteration: TypedQuery<Country> query =       em.createQuery("SELECT c FROM Country c
12

Online Backup

is completed.     TypedQuery<Thread> backupQuery =     em.createQuery("objectdb backup", Thread.class
12

javax.persistence.EntityManager

database. Since: JPA 1.0 See Also: Query TypedQuery CriteriaQuery PersistenceContext Learn how to use ... on the EntityManager instance and any Query and TypedQuery objects obtained from it will throw ... string is found to be invalid Since: JPA 1.0 TypedQuery<T> createNamedQuery(String name, Class<T
5

createQuery(criteriaQuery)

Method javax.persistence.EntityManager TypedQuery<T> createQuery( CriteriaQuery<T> criteriaQuery ) Create an instance of TypedQuery for executing a criteria query. Parameters: criteriaQuery - a criteria query object Returns: the new query instance Throws: IllegalArgumentException - if the criteria query is found to be invalid Since: JPA 2.0
5

createQuery(qlString, resultClass)

Method javax.persistence.EntityManager TypedQuery<T> createQuery( String qlString, Class<T> resultClass ) Create an instance of TypedQuery for executing a Java Persistence query language statement. The select list of the query must contain only a single item, which must be assignable to the type
5

javax.persistence.Query

javax.persistence Interface Query Subinterfaces: TypedQuery Interface used to control query execution. Since: JPA 1.0 See Also: TypedQuery Parameter Learn how to define and use JPA/JPQL queries in Chapter 4 of the ObjectDB/JPA manual. int executeUpdate() Execute an update or delete statement
3

Step 3: Define an EJB Session Bean

.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence.TypedQuery ... > getAllGuests() { TypedQuery<Guest> query = em.createQuery( "SELECT g FROM Guest g
2

Step 3: Add a Main Class

the database: TypedQuery<Point> query = em.createQuery("SELECT p FROM Point p", Point
2

Step 3: Add a Main Class

: TypedQuery<Point> query =  em.createQuery("SELECT p FROM Point p", Point.class
1

javax.jdo.JDOEntityManager

if the query string is found to be invalid Since: JPA 1.0 TypedQuery<T> createNamedQuery(String name, Class<T> resultClass) Create an instance of TypedQuery for executing a Java Persistence query language named query. Create an instance of TypedQuery for executing a Java Persistence query language named

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