About @Version

api-jpa

javax.persistence.AttributeOverride

Used to override the mapping of a Basic (whether explicit or default) property or field or Id property or field.(Annotation of JPA)

 
api-jpa

LockModeType.OPTIMISTIC_FORCE_INCREMENT

Optimistic lock, with version update.(Enum Constant of javax.persistence.LockModeType)

 
api-jpa

LockModeType.PESSIMISTIC_FORCE_INCREMENT

Pessimistic write lock, with version update.(Enum Constant of javax.persistence.LockModeType)

 
issue

Database access error , Doctor hanging on trying to repair, production shutdown at our biggest customer

we have a database shutdown, logs are showing: [2017-07-10 21:07:23 #1 store] Database 'F:\Hummingbird\Objectdb\db\coreSystemDb.odb' is opened by 11028@wzbhb101 [2017-07-10 21:07:23 #2 server] Server on port 3333 has started by 11028@wzbhb101 [2017-07-14 07:08:38 #3 store] SectionClassifier: SectionClassifier{2->merger[2699]-missing:1} [2017-07-14 07:09:08 #4 store] SectionClassifier: SectionClassifier{2->merger[2699]-missing:1} Bug Version: 2.7.1 Priority: Normal Status: Closed Replies: 15 Type:  Bug ...

 
forum_thread

JPA 2.0 Criteria API: (When) Fully supported ?

An excerpt from the website of a 3rd party vendor which tries to support JPA 2.0:   "The primary difference between JPA 1.0 and JPA 2.0 implementations is how data is fetched: the JPA 1.0 implementation creates a JPQL query string for fetching while the JPA 2.0 implementation uses Criteria API.   Tested JPA 2.0 providers #1 2012-02-23 13:27 An excerpt from the website of a 3rd party vendor which tries to support JPA 2.0:   "The prim ...

 
forum_thread

Criteria query error: Unexpected query token

Using JPA2, I can save entities now in JBoss, and also fetch them uniquely by id. However, if I try to fetch it by getting back all instances (e.g. findAll, I get the following error:   #1 2011-04-09 10:27 Using JPA2, I can save entities now in JBoss, and also fetch them uniquely by id. However, if I try to fetch it b ...

 
issue

ObjectDB BIRT Driver Update

The ObjectDB BIRT/ODA driver is an extension of the open source Business Intelligence and Reporting Tools (BIRT) that adds support of ObjectDB as a data source and JPQL as a data set query language. Bug Version: 2.6.6 Priority: Normal Status: Active Replies: 2 Type:  Bug ...

 
forum_thread

Remove a modified entity cause an optimistic lock exception

Hello, the following examples load and modify an entity, and load and remove the same entity. The first example 'SetAndRemoveIssue.java' is a simple java program which executes without errors. The second example is an OSGi program which fails with an optimistic lock exception. Both examples are equivalent, please execute SetAndRemoveIssue.java (in the OSGi example as a plugin-test). Can you explain the optimistic lock exception? ... MyEntity {         @Version long version;         int ...

 
forum_thread

Request clarification of changes to accessor enhancement policy (non-getter prefix instead of getter suffix) AND annotations

In response to the forum posting http://www.objectdb.com/database/forum/994 changes were made to the way enhancement treats getters and setters (property accessors), namely there are no longer enhanced additional getters/setters, because the additional methods now use (since about version 2-6-5) this pattern: __odbHidden_[accessor_name] Instead of this pattern with a suffix (preserving the method as a setter or getter), prior to version 2-6-5: #1 2016-08-20 13:44 In response to the forum posting http://www.objectdb.com/database/forum/994 changes were made to the way enh ...

 
forum_thread

Problem using Maven Repository - Enitiy Class will be ignored

I found this suspect if i use the maven to download objectdb. <dependency>             <groupId>com.objectdb</groupId>             <artifactId>objectdb</artifactId>             <version>2.6.2</version> </dependency> I got follow Java Warning that tells me that Entity Class will be ignored. #1 2015-05-29 19:44 I found this suspect if i use the maven to download objectdb. <dependency > < ...