ObjectDB ObjectDB

Internal Website Search

81-90 of 200 resultsRefresh

Shared (L2) Entity Cache

is cached: boolean isCached = cache.contains(MyEntity.class, Long.valueOf(id)); Cached entity

Chapter 6 - Configuration

The ObjectDB configuration file contains one <objectdb> root element with seven subelements: <objectdb> <general> ... </general> <database> ... </database> <entities> ... </entities> <schema> ... </schema> <server> ... </server> <users> ... </users> <ssl> ... </ssl

Entity Management Settings

The <entities> configuration element specifies front end settings that are relevant on the client side and in embedded mode. The default configuration file contains the following <entities> element: <entities> <enhancement agent="true" reflection="warning" /> <cache ref="weak" level2="0mb

Posting Sample Code

not contain a persistence unit, An entity or IdClass class should implement the java.io.Serializable interface).

JPA 2 Annotations

JPA defines dozens of annotations that can be divided into the following groups: Annotations for JPA aware classes: Annotations for fields in JPA persistable classes: Annotations for additional JPA configuration: Annotations for JPA lifecycle event callbacks: Java EE container annotations: Many

Paths and Types in JPQL and Criteria API

must contain a persistent field (or property) with a matching name. The path expression

JPA Criteria API Queries

at runtime in a form that contains many optional fields - is expected to be cleaner when using the JPA

Step 5: Add a JSP Page

> </html> The JSP generates the guestbook page output, which contains a simple form for signing

JDO Reference (JavaDoc)

This reference contains the API documentation (similar to JavaDoc) of JDO 2.2. The content is derived from the original JDO documentation with some additions and notes. The most basic JDO types are: All the other JDO types are organized into the following sections:

[ODB1] Chapter 5 - JDO Connections

-catch block: try { // Code containing database operations should be loacated

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