ObjectDB ObjectDB

Internal Website Search

11-20 of 200 resultsRefresh

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

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

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

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

Is there a function of "drop table" or "delete from table"?

Besides the em.remove() one by one, is there a function of "drop table" or "delete from table"? TIA gzdillon Lai Yang You can execute a DELETE query:     em.createQuery("DELETE FROM MyEntity e ... "drop table" in this site BTW. gzdillon Lai Yang The code “createQuery("DELETE FROM MyEntity e

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

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

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

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

Deleting archive log folder causes exception

Hello, we have observed strange behaviour when we delete odb archive log directory. We are running long term tests and during it we are deleting all logs that are not needed keeping the system running. When the "archive/" folder, where odb logs are archived, is deleted, the exceptions occur

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