ObjectDB Database Search

101-150 of 200 results

The drop code word does not work?

The drop code word does not work?

ObectDb 2.3.6 in OSGi environment

use a persistence.xml! The stacktrace looks like this: [ObjectDB 2. 3 .6] javax.persistence ... (BlockJUnit4ClassRunner.java:47) at org.junit.runners.ParentRunner$ 3 .run(ParentRunner.java:231) at org.junit ... ) at org.junit.runners.ParentRunner$ 3 .run(ParentRunner.java:231) at org.junit.runners.ParentRunner$1

objectdb 3 major will be released ?

Hi ,  we are waiting for objectdb 3 .0  We expect to see vector db inside objectdb 3 .0 ... ; Do you have any new plans for objectdb 3 .0 ?   kadirbasol Kadir BASOL Hi, Thank you for your interest. We are working on ObjectDB 3 .0, and vector-related capabilities are part of our longer-term plans

javax.transaction-api-1.3.jar and javax.persistence-api.2.2.jar

Hi, I notice that objectdb zip file has: javax.transaction-api-1. 3 .jar However that library ... this library at all? b) If I do need it, do I use jakarta.transaction-api 1. 3 or 2.0.1? Similarly java ... on version 3 .2 I'm guessing that in both cases I switch from javax to jakarta, but keep the same version as

GlassFish 3.1.2.2/JBoss 7.1.1

there are also issues with GlassFish 3 .1.2 (GlassFish 3 .1.1 may work better with ObjectDB ... 2.4. 3 can be used with JBoss AS 7.1.1. As discussed in this forum thread - you will have to: Add ... ;directory). Add to the persistence.xml file a request to load the ObjectDB module. Build 2.4. 3 fixes

A few entities loss after update to 2.3.7_08!

The old database is created by 2. 3 .6. And recreate the database by doctor is useless. But the other version such as 2. 3 .7 works fine. So we believe 2. 3 .7_08 has a bug. codefad FrankChu More details are required in order to understand the problem. support Support

2.5.3_02: java.lang.UnsupportedOperationException

Hello! I use Glassfish 4.0.0 and ObjectDB 2.5. 3 _02. When I do entityManager.createQuery I ... Glassfish 4.0 is based on JPA 2.1. Build 2.5. 3 _02 of ObjectDB added initial dummy implementation ... ; UnsupportedOperationException. Please try build 2.5. 3 _03, which adds now a real implementation

ObjectDB version 2.3 has been released

ObjectDB 2. 3 has been released and it includes important additions and fixes: Added the ability to edit databases in the Explorer ( issue #2 ). Added the ability to execute queries in the Explorer (issue # 3 ). Other small Explorer improvements. Added support of IN operator in JPQL queries. Added

Issue with merge in 2.4.3

Hi, we just tried to upgrade to 2.4. 3 from 2.4.2. One of our regression tests is failing. Appears objects are getting created twice on merge. Please see attached unit test. Thanks Paul. pedwards Paul Edwards This regression bug was the result of a bad optimization  that is now fixed in build 2.4. 3 _01. support Support

Annotations not supported in -source1.3 (use -source 5 or higher ..)

and other files: Annotations not supported in -source1. 3 (use -source 5 or higher ..) Generics not supported in -source1. 3 (use -source 5 or higher ..) (Note that the version of Java I ran Maven as

Paths and Types in JPQL and Criteria API

expressions in the preceding code can be divided into two main groups: FROM variable expressions

JPA Criteria API Queries

(); The Criteria API requires more code , especially for simple static queries. The equivalent JPQL query

JPA Optimistic and Pessimistic Locking

lock or a PESSIMISTIC_READ lock on that database object. For example, consider the following code

Database Explorer

, the Explorer can only execute queries that include user-defined methods if the code for those methods

Generating new activation code gives 500 server error

Generating new activation code gives 500 server error

jakarta.persistence.Graph

to EntityGraph and Subgraph . See Also: EntityGraph Subgraph Since: Jakarta Persistence (JPA) 3 .2 Public ... is not an attribute of this entity.. Since: Jakarta Persistence (JPA) 3 .2 AttributeNode ... Persistence (JPA) 3 .2 void addAttributeNodes ( String... attributeName ) Add one or more attribute

jakarta.persistence.criteria.CriteriaBuilder

more restriction predicates Returns: and predicate. Since: Jakarta Persistence (JPA) 3 .2 Expression ... . Since: Jakarta Persistence (JPA) 3 .2 Order asc ( Expression expression ) Create an ordering by ... . Since: Jakarta Persistence (JPA) 3 .2 Expression avg ( Expression x ) Create an aggregate expression applying

jakarta.persistence.EntityGraph

.. Since: Jakarta Persistence (JPA) 3 .2 AttributeNode addAttributeNode ( Attribute attribute ) Get an existing ... : IllegalStateException - if the EntityGraph has been statically defined. Since: Jakarta Persistence (JPA) 3 .2 void ... . Since: Jakarta Persistence (JPA) 3 .2 Subgraph addElementSubgraph ( String attributeName ) Add

jakarta.persistence.EntityManager

Exception thrown by ConnectionFunction.apply , if any. Since: Jakarta Persistence (JPA) 3 .2 void ... Persistence (JPA) 3 .2 Query createQuery ( CriteriaUpdate updateQuery ) Create an instance of Query ... other than NONE is specified. Since: Jakarta Persistence (JPA) 3 .2 T find ( EntityGraph entityGraph , Object

jakarta.persistence.Subgraph

. IllegalArgumentException - if the attribute is not an attribute of this entity.. Since: Jakarta Persistence (JPA) 3 .2 ... has been statically defined. Since: Jakarta Persistence (JPA) 3 .2 void addAttributeNodes ( String ... Persistence (JPA) 3 .2 Subgraph addElementSubgraph ( String attributeName ) Add a node to the graph

ObjectDB License Agreement [ver. 2.0.4]

by this agreement. 3 . The free edition of the Software includes restrictions on the number of classes

JPA Metamodel Attributes

The Jakarta Persistence (JPA) Metamodel API defines a structured hierarchy of interfaces and enumerations to represent the attributes of managed persistent types (entities, embeddable and superclasses). Metamodel Attributes Hierarchy in Jakarta Persistence (JPA) 3 . Base attribute definitions

JPA Metamodel Types

The Jakarta Persistence (JPA) Metamodel API defines a structured hierarchy of interfaces and enumerations to represent the persistent types within a domain model. Metamodel Types Hierarchy in Jakarta Persistence (JPA) 3 .2 Base type definitions The core abstractions of model types

JPA Extended API Reference Guide

Jakarta Persistence API (JPA) 3 .2 documentation, generated from the official JavaDoc and enriched with practical notes. It groups the API types into logical sections to help you locate core concepts, query facilities, metamodel details, configuration options, annotations, and exception information

JPA Core Types

and inheritance relationships. Jakarta Persistence (JPA) 3 .2 Core Types Bootstrapping and Configuration

JPA Criteria Queries

queries: Criteria Queries Hierarchy in Jakarta Persistence (JPA) 3 .2  Instances of 

Entity Management Settings

. For more details, see the Updating Entities section in Chapter 3 .

JPA Criteria FROM and JOIN

is structured as follows: Criteria Query From Components in Jakarta Persistence (JPA) 3 .2 

ObjectDB Website - Terms and Conditions of Use

are under other licenses. See the Credits and Attributions page. 3 . Disclaimer The materials on ObjectDB

jakarta.persistence.criteria.PluralJoin

Persistence (JPA) 3 .2 Predicate equalTo ( Expression value ) Create a predicate to test ... to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3 .2 ... testing for equality. Since: Jakarta Persistence (JPA) 3 .2 Fetch fetch ( SingularAttribute attribute

jakarta.persistence.criteria.MapJoin

of the given basic type. Since: Jakarta Persistence (JPA) 3 .2 Expression entry () Create an expression ... to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3 .2 ... testing for equality. Since: Jakarta Persistence (JPA) 3 .2 Fetch fetch ( SingularAttribute attribute

jakarta.persistence.criteria.Root

of the given basic type. Since: Jakarta Persistence (JPA) 3 .2 Predicate equalTo ( Expression value ... . Since: Jakarta Persistence (JPA) 3 .2 Predicate equalTo ( Object value ) Create a predicate to test ... to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3 .2 Fetch

jakarta.persistence.criteria.SetJoin

. Since: Jakarta Persistence (JPA) 3 .2 Predicate equalTo ( Expression value ) Create a predicate to test ... to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3 .2 ... testing for equality. Since: Jakarta Persistence (JPA) 3 .2 Fetch fetch ( SingularAttribute attribute

jakarta.persistence.criteria.CollectionJoin

of the given basic type. Since: Jakarta Persistence (JPA) 3 .2 Predicate equalTo ( Expression value ) Create ... . Since: Jakarta Persistence (JPA) 3 .2 Predicate equalTo ( Object value ) Create a predicate to test ... against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3 .2 Fetch fetch

jakarta.persistence.criteria.ListJoin

. Since: Jakarta Persistence (JPA) 3 .2 Predicate equalTo ( Expression value ) Create a predicate to test ... - expression to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3 .2 ... : predicate testing for equality. Since: Jakarta Persistence (JPA) 3 .2 Fetch fetch ( SingularAttribute

jakarta.persistence.criteria.From

) 3 .2 Predicate equalTo ( Expression value ) Create a predicate to test whether the expression ... against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3 .2 Predicate equalTo ... . Since: Jakarta Persistence (JPA) 3 .2 Fetch fetch ( SingularAttribute attribute ) Create a fetch join

jakarta.persistence.criteria.Join

of the given basic type. Since: Jakarta Persistence (JPA) 3 .2 Predicate equalTo ( Expression value ) Create ... . Since: Jakarta Persistence (JPA) 3 .2 Predicate equalTo ( Object value ) Create a predicate to test ... to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3 .2 Fetch fetch

[ObjectDB 2.4.3_07] Unexpected exception (Error 990)

[2012-10-05 13:14:18 #7 store] Database '/home/glassfish/objectdb-2.4. 3 _07/db/test.odb' is opened by 7042@edi-gui-sbr-devel [2012-10-05 13:14:18 #8 server] [ObjectDB 2.4. 3 _07] Unexpected exception ... ] Database '/home/glassfish/objectdb-2.4. 3 _07/db/test.odb' is closed by 7042@edi-gui-sbr-devel hadnosoul

ClassCastException after upgrade to 2.3.5_03

" field is a byte[]. This worked ok in 2. 3 . 3 _06. felixobjectdb Richard Szurgot Thank you for this report. Please try build 2. 3 .5_04 that should fix this new issue. support Support

[ObjectDB 2.3.7_25] Unexpected exception (Error 990)

copy... [ObjectDB 2. 3 .7_25] Unexpected exception (Error 990)   Generated by Java HotSpot(TM) 64 ... :163) at com.objectdb.Doctor.main(Doctor.java:22) [ObjectDB 2. 3 .7_25] null lorenz2304 Benjamin Lorenz ... databases, but still if the database was created by an old version of ObjectDB (before 2. 3 .0) maybe

Dynamic Metadata (JDO 3.0)

JDO 3 introduces the ability to specify and query metadata of persistable types dynamically. ObjectDB 2 supports specifying metadata by: JPA XML Mapping Metadata JPA Annotations JDO XML Metadata (e.g. package.jdo) JDO Annotations All these methods are static, i.e. the metadata has to be provided

Step 4: Add a Servlet Class

the new servlet class. Now replace the content of the new source file with the following code : package

Getting Started with JPA and NetBeans

well (dialog boxes and menus might look slightly different but the code would be the same). This tutorial consists of the following steps:

Step 4: Add a Servlet Class

of the new source file with the following code : package guest; import java.io.IOException; import java

Step 7: Run the Spring Web App

/. This Spring web application can also run with GlassFish 3 .0.1, with a small change in the 

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  NetBeans . Building a new application step by step is an effective way to learn - but 

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 (session beans) it requires a full Java EE 6 application server, such as GlassFish 3 .0.1 or JBoss AS 6

Step 1: Create a Java EE Web Project

We start by creating a new Java EE 6 Web Application project in NetBeans: Open the [New Project] dialog box, e.g. by using File New Project... Select Java Web Web Application and click Next . Choose a Project Name (e.g. Guestbook ) and click Next . Select GlassFish Server 3 (or above) 

Step 7: Run the Spring Web App

/Guestbook/. This tutorial should also run with GlassFish 3 .0.1, with a small change in

ObjectDB 1.0 Manual

on programming with ObjectDB and JDO: Chapter 3 - Persistent Classes Explains what a persistence capable