ObjectDB ObjectDB

Internal Website Search

71-80 of 200 resultsRefresh
9

CRUD Database Operations with JPA

Given an EntityManager, em, that represents a JPA connection to the object database, we can use it to store, retrieve, update and delete database objects. Storing New Entity Objects The following code fragment stores 1,000 Point objects in the database: em.getTransaction().begin(); for (int
9

Eclipse Public License - v 1.0

Contributor in connection with its distribution of the Program in a commercial product offering
9

BIRT/ODA ObjectDB Driver

. Enter data source name (e.g. ObjectDB Points) and click Next. Specify an ObjectDB connection URL
9

Posting Sample Code

(preferred over JUnit). Use embedded mode to connect to the ObjectDB database directly (no persistence
9

Database Server

connections is also specified in the Server Configuration, but can be overridden by an explicit command line
1

Step 3: Define an EJB Session Bean

class GuestDao { // Injected database connection: @PersistenceContext private EntityManager
1

Step 3: Define a Spring DAO Component

connection: @PersistenceContext private EntityManager em; // Stores a new guest
1

Step 3: Define a Spring DAO Component

.annotation.Transactional; @Component public class GuestDao { // Injected database connection
1

Step 3: Define an EJB Session Bean

; @Stateless public class GuestDao { // Injected database connection
0

[ODB1] Chapter 1 - About ObjectDB

to the other can be done simply by changing a single string (the connection URL), because the JDO API

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