ObjectDB Database Search

101-150 of 200 results

objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check") vs. generic classes with interfaces: detailed investigation

objectdb -2.6.9_02 (with " objectdb .temp.no-enhancement-crc-check" system property ... there are now obsolete): -  Issue #1924 - ObjectDB -2.6.9: Failed to commit transaction: Failed ... with the other generic value wrapper examples, as it exhibits a problem with ObjectDB that the others do not

com.objectdb.o.NLV cannot be cast to com.objectdb.o.CMV

We are using ObjectDB 2.5.1_04. The following JPQL query causes an internal exception: SELECT ... '\')) The exception: Caused by: java.lang.IllegalStateException: com. objectdb .o.InternalException: Unexpected ... ;        Caused by: com. objectdb .o.InternalException: Unexpected

Comparison in JPQL and Criteria API

ObjectDB supports two sets of comparison operators, as shown in the following table:   Set 1 ... its own notation (which is also in use by JDOQL, the JDO Query Language). ObjectDB supports both forms ... . For embeddable objects, e1 = e2 if e1 and e2 have exactly the same content. ObjectDB supports

Server User List

The configuration element lists the users that are allowed to access the ObjectDB Server and specifies their specific settings (username, password, permissions, quota). The default configuration ... server settings using the ObjectDB Explorer . A value of "$default" for the username attribute

JPA Query API

ObjectDB . In the context of the queries above, if there are no Country  instances in the database ... variant is valid because it introduces the Country class to ObjectDB . Dynamic JPQL, Criteria API

JPA Annotations for Mapping (ORM)

The following JPA annotations and enums are designated for mapping a JPA object model to a relational database, and are not required by ObjectDB : ObjectDB silently ignores all the above annotations.

JPA Annotations for Classes

JPA defines three types of persistable classes which are set by the following annotations: Chapter 2 of the ObjectDB manual explains these annotations in detail. Entity and mapped super classes ... are useful in representing composite primary keys as explained in the Primary Key section of the ObjectDB manual.

JPA Annotations for Value Generation

Automatically generated values are mainly useful for primary key fields, but are supported by ObjectDB also for regular (non primary key) persistent fields. At the field level, the @GeneratedValue ... : More details about automatic value generation are provided at the Generated Value section of the ObjectDB Manual.

JPA Reference (JavaDoc)

of these documentation pages is to serve as a reference. In order to learn how to use JPA and ObjectDB please read the ObjectDB manual .

Chapter 4 - JPA Queries (JPQL / Criteria)

clauses are explained: ObjectDB also supports the Java Data Objects (JDO) Query Language (JDOQL ... (see chapter 7 in ObjectDB 1.0 manual for a description JDOQL).

Numbers in JPQL and Criteria Queries

binary operators:   + (addition), - (subtraction), * (multiplication) and / (division). ObjectDB ... another, similar to the modulo operator ( % ) in Java (which is also supported by ObjectDB as

Collections in JPQL and Criteria Queries

that doesn't contain  'English' . ObjectDB enables as an extension to standard JPQL to use both operators ( IN and MEMBER OF) with any type of collection, so in ObjectDB these operators

Literals in JPQL and Criteria Queries

+17 ObjectDB also supports hexadecimal numeric literals (e.g. 0xFF , 0xFFL ) and octal numeric ... two single quotes (e.g. 'Adam''s' ). ObjectDB also supports the syntax of Java and JDO for string literals

GROUP BY and HAVING clauses

which returns the first letters as result. ObjectDB is very flexible in allowing JPQL expressions anywhere in ... BY clause is like the WHERE clause for the FROM clause. ObjectDB supports the HAVING clause

Strings in JPQL and Criteria Queries

String Methods ( ObjectDB Extension) ObjectDB also supports ordinary Java String methods

Date and Time in JPQL and Criteria Queries

methods for extracting date and time parts but some JPA implementations, as well as ObjectDB , support such functions as an extension. ObjectDB supports 6 functions for extracting the YEAR , MONTH , DAY

java.lang.ClassCastException: com.objectdb.o.SCU cannot be cast to com.objectdb.o.PRU

. objectdb .o.SCU cannot be cast to com. objectdb .o.PRU at com. objectdb .o.PPW.an(PPW.java:74) at com. objectdb .o.PGW.aj(PGW.java:220) at com. objectdb .o.UPT.C(UPT.java:134) at com. objectdb .o.URT.l(URT.java:171) at com. objectdb .o.TSK.i(TSK.java:145) at com. objectdb .o.TSK.f(TSK.java:95) at com. objectdb .o.TSM.e

java.lang.ClassCastException: com.objectdb.o.RFV cannot be cast to com.objectdb.o.RSV

is generating this exception: [ ObjectDB 2.5.1_05] Unexpected exception (Error 990)   Generated by Java ... . objectdb .com/database/issue/new com. objectdb .o.InternalException: java.lang.ClassCastException: com. objectdb .o.RFV cannot be cast to com. objectdb .o.RSV java.lang.ClassCastException: com. objectdb .o.RFV

ClassCastException: com.objectdb.o.SLV cannot be cast to com.objectdb.o.RSV

Hello, we have found another exception in objectdb .log: java.lang.ClassCastException: com. objectdb .o.SLV cannot be cast to com. objectdb .o.RSV at com. objectdb .o.RSV.compareTo(RSV.java:158) at com. objectdb .o.INV.compareTo(INV.java:215) at com. objectdb .o.INV.J(INV.java:315) at com. objectdb .o.PAG

Criteria Query Selection and Results

with non criteria queries is supported by ObjectDB and it may be supported in the future by all the JPA providers.

Storing JPA Entity Objects

the ObjectDB configuration or in a JPA portable way, by specifying the cascade-persist XML element

Chapter 2 - JPA Entity Classes

JPA Entity classes are user defined classes whose instances can be stored in a database. To store data in an ObjectDB database using JPA you have to define entity classes that represent your application data object model. This chapter explains how to define and use entity classes.  This chapter contains the following sections:

Chapter 5 - Database Tools and Utilities

This chapter explains how to use the following ObjectDB tools and utilities:

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.

Step 3: Add a Context Listener Class

The Guest entity objects will be stored in an ObjectDB database, which will be represented by ... void contextInitialized(ServletContextEvent e) { com. objectdb .Enhancer.enhance("guest.*"); EntityManagerFactory emf = Persistence.createEntityManagerFactory("$ objectdb /db/guest.odb"); e

NetBeans/JPA Web Application Tutorial

Server 6.0 ( some modifications are needed for Tomcat 7.0 ), ObjectDB and JPA. The demo web ... and all the Guest entity objects are stored in an ObjectDB database. Required Software For this tutorial ... of ObjectDB (just download and extract). The tutorial was written for NetBeans 6.9.1

Step 3: Add a Context Listener Class

The Guest entity objects will be stored in an ObjectDB database, which will be represented by ... the EntityManagerFactory & Enhance: public void contextInitialized(ServletContextEvent e) { com. objectdb ... ("$ objectdb /db/guest.odb"); e.getServletContext().setAttribute("emf", emf); } // Release

Eclipse/JPA Web Application Tutorial

;to create and run a database driven Java web application in Eclipse - using Tomcat 6, ObjectDB and JPA ... and all the Guest entity objects are stored in an ObjectDB database. Required Software ... of ObjectDB (just download and extract). The tutorial was written for Eclipse 3.6.1 but it should work

Step 6: Run the Java EE 6 Application

execution URI). Since we are using ObjectDB in embedded mode - the database file is created ... server and open the database file in ObjectDB Explorer : This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual .

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 [New Entity Class] dialog box, e.g. by right clicking the project node (in the [Projects] window ... with the following new content: com. objectdb .jpa.Provider Now ObjectDB should be used as a JPA provider

Step 6: Run the Java EE 6 Application

] window) and selecting Run As Run on Server Finish : Since we are using ObjectDB in embedded mode ... \Guestbook\WEB-INF ). You can stop the GlassFish server and open the database file in ObjectDB Explorer : This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual .

Step 1: Create a Java EE 6 Web Project

dynamic web project. To add ObjectDB /JPA support to the project, drag the objectdb .jar file from ... : You should now have an Eclipse Java EE 6 project with ObjectDB /JPA support. 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 the [New Java Class] dialog box, e.g. by right clicking the project node (in the [Package Explorer] window ... to the persistence.xml file: com. objectdb .jpa.Provider Now ObjectDB should be used as a JPA provider

NetBeans/JPA Spring MVC Web Tutorial

NetBeans - using JPA, ObjectDB , Tomcat (or GlassFish) and Maven. The demo web application ... entity objects are stored in an ObjectDB database. Required Software For this tutorial you will need ... a Maven project. Therefore, required JAR files ( ObjectDB , Spring Framework) will be downloaded

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 [New Entity Class] dialog box, e.g. by right clicking the project node (in the [Projects] window ... file with the following new content: com. objectdb .jpa.Provider guest.Guest Now ObjectDB should be used

Eclipse/JPA Spring MVC Web Tutorial

Eclipse - using ObjectDB , JPA, Tomcat (or GlassFish) and Maven. The demo web application manages ... entity objects are stored in an ObjectDB database. Required Software For this tutorial you will need ... project. Therefore, required JAR files ( ObjectDB , Spring Framework) will be downloaded automatically

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 ... and paste to copy the following content to the  persistence.xml file: com. objectdb .jpa.Provider Now ObjectDB should be used as a JPA provider with the specified database url. The next step

JPA Tutorials

The following tutorials demonstrate how to develop database driven applications using JPA and the ObjectDB ODBMS (Object Oriented Database Management System). Console JPA Tutorial The Quick Start tutorial demonstrates how to use ObjectDB and JPA in a console application: Quick Start with JPA

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 ... by a  Guest entity object and all the  Guest entity objects are stored in an ObjectDB

Java EE Web Tutorial

This tutorial demonstrates how to create and run a full Java EE 6 MVC (Model View Controller) web application using GlassFish, ObjectDB and JPA. Since this web application uses Java EE 6 EJB ... is represented by a  Guest entity object and all the  Guest entity objects are stored in an ObjectDB

Spring MVC and JPA Tutorial

This tutorial demonstrates how to create and run a full Java Spring MVC (Model View Controller) web application using Tomcat (or GlassFish), JPA, ObjectDB and Maven. The demo web application manages ... are stored in an ObjectDB database. This tutorial is available in the following versions: In

Getting Started with JPA

. That is one of the benefits of ObjectDB , which is the only Object Database with built in support of JPA. The sample application is also explained in details in  Chapter 1 of the  ObjectDB Manual

Spring MVC JPA Tutorial - Maven Project

and install ObjectDB or a Java web server - Maven will download the ObjectDB jar and the Jetty

JPA Web App Tutorial - Maven Project

and install ObjectDB or a Java web server - Maven will download the ObjectDB jar and the Jetty

Getting Started with JPA - Maven Project

and install ObjectDB - Maven will download the ObjectDB jar automatically. You may also open and run

Report Generation with BIRT and JPA

This tutorial demonstrates how to create reports based on data in an ObjectDB database using the popular open source Business Intelligence and Reporting Tools (BIRT). In order to keep things as simple as possible - we will use the basic  points.odb ObjectDB database file from the Getting

Which API should I use - JPA or JDO?

You can use ObjectDB with either the Java Persistence API (JPA) or the Java Data Objects (JDO) API. Both share similar architecture, design and abilities. When to prefer JPA JPA ... is designated to be used mainly with relational databases. ObjectDB is the only object database

JDO Annotations for Mapping (ORM)

The following JDO annotations and enums are designated for mapping a JDO object model to a relational database, and are not required by ObjectDB : ObjectDB silently ignores all the above annotations.

What is the Java Data Objects (JDO)?

with both relational and object databases. JDO is supported by many object databases, including ObjectDB