ObjectDB ObjectDB

Internal Website Search

121-130 of 200 resultsRefresh

Foreign key constraint issue

to Parent, so that when the parent is deleted all children are removed as well. Unfortunately, in ... all children are deleted: ... Parent parent = new Parent(); parentRepository.save(parent); Child ... parentRepository.delete(parent); // Here trying to delete the parent along with all children referring

How to Remove records from many to many relationship tables in JPA

Hello All, I am getting the constraint violation exception whil deleting the entries I ... here my requirement is i need to delete records in both tables (TransportationEvent and Conclusion) here i am trying to delete conclusion table records like bellow: removeConclusions(conclusion

com.objectdb.o.TEX: Type ... is not found, for a class that's already been enhanced successfully.

.Site$_getActiveSessions_closure2 common.model.UserSession$_delete_closure1 mr.model.MRAuction$_delete_closure2 mr.model.MRAuction$_delete_closure3 mr.model.MRAuction$_delete_closure4 mr.model.MRAuction$_delete_closure5 mr.model.MRAuction$_delete_closure6 mr.model.MRAuction$_getSortedBidders


Method javax.persistence.TypedQuery List<X> getResultList() Execute a SELECT query and return the query results as a typed List. Returns: a list of the results Throws: IllegalStateException - if called for a Java Persistence query language UPDATE or DELETE statement QueryTimeoutException

Blocked by find

.createQuery("DELETE FROM DataHolder d WHERE d.containerId = :containerId"); query.setParameter ... . Then it starts up 2 groups of 10 threads, one group is persisting more data, the other group is deleting the first set of data via delete statements. Eventually the test seems to grid to a halt - it needs


Let's say I no longer need some entity in my project and after deleting all the objects ... found a description that the DB Explorer should be capable to delete classes? But it seems not ... of deleting classes in the Explorer. An obsolete class can be selected in the Schema / Managed Types


int CLEAR Since: JDO 2.0 int CREATE Since: JDO 2.0 int DELETE Since: JDO 2.0 int DETACH Since: JDO


Method javax.jdo.PersistenceManager void deletePersistentAll( Collection pcs ) Delete a Collection of instances from the data store. Parameters: pcs - a Collection of persistent instances Since: JDO 1.0 See Also: deletePersistent(Object pc)


Method javax.jdo.spi.StateInterrogation Boolean isDirty( Object pc ) Tests whether the parameter instance is dirty. Instances that have been modified, deleted, newly made persistent in the current transaction, or modified while detached return Boolean.TRUE. Instances known by the implementation


of a makeTransactional method call; newly made persistent or deleted persistent instances; persistent instances read

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