About paging

api-jpa

getEntities()

Return the metamodel entity types.(Method of javax.persistence.metamodel.Metamodel)

 
manual

UPDATE SET Queries in JPA/JPQL

Explains how to apply server side bulk update using a JPA/JPQL query. Existing entity objects can be updated, as explained in chapter 2 , by: Retrieving the entity objects into an EntityManager . Updating the relevant entity object fields within an active transaction. ...

 
forum_thread

collection of embedded objects

1. In general, are there any restrictions of the use of @Embedded objects in collections, compared to @Entity? 2. If you have a large nested collection of @Embedded objects, and you remove the parent @Entity, does the remove cascade through the whole collection? 3. Is searching through collections of @Embedded objects more expensive (time) than searching through collections of @Entity? #1 2011-05-14 21:23 1. In general, are there any restrictions of the use of @Embedded objects in collections, compared to @Enti ...

 
api-jpa

LockModeType.READ

Synonymous with OPTIMISTIC.(Enum Constant of javax.persistence.LockModeType)

 
forum_thread

Connecting to a remote objectdb server

I am trying to configure my application in a client-server objectdb setup via tcp/ip. So I first made sure that the remote objectdb server is running using telnet from my local.  $ telnet db.mydomain.com 6136 (worked fine, is able to connect...) My db was configured below: <server>   <connection port="6136" max="100" />   <data path="objectdb://db.mydomain.com/db" /> </server> #1 2014-11-06 17:21 I am trying to configure my application in a client-server objectdb setup via tcp/ip. So I first made sure that t ...

 
release

2.7.2

Release date: 2017-10-09 Download (5.59 MB) Binary:  objectdb-2.7.2.zip Version 2.7.2 Added initial support for Java 9 . ...

 
forum_thread

Using Enum type in NamedQuery: Field is not found in type

I'm trying to switch an application that worked fine in Hibernate to ObjectDB and am having issues with queries that reference enum types. On my entity object is a static enum public static enum Type {     A,B,C } that is stored in an @Enumerated member variable private Type type; @Enumerated public Type getType() {     return type; } I then try to query this field in the following JPA Named Query #1 2013-01-17 22:17 I'm trying to switch an application that worked fine in Hibernate to ObjectDB and am having issues with queri ...

 
forum_thread

Relationships and tracking changes

3. Object relationship I try to create a 1->n relation (EBVerlag is 1 and EBUser is n) between two tables: Table "EBVerlag": #1 2017-02-10 17:29 Hello !! I am new in JPA / ObjectDB development and I have many questions:   ...

 
forum_thread

Soft Reference Object Cache Recommendation

(Trying again.  Last post, ~50 minutes to compose, failed, possibly due to an attachment upload size limit being exceeded before the post attempt.  =(  ) ... eventually derive at the conclusion that a lot of ObjectDB paging file entries are being retained and they are the actual backing of the ...

 
api-jpa

javax.persistence.OneToOne

Defines a single-valued association to another entity that has one-to-one multiplicity.(Annotation of JPA)