Internal Website Search

31-40 of 200 resultsRefresh

DELETE Queries in JPA/JPQL

As explained in jpa/persistence/delete">chapter 2, entity ... an alternative way for deleting entity objects. Unlike jpa/query/jpql/select">JPA), so the following query can be used to delete all the objects in the database:

JPA Metamodel API

The JPA Metamodel API, which is introduced in JPA 2.0, enables examining the classes ... >The main interface of the JPA Metamodel API is: jpa ... of interfaces and enum types: jpa/metamodel" select="Metamodel

JPA Reference (JavaDoc)

Persistence API (JPA) 2.0. The content is derived from the original JPA documentation (in the EclipseLink JPA 2 RI) with some additions and notes. The four most basic JPA types are: jpa" select="Persistence|EntityManagerFactory|EntityManager|EntityTransaction

What is the Java Persistence API (JPA)?

The Java Persistence API (JPA) is a standard API for accessing databases from within Java applications. The main advantage of JPA over JDBC (the older Java API for interacting with databases) is that in JPA data is represented by classes and objects rather than by tables

UPDATE SET Queries in JPA/JPQL

Existing entity objects can be updated, as explained in jpa ... . Unlike jpa/query/jpql/select">SELECT queries, which are used ... > UPDATE queries are executed using the jpa/Query

JPA Exceptions

JPA exceptions are represented by a hierarchy of unchecked exceptions: The root of the JPA exception class subtree is: jpa ... with no active transaction is represented by: jpa/exceptions

JPA Annotations for Classes

JPA defines three types of persistable classes which are set by the following annotations: jpa/annotations/class" select="Entity|MappedSuperclass|Embeddable"> jpa/entity">Chapter 2 of the ObjectDB

JPA Web App Tutorial - Maven Project

The jpa/web">JPA Web Application tutorial provides step by step instructions on how to build a simple Java/JPA database driven web application (for Tomcat / Jetty) in jpa/eclipse">Eclipse or jpa/netbeans

Spring MVC and JPA Tutorial

Controller) web application using Tomcat (or GlassFish), JPA, ObjectDB and Maven. The demo ... -left:auto; margin-right:auto"> Persistence is managed by JPA. Every visitor that has signed the guestbook is represented as Guest JPA entity object, and all Guest

Getting Started with JPA - Maven Project

The jpa/start">Getting Started with JPA tutorial provides step by step instructions on how to build a simple JPA database driven application in jpa/eclipse">Eclipse or jpa/netbeans">NetBeans. Building a new