ObjectDB ObjectDB

Internal Website Search

81-90 of 200 resultsRefresh
2

Running JPA Queries

of a single object is easy and the code is simple: Query query = em.createQuery("SELECT COUNT(c) FROM
2

Paths and Types in JPQL and Criteria API

expressions in the above code can be divided into two main groups: FROM variable expressions, represented by
2

Locking in JPA

a PESSIMISTIC_READ lock on that database object. For example, consider the following code fragment: em1
2

Database Explorer

that include user defined methods can be supported by the Explorer only when the code of these methods
0

Step 2: Define a JPA Entity Class

code: package guest; import java.io.Serializable; import java.sql.Date; import javax.persistence
0

Step 3: Define an EJB Session Bean

code: package guest; import java.util.List; import javax.ejb.Stateless; import javax
0

Step 4: Add a Servlet Class

servlet class. Now replace the content of the new source file with the following code: package guest
0

Getting Started with JPA and NetBeans

might look slightly different but the code would be the same). This tutorial consists of the following steps:
0

Step 4: Add a Servlet Class

of the new source file with the following code: package guest; import java.io.IOException; import
0

Which API should I use - JPA or JDO?

code. When to prefer JDO JDO might be preferred when portability to other object databases

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