ObjectDB ObjectDB

Internal Website Search

31-40 of 200 resultsRefresh
42

Locking in JPA

JPA 2 supports both optimistic locking and pessimistic locking. Locking is essential to avoid ... in ObjectDB (and in JPA) is always at the database object level, i.e. each database object is locked ... some ORM JPA providers) is defined in the entity class or not. Pessimistic Locking The main
42

JPA / JDO Class Enhancer

(and actually required by JPA but not enforced by ObjectDB) to avoid accessing persistent fields ... : Quick Start with JPA JPA Web Application Java EE JPA Spring MVC and JPA Similarly, enhancement
42

JPA Named Queries

can be defined in JPA XML mapping files instead of using the @NamedQuery annotation. ObjectDB supports JPA XML ... mainly for Object Relational Mapping (ORM) JPA providers and less so when using ObjectDB ... ("Country.findAll"); List results = query.getResultList(); One of the reasons that JPA requires
41

Chapter 4 - JPA Queries (JPQL / Criteria)

The JPA Query Language (JPQL) can be considered as an object oriented version of SQL. Users ... well as how to use the JPA Criteria API, which provides an alternative way for building queries in JPA, based on JPQL. The first section describes the API that JPA provides for using dynamic and static
41

JPA Queries

Queries are represented in JPA by the Query and TypedQuery interfaces: The JPA Query API section (in chapter 4 of the ObjectDB manual) provides detailed explanation of how exactly to use ... concatenating JPQL strings into a valid complete JPQL query. JPA 2 introduced the JPA Criteria Query API, as
41

Updating JPA Entity Objects

classes are in use. It is usually recommended to use collections rather than arrays when using JPA. Collections are more portable to ORM JPA implementations and provide better automatic change tracking ... have to be modified in one operation. The UPDATE Queries in JPA/JPQL in chapter 4 explains how to use JPA UPDATE queries.
41

Retrieving JPA Entity Objects

The Java Persistence API (JPA) provides various ways to retrieve objects from the database ... that has already been fetched from the database is available in objects that are detached. JPA 2 introduces methods ... is to use queries. The official query language of JPA is JPQL (Java Persistence Query Language
8

Eclipse/JPA Java EE Tutorial

This is the Eclipse version of the Java EE JPA tutorial. It demonstrates how to create and run ... and JPA. The demo web application manages a basic guestbook page. Every visitor can sign the guestbook ... : Persistence is managed by JPA. Every visitor that has signed the guestbook is represented by a Guest entity
8

Eclipse/JPA Web Application Tutorial

This is the Eclipse version of the JPA Web App tutorial. It demonstrates how to create and run a database driven Java web application in Eclipse - using Tomcat 6, ObjectDB and JPA. The demo web ... . The visitors that have already signed are listed below the form: Persistence is managed by JPA
8

Spring MVC JPA Tutorial - Maven Project

The Spring MVC JPA tutorial provides step by step instructions on how to build a simple Java/JPA Spring MVC database driven web application in Eclipse or NetBeans. Building a new application step by ... application as a Maven project: Spring MVC JPA - Maven Project (8KB) If Maven is installed - extract

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