ObjectDB ObjectDB

Internal Website Search

21-30 of 200 resultsRefresh
106

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
105

How to delete a specific column data form a entity.

I have a entity class named Agent having fields Id,Name,Code,Skill ...etc. I wants to delete only the Skill from a row so I use Query like "Delete a.Skill from Agent a where a.Id = 112" but It gives ... Manoj Kumar Maharana DELETE queries are for deleting complete objects (rows). You may use an UPDATE
105

OneToMany and cascade delete problem

(which is deleted together with product). You can see this in attached example. The question is - is it a bug ... .test.bug.forum.T501.main(T501.java:73) I think that the Offer class and cascading delete from Product ... of Product instances in a Store when the Product is deleted. Otherwise a broken reference from Store
103

Cascading delete

Is there a configuration parameter to set this? dmoshal David Moshal You can set cascade delete using annotations (see also the Orphan Removal section). JDO defines similar annotations, and both JPA ... configuration. You cannot set global cascade delete since that will be too risky - you may delete the entire database. support Support
103

Delete class from DB - through Explorer

Hi! I was looking for ways to delete a class (entity/embedded) from a database through Explorer ... is to delete the whole db and make a new one, but that's not a good scenario ... . However, it only affects the list of classes in the Explorer, so you may just ignore the deleted class
102

Cascade delete with unidirectional mapping

Suppose entity A is referenced from entity B, like (A -> * B) but not actually having that reference, instead only B has @ManyToOne relationship to A and A has none. Is there a way to cascade delete of B's when deleting A? Or this should be done programatically with separate call to database
21

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
20

Issue with cascade delete & add/remove

of Address which cascades deletes (orphanRemoval=true) to its children which is what we want ... it has never been deleted from the collection (at least, until the transaction is comitted ... Entities within the collection of a Contact when we delete the Contact? Is that cascaded or do we need
20

Database Explorer

that has to be set. The functionality of the Edit > Delete command depends on the context. Deleting a reference field sets the value to null without deleting any referenced entity object. On the other hand, deleting an entity object that is represented by a child of an Extent node in a viewer window
20

Server User List

" ip="127.0.0.1" admin="true"> <dir path="/" permissions="access,modify,create,delete ... |modify|create|delete"> <quota directories="5" files="20" disk-space="5mb" /> </dir ... <dir path="/" permissions="access,modify,create,delete" /> <dir path="/$user/" permissions

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