ObjectDB ObjectDB

Internal Website Search

191-200 of 200 resultsRefresh
53

Adding indexes on existing entities.

Is it safe to add indexes on an existing entity class? Thanks. lo Hoel Safe, but to enable the new index you will have to rebuild it, currently using the Doctor. Before running the Doctor make sure that the index is registered in the database by opening the database when it has access to the new
53

NPE after an @embedded obj is updated for a detached entity

I have an entity that looks like this: class User {     @embedded private Profile profile;     ... } After running something like this:     User user = entityManager.createQuery("select......     entityManager.detach(user);     user.getProfile().setDescription("Something... I
53

How to define Default Entity Listeners without persistence.xml and orm.xml

I am using JPA programaticaly..ie without xml file, and i would like to define Default Entity Listeners. How to do ? Here my init code: Properties config = new Properties(); config.put("javax.persistence.provider", "com.objectdb.jpa.Provider"); config.put("javax.persistence.jdbc.url", "objectdb
53

Internal objectdb error when open a database or open an entity manager

we get following exception when we open a database or open an entity manager Exception in thread "ODB IndexActivation" [ObjectDB 2.6.6_06] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.8.0_51 (on Windows 7 6.1). Please report this error on http://www
53

Attempt to remove a detached entity object (error 613)

Hello, that's a strange error for me ... I have a detached object in my Java code and i just wanted to merge it ... Unfortunatly, i get this error : Failed to commit transaction: Attempt to remove a detached entity object (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:290) We see in
53

Problem of Enhancer with JAXB / Proxified Entity Bean.

Hello Support, I run on a prod server an objectdb java agent with my app. In this application, all my entities beans are constructed from a JAXBContext ( SOAP CXF Webservice or Direct JAXB Unmarshalling ) When i watch the objectdb log, i see pages of errors. Not Enhanced: com/test/MyBean
53

How do I Remove an entity from the Database ?

Hi I no longer want to use an Entity .. (in SQL terms the whole Table ) ... How do I delete it ? Thanks Paul Newman pnewman Paul Newman Currently classes cannot be removed but this only affects the list of classes in the Explorer. Removing of classes will be supported in the future. support Support
53

Is it possible get the All PrimKeys for a given entity class in the DB?

the entity object is loaded. But the effect on performance is expected to be minimal, and the database size will not change. support Support
10

Collection update does not increase entity version and is not persisted

Hello, I found a bug when adding elements to a collection of Entities: Event { Collection<Attachment> attachments; void addAttachment(Attachment attachment) { this.attachments.add(attachment); } } Attachment { String filename } If I call this method
10

OutOfMemoryError, if close the entity manager

Hello, why this error occurs during close the entity manager? Caused by: java.lang.OutOfMemoryError: Java heap space at com.objectdb.o.PageCacheFile.m(PageCacheFile.java:173) ~[na:na] at com.objectdb.o.PAG.N(PAG.java:498) ~[na:na] at com.objectdb.o.PAG.y(PAG.java:282) ~[na:na] at com.objectdb

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