ObjectDB ObjectDB

Internal Website Search

191-200 of 200 resultsRefresh

Update entity without first opening a transaction

Hi everyone, I want to update an entity in my program without having to open a transaction, do the modifications and commit the transaction. I want to have a managed entity that is in sync with my database. So when I got a Person class and I do person.setName("John"), the name in my database

Is there any GUI for creating/editing entity?

Hi, I'm new for JPA/JDO. How should I create/edit entity class? Is there any GUI? In my searching easily, there is the jpa function of myeclipse, or Dail. http://www.myeclipseide.com/documentation ... /editing entity and JPA/JDO things. I'm expecting the one like MySQL Workbench. TIA :) pikotenta

Does run time enhancer due to GlassFish/Payara do anything that would affect loaded compile-time entity classes ?

do anything that would affect loaded compile-time enhanced entity classes (other than just logging, typically just info and warn level). webel Dr Darren Kelly If the entity classes are already enhanced (build time

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

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

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 error like "Unexpected query token 'agsk' (FROM is expected)". How to resolve it. Thank

How to create dynamic Entity class.

entity = myCls.newInstance(); support Support Now it is working. Thank You. Bimal Bimal kumar dalei

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

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

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