Home » Search

About auto

11-20 of 102Refresh
Forum
21

Feature suggestion: auto-detection of entities via persistence.xml extension

.autodetection" value="class, hbm"/>
Forum
21

Newbie : How to return the auto-generated ID

Hello, I am new to this community, as well as JPA and ObjectDB. I want to read the auto-generated ID when I persist a new entity (with @Id @GeneratedValue annotations applied). I am following the following link : http://www.objectdb.com/tutorial/jpa/eclipse/web/entity Thanks. The id is available in
Forum
20

turn off auto-serialization

turn off auto-serialization
Forum
20

ODB should auto-restart if it detects it's necessary

ODB should auto-restart if it detects it's necessary
Result
14

ObjectDB Object Database Features

. Math: java.lang.BigInteger and java.lang.BigDecimal. Auto Value Generation Modes (for primary Key
JPA Doc
7

javax.persistence.FlushModeType

.AUTO is set on the Query or TypedQuery object, or if the flush mode setting for the persistence context is AUTO (the default) and a flush mode setting has not been specified for the Query or TypedQuery ... FlushModeType AUTO (Default) Flushing to occur at query execution. (Default) Flushing to occur at query
Issue
6

Explorer bug ? Objects seem to be missing from database in Class view, but are present as references

.Actor [29](TEST: Actor3) INFO: RequestBean []: Created: com.greensoft.entity.Actor [null](TEST: auto actor 0) INFO: RequestBean []: Persisted: com.greensoft.entity.Actor [30](TEST: auto actor 0) INFO: RequestBean []: Created: com.greensoft.entity.Actor [null](TEST: auto actor 1) INFO: RequestBean
JPA Doc
6

javax.persistence.GenerationType

/JPA manual. GenerationType AUTO Indicates that the persistence provider should pick an appropriate ... an appropriate strategy for the particular database. The AUTO generation strategy may expect a database
Forum
4

Performance in large transactions

(FlushModeType.AUTO); EntityTransaction transaction = entityManager.getTransaction ... = getEntityManagerFactory().createEntityManager(); entityManager.setFlushMode(FlushModeType.AUTO ... .setFlushMode(FlushModeType.AUTO);   em.getTransaction().begin();   // SLOW   long startTime
JPA Doc
4

GeneratedValue.strategy

Annotation Element javax.persistence.GeneratedValue GenerationType strategy (Optional) The primary key generation strategy that the persistence provider must use to generate the annotated entity primary key. Default value: javax.persistence.GenerationType.AUTO Since: JPA 1.0