ObjectDB ObjectDB

Internal Website Search

81-90 of 200 resultsRefresh
8

Query problem after transaction commit

Attached please find the test code. The screen output is at the end of the post. Please help. Thx ... successfully] 04> SELECT u FROM Goods u where u._code like :code AND u._desc like :desc 05> code= %, desc= % 06> UI: end query 07> UI: start printing result 08> code= A, desc= Good A, byUser= test 09> code
1

Literals in JPQL and Criteria Queries

. Country). That is equivalent to Country.class in Java code. Notice that the name of the entity class
1

Running JPA Queries

of a single object is easy and the code is simple: Query query = em.createQuery("SELECT COUNT(c) FROM
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

Step 4: Add a Servlet Class

servlet class. Now replace the content of the new source file with the following code: package guest
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 Controller Class

replace the content of the new source file with the following code: package guest; import javax
0

Step 2: Entity Class and Persistence Unit

content with the following code: package guest; import java.io.Serializable; import java.sql
0

Step 3: Define a Spring DAO Component

source file with the following code: package guest; import java.util.List; import javax
0

Step 2: Define a JPA Entity Class

and paste to replace the new source file content with the following code: package guest; import java.io

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