ObjectDB ObjectDB

Internal Website Search

51-60 of 200 resultsRefresh
1

JPA Lifecycle Events

of the lifecycle event. The argument can have any type that matches the actual value (e.g. in the code
1

Locking in JPA

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

Database Explorer

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

Eclipse/JPA Web Application Tutorial

versions as well (dialog boxes and menus might look slightly different but the code would be the same
0

Eclipse/JPA Spring MVC Web Tutorial

with other Eclipse versions as well (dialog boxes and menus might look slightly different but the code
0

Step 4: Add a Servlet Class

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

Step 3: Define an EJB Session Bean

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

Step 2: Entity Class and Persistence Unit

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

Getting Started with JPA

This tutorial demonstrates how to create and run a simple JPA application. The demonstrated application uses JPA to store and retrieve simple Point entity objects, where each Point has two persistent fields - x and y. If you already know JPA - the source code will be straightforward
0

Step 4: Add a Controller Class

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

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