ObjectDB ObjectDB

Internal Website Search

31-40 of 200 resultsRefresh
85

Entity Update - Is the documentation up to date?

of the documentation. Turns out I've been doing two things that https://www.objectdb.com/java/jpa/persistence/update ... , all my changes seem to be merged automatically. The more conventional way is to update entities within an active transaction, or update entities outside the transaction and then merge them within an active
85

unable to update table in slave server database

server is down ,in slave server during update operation in table getting below issues. Failed ... .doCommitInsert(ObjDBem.java:75) at code.db.jpa.oodb.ObjDBem.Update(ObjDBem.java:224) This is the configuration ... is updated by the master, updating the slave will break synchronization when the master starts
85

Massive schema update

is, Is there any way to migrate all the objects to the new schema after I wrote the shema update ... update (including using the <schema> configuration element) is minimal. After an old object is updated ... to enforce updates of all the objects in order to avoid recurring schema conversions. support Support
85

Update is ignored by ObjectDB

Hi! Sorry for my bad english skills. When I execute fulfilOrder, only Order entity is updated in ... Sadovnikov Try to replace direct field update:     user.money += item.total with update using a new ... . It's realy a great project! Best Regards, Vladimir! mastervoland Vladimir Sadovnikov Automatic update
85

persists and update together ?

UPDATE c=VALUES(a)+VALUES(b); This query , inserts data or updates if its already available ... available then update if its available, if not add new object to db. This will make more cycle then on mysql on top. Is there any shortcut persists object if its not available , if its available just update
84

Update entity without first opening a transaction

Hi everyone, I want to update an entity in my program without having to open a transaction ... should be updated immediately. How can I get this done? joelcraenhals Joël Craenhals JPA requires using transactions for updating the content of a database. But if you use Java EE or Spring, the container may manage the transactions automatically. support Support
84

Internal exception when updating date filed (TemporalType.DATE)

Hello! ObjectDB version 2.5.3_02. I get internal exception when commiting update Date field (javax ... ().commit(); } // create dates for update Calendar calendar = Calendar ... .set(1981, 3, 1); dates.add(calendar.getTime()); // update birthday field
84

Schema update: package, class and field

the "defined" schema update and then the "automatic" schema update or is that a coincidence? Example ... the schema update mechanism (which generally works well), but you will have to be aware and report if it stops working in a future version. support Support
17

Update query bug

Some code. Problem in UPDATE query. TypedQuery<List<Transport>> query = (TypedQuery<List ... ); list.add(temp); TypedQuery<Person> query2 = (TypedQuery<Person>) em.createQuery("UPDATE Person p ... .Main.main(Main.java:22) Martynas Martynas This UPDATE query is invalid because JPQL UPDATE queries
16

UPDATE statemen crash when i put the WHERE clause.

Hello, i have a problem with a UPDATE statement. When i run the code without WHERE clause the cod ... _points); updateEm.getTransaction().begin(); updateEm.createQuery("update Record ... Ciprian Apparently this update query is not supported, but a better error message is required

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