ObjectDB Database Search
51-100 of 200 resultsWorking with JPA Entity Objects Entity objects are in-memory instances of entity classes (persistable user defined classes), which can represent physical objects in the database. Managing an ObjectDB Object Database using JPA requires using entity objects for many operations, including storing, retrieving, updating and deleting | |
JPA Lifecycle Events Callback methods are user defined methods that are attached to entity lifecycle events and are invoked automatically by JPA when these events occur. Internal Callback Methods Internal callback methods are methods that are defined within an entity class. For example, the following entity class | |
Storing JPA Entity Objects the ObjectDB configuration or in a JPA portable way, by specifying the cascade-persist XML element | |
JPA Query Expressions (JPQL / Criteria), [NOT] MEMBER [OF] and the [NOT] LIKE operator. Logical operators : AND, OR, NOT. In addition, JPA | |
JPA Query Structure (JPQL / Criteria) The syntax of the Java Persistence Query Language (JPQL) is very similar to the syntax of SQL. Having an SQL-like syntax in JPA queries is an important advantage because SQL is a very powerful query language and many developers are already familiar with it. The main difference between SQL and JPQL | |
JPA Annotations for Callback Methods The following annotations can mark methods as JPA callback methods: The Lifecycle Events section of the ObjectDB Manual explains how to use all these annotations on callback methods and with listener classes. | |
JPA Annotations for Fields The way a field of a persistable class is managed by JPA can be set by the following annotations: Additional annotations (and enum) are designated for enum fields: Other additional annotations (and enum) are designated for date and calendar fields: Chapter 2 of the ObjectDB manual explains how to use all the above annotations. | |
JPA Annotations for Relationships Relationships are persistent fields in persistable classes that reference other entity objects. The four relationship modes are represented by the following annotations: Unlike ORM JPA implementations, ObjectDB does not enforce specifying any of the annotations above. Specifying a relationship | |
JPA Metamodel API Attributes The following interfaces and enum types represent attributes (persistent fields and properties) in the JPA Metamodel API: See the Metamodel Attribute Interface Hierarchy section for more details and examples. | |
JPA Metamodel API Types The following interfaces and enum represent types in the JPA Metamodel API: See the Metamodel Type Interface Hierarchy section for more details and examples. | |
Running JPA Queries collection after query execution (e.g. by results.get(0) ). To eliminate this routine operation JPA | |
Advanced JPA Topics This section discusses advanced JPA topics: | |
CRUD Operations with JPA The following subsections explain how to use JPA for CRUD database operations: | |
DELETE Queries in JPA/JPQL the java.lang.Object class in queries (as an extension to JPA ), so the following query | |
Core JPA Types This section contains the most essential JPA types. | |
JPA Annotations for Value GenerationReference (JavaDoc) of JPA 2 value generation annotations, including @GeneratedValue, @SequenceGenerator and @TableGenerator. | |
UPDATE SET Queries in JPA/JPQLExplains how to apply server side bulk update using a JPA/JPQL query. | |
ObjectDB Object Database Features support of the JPA and JDO APIs. Fundamental features of relational databases (e.g. primary keys ... Database with built in support for JPA 2 . Java Persistence API ( JPA ) Most features of JPA 2 ... fast - much faster than any other JPA solution. General Highly optimized code (as a result of many | |
Step 2: Define a JPA Entity Class To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Java Class] dialog box, e.g. by right clicking the project node (in the [Projects] window ... listener class that will manage a JPA's EntityManagerFactory representing the ObjectDB database. | |
Step 2: Define a JPA Entity Class To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Java Class] dialog box, e.g. by right clicking the project node (in the [Package Explorer] window ... a context listener class that will manage a JPA's EntityManagerFactory representing the ObjectDB database. | |
JPA Web Application Tutorial This tutorial demonstrates how to create and run a database driven Java web application using Tomcat 6, ObjectDB and JPA . The demo web application manages a basic guestbook page. Every visitor ... below the form: Persistence is managed by JPA . Every visitor that has signed the guestbook is represented | |
Getting Started with JPA - NetBeans Project To open and run the Quick Start with JPA tutorial project in NetBeans: Download and extract the project zip file: Getting Started with JPA - Maven Project (3KB) Open the Maven project in NetBeans: Select File Open Project... . Select the points-console directory and click Open Project . Run | |
Getting Started with JPA - IntelliJ Project To open and run the Quick Start with JPA tutorial project in IntelliJ IDEA: Download and extract the project zip file: Getting Started with JPA - Maven Project (3KB) Open the project in IntelliJ IDEA: Select File Open Project... . Select the points-console directory and click Open Project | |
Spring MVC JPA Tutorial - NetBeans Project To open and run the Spring MVC JPA tutorial project in NetBeans: Download and extract the project zip file: Spring MVC JPA - Maven Project (8KB) Open the Maven project in NetBeans: Select File Open Project... . Select the guestbook-spring directory and click Open | |
Spring MVC JPA Tutorial - IntelliJ Project To open and run the Spring MVC JPA tutorial project in Download and extract the project zip file: Spring MVC JPA - Maven Project (8KB) Open the project in IntelliJ IDEA: Select File Open Project... . Select the guestbook-spring directory and click OK . Define | |
Java EE JPA Tutorial - Maven Project The Java EE Web Application tutorial provides step by step instructions on how to build a simple Java/ JPA database driven web application (for GlassFish 3/ JBoss 6) in Eclipse or  ... ;if you prefer, you may download and run the result application as a Maven project: Java EE JPA Web | |
JPA Web App Tutorial - NetBeans Project To open and run the JPA Web Application tutorial project in NetBeans: Download and extract the project zip file: JPA Web App - Maven Project (6KB) Open the Maven project in NetBeans: Select File Open Project... . Select the guestbook-web directory and click Open | |
JPA Web App Tutorial - IntelliJ Project To open and run the JPA Web Application tutorial project in IntelliJ IDEA: Download and extract the project zip file: JPA Web App - Maven Project (6KB) Open the project in IntelliJ IDEA: Select File Open Project... . Select the guestbook-web directory and click OK . Define the Server | |
Spring MVC JPA Tutorial - Eclipse Project To open and run the Spring MVC JPA tutorial project in Eclipse: Download and extract the project zip file: Spring MVC JPA - Maven Project (8KB) Open the Maven project in Eclipse: Select File Import... Maven Existing Maven Projects and click Next . Select the guestbook | |
JPA Web App Tutorial - Eclipse Project To open and run the JPA Web Application tutorial project in Eclipse: Download and extract the project zip file: JPA Web App - Maven Project (6KB) Open the Maven project in Eclipse: Select File Import... Maven Existing Maven Projects and click Next . Select the  | |
Getting Started with JPA - Eclipse Project To open and run the Quick Start with JPA tutorial project in Eclipse: Download and extract the project zip file: Getting Started with JPA - Maven Project (3KB) Open the Maven project in Eclipse: Select File Import... Maven Existing Maven Projects and click Next . Select the points-console | |
Step 2: Define a JPA Entity Class To store objects in an ObjectDB database using JPA we need to define an entity class: Right click on the project in the [Package Explorer] window and select New Class . Enter tutorial as the package name (case sensitive). Enter Point as the class name (case sensitive). Click Finish to create | |
Step 2: Define a JPA Entity Class To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Java Class] dialog box, e.g. by right clicking the tutorial package node (in the [Projects] window) and selecting New Java Class ... Enter Point as the class name - use exactly that case sensitive | |
Java EE 6 JPA Tutorial - NetBeans Project To open and run the Java EE 6 Web Application tutorial project in NetBeans: Download and extract the project zip file: Java EE JPA Web App - Maven Project (7KB) Open the Maven project in NetBeans: Select File Open Project... . Select the guestbook-jee6 directory | |
Java EE 6 JPA Tutorial - IntelliJ Project To open and run the Java EE 6 Web Application tutorial project in IntelliJ IDEA: Download and extract the project zip file: Java EE JPA Web App - Maven Project (7KB) Open the project in IntelliJ IDEA: Select File Open Project... . Select the guestbook-jee6 | |
Java EE 6 JPA Tutorial - Eclipse Project To open and run the Java EE 6 Web Application tutorial project in Eclipse: Download and extract the project zip file: Java EE JPA Web App - Maven Project (7KB) Open the Maven project in Eclipse: Select File Import... Maven Existing Maven Projects and click Next . Select | |
Report Generation with BIRT and JPADemonstrates how to use ObjectDB as a data source of the Business Intelligence and Reporting Tools (BIRT), open source report generator. | |
General JPA TutorialsAll about General JPA Tutorials in Java/JPA database - explanations, examples, references, links and related information. | |
Web App JPA TutorialsAll about Web App JPA Tutorials in Java/JPA database - explanations, examples, references, links and related information. | |
ObjectDB 2.9 Developer's Guide Welcome to ObjectDB for Java/ JPA Developer's Guide. Here you can learn how to develop database applications using ObjectDB and JPA (Java Persistence API). The main purpose of this guide is to make you productive with ObjectDB and JPA in a short time. Guide Structure Demonstrates basic database | |
SELECT clause (JPQL / Criteria API) (); Because the results are managed entity objects they have all the support that JPA provides ... detection , support for delete , etc. Query results are not limited to entity objects. JPA 2 adds ... an alternative to representing compound results by Object arrays, JPA supports using custom result | |
Is ObjectDB better than competing object databases? support for the Java Persistence API ( JPA ). It also supports a more recent and advanced version of the Java Data Objects (JDO) API than competing object databases. By using a standard API such as JPA ... relational database by using an ORM JPA provider such as Hibernate, EclipseLink or Open JPA | |
Literals in JPQL and Criteria Queries literals (e.g. 077 , 077L ), a feature that is not currently supported by all JPA implementations. String ... can be used (e.g. "Adam\'s" , "abcd\n1234" ) but this is not supported by all the JPA implementations ... '} Enum Literals JPA 2 adds support for enum literals. Enum literals in JPQL queries use | |
Query.getFirstResult() - JPA Method JPA Method in javax.persistence.Query int getFirstResult () The position of the first result the query object was set to retrieve. Returns 0 if setFirstResult was not applied to the query object. Return: position of the first result Since: JPA 2.0 The Running JPA Queries article explains how to use getFirstResult . | |
AttributeConverter.convertToDatabaseColumn(attribute) - JPA Method JPA Method in javax.persistence.AttributeConverter Y convertToDatabaseColumn ( X attribute ) Converts the value stored in the entity attribute into the data representation ... : the converted data to be stored in the database column Since: JPA 1.0 | |
Step 1: Create a Java Project for Java EE Developers, you can see in the [New] menu a command for creating a [ JPA Project ... with ObjectDB/ JPA support. ObjectDB/ JPA can also be added to existing projects, by adding ... JARs... The next step is creating a JPA Entity class . | |
Step 2: Entity Class and Persistence Unit To store objects in an ObjectDB database using JPA we need to define an entity class: Open ... JPA persistence unit (with default settings) was generated in a persistence.xml file that was added ... with the following new content: com.objectdb. jpa .Provider Now ObjectDB should be used as a JPA provider | |
Step 2: Entity Class and Persistence Unit To store objects in an ObjectDB database using JPA we need to define an entity class: Open ... + ")"; } } The Guest entity class will represents guests in the database. We also need to configure JPA by setting ... to the persistence.xml file: com.objectdb. jpa .Provider Now ObjectDB should be used as a JPA provider | |
Step 2: Entity Class and Persistence Unit To store objects in an ObjectDB database using JPA we need to define an entity class: Open ... JPA persistence unit (with default settings) was generated in a persistence.xml file that was added ... file with the following new content: com.objectdb. jpa .Provider guest.Guest Now ObjectDB should be used | |
Step 2: Entity Class and Persistence Unit To store objects in an ObjectDB database using JPA we need to define an entity class: Right click ... + ")"; } } The Guest entity class will represents guests in the database. We also need to configure JPA ... and paste to copy the following content to the persistence.xml file: com.objectdb. jpa .Provider |