ObjectDB ObjectDB

Internal Website Search

1-10 of 200 resultsRefresh
84

ClassCastException on SELECT NEW ... after UPDATE over Java RMI

internally runs SELECT NEW ... queries. For example: SELECT NEW com.arunta.base.db.FileNameDTO(r ... NEW ...) and UPDATE JPQL queries on the DB via the RMI interface. What we noticed is that once we UPDATE a record from the client (via the RMI interface), all SELECT NEW ... queries
83

Compare old and new schema

" the entity classes have in the old database file and compare that with the new classes definitions ... to the new one. However, you can open the old database in the Explorer (without entity classes in ... and an automatic comparison of old schema vs new schema is the only reliable way of making sure database
36

Working with JPA Entity Objects

: New, Managed, Removed and Detached. When an entity object is initially created its state is New. In ... , the owning EntityManager stores the new entity object to the database. More details on storing objects
17

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

with extended Persistence Context? [EDIT: 2006-09-29 New improved version of test mini web app with test mode ... ._PersistenceException: Attempt to begin a new transaction when a transaction is active at com.sun.ejb ... owner, String name) { try { Project p = new Project(owner, name
17

Tracking changes to new collections (in enhancement mode) after flush

Hello, We have an issue with a list as a value in a hashmap. Within one transaction a new key-value ... HashMap<String, List<ModelElementImpl>> mappingMap = new HashMap<>(1); (edited) btc_es BTC ... ();         ListInMap entity = new ListInMap();         em.persist(entity);         entity.addValue
7

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 ... ) and selecting New > Class. Enter guest as the package name - use exactly that case sensitive package ... to create the new class. The new class should represent Guest objects in the database. Use copy
7

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 ... ) and selecting New > Java Class... Enter Guest as the class name - use exactly that case sensitive class name ... to create the new class. Use copy and paste to replace the new source file content with the following
4

ObjectState.PERSISTENT_NEW_DELETED

Enum Constant javax.jdo.ObjectState PERSISTENT_NEW_DELETED Since: JDO 1.0
4

ObjectState.PERSISTENT_NEW

Enum Constant javax.jdo.ObjectState PERSISTENT_NEW Since: JDO 1.0
4

InheritanceStrategy.NEW_TABLE

Enum Constant javax.jdo.annotations.InheritanceStrategy NEW_TABLE Since: JDO 2.1

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