About manual

api-jpa

JPA Annotations for JPQL Queries

Reference (JavaDoc) of JPA 2 query annotations, including @NamedQueries, @NamedQuery and @QueryHint.... The JPA Named Queries section of the ObjectDB Manual explains and demonstrates how to use these annotations to define named ...

 
forum_thread

Schema update: package, class and field

Hello, how can it be specified in the schema, that an entity is moved to another package? Package Structure (version 1) com |- btc |- impl |- Class1.java |- internal |- Class2.java |- Class3.java Now I want to move Class2   from com.btc.internal to com.btc.impl ... in the schema?   I found in the manual only how a whole packet can be renamed: <schema > ...

 
api-jpa

javax.persistence.Version

Specifies the version field or property of an entity class that serves as its optimistic lock value.(Annotation of JPA)

 
api-jpa

javax.persistence.CacheStoreMode

Used as the value of the javax.persistence.cache.storeMode property to specify the behavior when data is read from the database and when data is committed into the database.(Enum of JPA)

 
api-jpa

javax.persistence.Enumerated

Specifies that a persistent property or field should be persisted as a enumerated type.(Annotation of JPA)

 
api-jpa

javax.persistence.criteria.Root

A root type in the from clause.(Interface of JPA)

 
forum_thread

Entity Update - Is the documentation up to date?

I'm working on my first ObjectDB project, and I just went back and reviewed some of the documentation.  Turns out I've been doing two things that http://www.objectdb.com/java/jpa/persistence/update suggests should not work. First, I've been modifying managed entities from outside an active transaction.  If I subsequently begin and commit a transaction, all my changes seem to be merged automatically. ... 06:18 The online manual is always expected to be up to date with the last ObjectDB version. ...

 
api-jpa

javax.persistence.GeneratedValue

Provides for the specification of generation strategies for the values of primary keys.(Annotation of JPA)

 
forum_thread

Eclipse - Maven - Dependencies not getting automatically reflected

I have installed Java 1.7 Eclipse Juno From Eclipse Market place have installed - Maven Integration for Eclipse WTP (a.k.a m2e-wtp), m2e-apt, Spring IDE, The Spring Tool Suite™ (STS) Have defined M2_HOME as directory where Maven is installed. PATH updated as %M2_HOME%/bin I am working on Windows XP. #1 2013-12-22 22:46 I have installed Java 1.7 Eclipse Juno From Eclipse Market place have ...

 
forum_thread

Post-compile enhancement fails when static Log4j 2.5 based logger used in Entity

I doubt this is an ObjectDB-enhancer problem, I am however reporting it in case anybody else encounters the problem too. It is mostly also not a concern for my own web app, because in most cases a non-static logging variable can be used in an @Entity.     ObjectDB 2.6.3_04     Apache Log4j2 - 2.5     Mac OS X     jdk1.7.0_51 or jdk1.8.0_60     NetBeans 8.1Beta ... using the technique described under the Log4j2 manual: Generating Source Code for a Custom Logger Wrapper  (otherwise ...