ObjectDB Database Search

101-150 of 200 results

JPQL query to get entities that does not have a child entity in their child entities

having status '%Started' and not '%Failed' and not '%Canceled' and not 'Finished'. I have entities for Job and Status with NamedQueries on Job entity and using TomEE for deployment. I am using following

Update Entity references if we change the type of an entity

Hello, we must change (extend) our entity model and therefor we convert the type of some entities ... . But now we introduced as example a new Entity NewKindOfEntityB. And we have a defined logic how we detect the existing EntityB instances they must be converted to the new Entity . With the same ID

Type ... is not defined as an entity (@Entity is missing) (error 302)

.lab.data.bacti.CultureRqst is not defined as an entity (@ Entity is missing) (error 302) at com ... fine ( @PersistenceCapable and @ Entity are equivalent - but you may try adding also @ Entity ... " [ObjectDB 2.6.4_07] javax.jdo.JDOUserException Type java.util.ArrayList is not defined as an entity

The exception "Attempt to remove a detached entity object" have no information about the entity

Hello, the exception "Attempt to remove a detached entity object" have no information about the detached entity . It is very hard, especially if the involved entities uses cascading, to find the removed call for the detached entity .   It would be very helpful if you can add a few information

can removing an entity throw an exception if the entity is in use?

Suppose you have an entity @ Entity class A { ... } and other entities with references to A.   e.g. @ Entity class B { A a; // explicit reference to A List list; // list of A's Set set ... Support Is there a query that can return all Objects (@ Entity and/or @Embedded) that include any

List managed entities for a given entity manager

Hi, Is there a way to find the number of managed entities given an entity manager? My application has some memory leaks - I am doing clear() on the entity manager(s) but may be I forgot some - so if there is a way to know how many entities are managed by each my entity mgr - it would be helpful

find out if an entity is refered by other entities

Hello, it is possible to find out if a child entity is just referenced by other parent entity types. But the types of the parent entities are unknown. Is there a possibility to find out if an entity is referenced? best regards btc_es BTC EmbeddedSystems You can only find it (using a query

An ArrayIndexOutOfBoundsException with nested entities and enhanced entities

.8_06 All our entities are enhanced. There are nested entities in following hierarchy: @ Entity ... ? support Support No, there are only entities involved. Have you an idea why this issue occurs? We try

Is ObjectDB scalable? What are its limitations?

supports: Database file size up to 128 TB (= 131,072 GB = 134,217,728 MB). Up to 2,147,483,648 entity ... . Up to 9,223,372,036,854,775,808 entity objects per database file. Unlimited database connections (limited by operating system resources).

ObjectDB License

Free License ObjectDB can be downloaded and used at no cost (including commercially)  with the restriction of a maximum of  10 entity classes and one million entity objects per database file. This could be useful for small projects, academic assignments, evaluation and learning

Comparison in JPQL and Criteria API

defined classes ( entity classes and embeddable classes) can be compared by using the equality operators (=, , == , != ). For entities , e1 = e2 if e1 and e2 have the same type and the same primary key value

JPA Persistence Unit

A JPA Persistence Unit is a logical grouping of user defined persistable classes ( entity classes, embeddable classes and mapped superclasses) with related settings. Defining a persistence unit ... registration of all the user defined persistable classes ( entity classes, embeddable classes and mapped

Removing of an entity removes also another entity type

Hello, we have following case: All entities must be enhanced, because see Issue #303. ToleranceDefinition and ResolverMapping are entities and have not any relations each other. Before start transaction the ToleranceDefinition entities exist already in the database. The transaction starts

ODB-FileWriter holds unecessary entity reference after transaction and entity manager are closed

a transaction (including the entity manager) the ODB file writer still holds a reference to entities . Performing similar calls repeatedly hence increases the number of references to entities not longer needed ... that all your classes are enhanced. The screenshot indicates using some entity objects ( MappingImpl

Privacy Policy

the company, or other legal entity on behalf of which such individual is accessing or using the Service

WHERE clause (JPQL / Criteria API)

that index to iterate directly on Country objects that satisfy the WHERE predicate. For entity classes

JPA Query API

yet and the  Country class is unknown as a managed entity class  - only the TypedQuery

Query Parameters in JPA

elements that are unavailable as literals, such as entity objects. API Parameter Methods Over half

SpringBoot-Point

the modest needs of this small application. The Point entity class... used to represent the data... covered

ObjectDB 2.9 Developer's Guide

programming using ObjectDB and JPA. Shows how to define JPA entity classes that can be persisted in

Database Connection using JPA

are discarded. However, by default, the in-memory instance of the managed entity is not affected by

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 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 can be further configured by annotations that specify cache preferences and lifecycle event listener

GROUP BY and HAVING clauses

can be applied to entity objects directly. Other aggregate functions are applied to fields of objects in

Java EE Web Tutorial

is represented by a  Guest entity object and all the  Guest entity objects are stored in an ObjectDB

NetBeans/JPA Spring MVC Web Tutorial

. Every visitor that has signed the guestbook is represented by a Guest JPA entity object and all the Guest entity objects are stored in an ObjectDB database. Required Software For this tutorial you will need

Eclipse/JPA Java EE Tutorial

by a Guest entity object and all the Guest entity objects are stored in an ObjectDB database

Eclipse/JPA Web Application Tutorial

is managed by JPA. Every visitor that has signed the guestbook is represented by a Guest entity object and all the Guest entity objects are stored in an ObjectDB database. Required Software

JPA Web Application Tutorial

by a  Guest entity object and all the  Guest entity objects are stored in an ObjectDB

NetBeans/JPA Java EE Tutorial

the guestbook is represented by a Guest entity object and all the Guest entity objects are stored in

Step 4: Add a Servlet Class

entity object is constructed and stored in the database. All the Guest entity objects are retrieved

Step 3: Add a Context Listener Class

The Guest entity objects will be stored in an ObjectDB database, which will be represented by a JPA's EntityManagerFactory instance with a global application scope. We have to register ... ().getAttribute("emf"); emf.close(); } } The code above: Invokes the Enhancer to enhance the entity class

Step 4: Add a Servlet Class

that will be added in the next tutorial step) - a new Guest entity object is constructed and stored in the database. All the Guest entity objects are retrieved from the database and stored in the request's

Step 4: Add a Servlet Class

(using a JSP form that is shown in the next tutorial step) - a new Guest entity object is constructed and stored in the database. All the Guest entity objects are retrieved from the database

Report Generation with BIRT and JPA

Started tutorial. The database file contains 1,000 Point entity objects, which represent points

Step 4: Add a Controller Class

the next tutorial step) - a new Guest entity object is constructed and stored in the database. Processing

Step 1: Create a Maven Web Project

Framework and ObjectDB/JPA support. The next step is  creating a JPA Entity class .

Step 1: Create a Java Project

with ObjectDB/JPA support. The next step is creating a JPA Entity class .

Step 1: Create a Maven Web Project

MVC Framework and ObjectDB/JPA support. The next step is creating a JPA Entity class .

Getting Started with JPA and Eclipse

This is the Eclipse version of the Quick Start with JPA tutorial. It demonstrates how to create and run a simple JPA application in Eclipse. The demonstrated application uses JPA to store and retrieve simple Point entity objects, where each Point has two persistent fields: x and y

Step 1: Create a Java EE 6 Web Project

: You should now have an Eclipse Java EE 6 project with ObjectDB/JPA support. The next step is creating a JPA Entity class .

Step 3: Define an EJB Session Bean

: persist - for storing a new  Guest entity object in the database. getAllGuests

Step 3: Define a Spring DAO Component

- for storing a new  Guest entity object in the database. getAllGuests - for retrieving all the existing

Step 4: Add a Controller Class

has registered (using a JSP form that will be added in the next tutorial step) - a new Guest entity

Getting Started with JPA

This tutorial demonstrates how to create and run a simple JPA application. The demonstrated application uses JPA to store and retrieve simple  Point entity objects, where each  Point has two persistent fields -  x and  y . If you already know JPA - the source code will be straightforward

Step 3: Define a Spring DAO Component

- for storing a new  Guest entity object in the database. getAllGuests - for retrieving

Step 1: Create a Java EE Web Project

Application project with ObjectDB/JPA support. The next step is creating a JPA Entity class .

Step 1: Create a Web Project

: Now you should have an Eclipse Dynamic Web project with ObjectDB/JPA support. The next step is creating a JPA Entity class .

Step 1: Create a Java Project

JARs... The next step is creating a JPA Entity class .

Step 3: Define an EJB Session Bean

) class defines two methods: persist - for storing a new Guest entity object in the database