ObjectDB ObjectDB

Internal Website Search

11-20 of 200 resultsRefresh
113

Slave server not getting deletes

do a delete query, the records don't get deleted "delete from TestTable t " When I insert a record, then delete it, then re-insert it again, the slave server will give this error because the record did not get deleted. It got deleted on the master so master has no issue. com.objectdb.o.UserException
112

Handling deleted references

Hi support team, I have a problem when using DELETE query to delete Entity instances. We use ... has a profile. To reset a profile I run a DELETE query on the old profile , hoping that this would lead ... , which simply checks if the profile instance is such a "intermediate/deleted" instance. Is there a way
110

Unable to delete the .odb file programatically

Hi, I created the test.odb file, read the contents and now trying the delete the odb file using ... , when i am trying to delete the file using the followng code     File[] files = parentDir.listFiles();     for (File temp : files ) {         boolean deleted = file.delete(); // getting false value
107

Bulk Delete and Update - best practice?

The attached test creates 1000 large objects and then attempts to delete them all in one go using a DELETE statement. I'm trying to run with -Xmx512m but the test runs out of memory during the delete ... both tests with the default objectdb.conf. In general is an UPDATE/DELETE statement the most efficient way
27

CRUD Operations with JPA

Explains how to use JPA for CRUD database operations (persist, retrieve, update, remove).
27

Chapter 3 - Using JPA

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

CRUD Database Operations with JPA

it to store, retrieve, update and delete database objects. Storing New Entity Objects The following ... and Deleting Entities JPA refers to entity objects that are associated with an EntityManager as 'managed ... to retrieve them (e.g. as a Query factory). To delete an object from the database, you need to obtain
23

Running JPA Queries

other case. In addition, the Query interface defines a method for running DELETE and UPDATE queries: Query.executeUpdate - for running only DELETE and UPDATE queries. Ordinary Query Execution ... , they have to be caught and handled. DELETE and UPDATE Query Execution (with executeUpdate) DELETE and UPDATE queries
21

I can't get cascading delete to work in JDO

delete does not, leaving orphan objects. sjzlondon Steve Zara Thank you for this report. Apparently cascading delete has never been implemented in ObjectDB (see also "Deleting Dependent Objects" on this old documentation page). Build 2.7.5_04 implements cascading delete in JDO. Your NetBeans
21

JPQL Update & Delete (JPA 1.0)

JPQL (Java Persistence Query Language) supports updating and deleting database objects by queries. Currently ObjectDB supports only JPQL SELECT (retrieval) queries. Delete queries are supported for JDOQL (JDO Query Language). support Support spring-data-jpa uses delete queries to implement

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