ObjectDB ObjectDB

Internal Website Search

111-120 of 200 resultsRefresh
15

DB Doctor sets type to "unknown" for new fields

and run DB Doctor on the exiting DB file in order to update the schema. The fields are added ... ) is set to unknown. Both are defined as Boolean in Java code. As a result, update operations ... and for the confirmation that it is Ok. We are struggling to understand then why updates like the following fail
15

Database Inconsistency or corruption

2.6.8_02 im embedded mode. The problem is that data gets lost when updating an entity. 1 ... to the referenced Attributes and from the Attributes to the Values. Updating an ObjectValue means updating the referenced Attributes. Updating an Attribute means replacing a referenced Value with a new Value
14

Query results are not up to date for entities, not primitives

updates. But, when using the JPQL Query, the list are refreshed, and, when I querying for primitive fields like Strings, the list of primitives are loading refreshed too. Any variations on update ... file that you are using, demonstrate the queries and explain how updates are performed? Note
3

javax.persistence.JoinColumn

to a primary key that is part of a foreign key. Default value: false Since: JPA 1.0 boolean updatable (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Default value: true Since: JPA 1.0
3

javax.persistence.MapKeyColumn

at the table level. Default value: false Since: JPA 2.0 boolean updatable (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Default value: true Since: JPA 2.0
2

executeUpdate()

Method javax.persistence.Query int executeUpdate() Execute an update or delete statement. Returns: the number of entities updated or deleted Throws: IllegalStateException - if called for a Java Persistence query language SELECT statement or for a criteria query TransactionRequiredException
2

javax.persistence.EntityManager

., for update or delete. Create an instance of Query for executing a native SQL statement, e.g., for update or delete. Parameters: sqlString - a native SQL query string Returns: the new query instance
0

ForeignKey.updateAction

Annotation Element javax.jdo.annotations.ForeignKey ForeignKeyAction updateAction The update action of this foreign key. Returns: the update action of this foreign key Default value: javax.jdo.annotations.ForeignKeyAction.RESTRICT Since: JDO 2.1
0

Value.updateAction

Annotation Element javax.jdo.annotations.Value ForeignKeyAction updateAction Update action to apply to any foreign key for the value. Returns: update action to apply to any foreign key for the value Default value: javax.jdo.annotations.ForeignKeyAction.UNSPECIFIED Since: JDO 2.1
0

Key.updateAction

Annotation Element javax.jdo.annotations.Key ForeignKeyAction updateAction Update action to apply to the foreign key for the key. Returns: update action to apply to the foreign key for the key Default value: javax.jdo.annotations.ForeignKeyAction.UNSPECIFIED Since: JDO 2.1

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