ObjectDB ObjectDB

Internal Website Search

71-80 of 200 resultsRefresh
75

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
75

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
75

An ArrayIndexOutOfBoundsException with nested entities and enhanced entities

.8_06 All our entities are enhanced. There are nested entities in following hierarchy: @Entity ... here too? Could you please provide a test case as with the previous exception? support Support No, there are only entities
64

Entity is not related to ObjectDB, but i get exception from ObjectDB

Here is the description of the problem we are facing:
We have an entity DialogActionNew ... Hibernate
When getting this entity from PostgreSQL with the key EntityManager.find(id), we receive another entity - DialogNew, which has an exception: ERROR [org.jboss.ejb3.invocation] (pool-18-thread-1
15

CRUD Database Operations with JPA

it to store, retrieve, update and delete database objects. Storing New Entity Objects The following ... a managed entity) by the persist method. The new Point objects are physically stored in the database only when the transaction is committed. The Storing Entities section in chapter 3 discusses
14

javax.persistence.EntityManager

of entity instances in which for any persistent entity identity there is a unique entity instance. Within the persistence context, the entity instances and their lifecycle are managed. The EntityManager API is used to create and remove persistent entity instances, to find entities by their primary
12

Schema Update

Explains how to handle JPA/JDO database schema evolution in ObjectDB.
12

Chapter 3 - Using JPA

Explains how to store, retrieve, update and delete entity objects using JPA.
12

Locking in JPA

, are detected earlier. Optimistic Locking ObjectDB maintains a version number for every entity object. The initial version of a new entity object (when it is stored in the database for the first time) is 1. In every transaction in which an entity object is modified its version number
1

javax.jdo.JDOEntityManager

the persistence context, causing all managed entities to become detached. Clear the persistence context, causing all managed entities to become detached. Changes made to entities that have not been flushed to the database will not be persisted. Since: JPA 1.0 boolean contains(Object entity) Check

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support