About entities

issue

InternalException: null

Hi! when I run my application where 10 threads are concurrently accessing ObjectDB (only reading) via using ExecutorService, then these 2 mistakes are coming rapidly: 1. Bug Version: 2.6.1 Priority: High Status: Fixed Replies: 1 Type:  Bug ...

 
forum_thread

Performance Questions...

Greetings ObjectDB team, All below questions assume a very large database (~1,000,000,000 objects) Q1: Two queries with a big overlap between their result sets. If I query the first and hold them in memory somehow, would that speed up the execution of the second query since many of its result objects already created and reside in memory ? Q2: Do I need to manually use strong references to such cached result objects ? or do ObjectDB exploits frequency of querying such objects and keep them in memory longer automatically somehow before GC takes place ? #1 2011-01-01 08:18 Greetings ObjectDB team, The below questions assume a very large database (~1,000,000,000 objects): Q1: If m ...

 
issue

Bean Validation (JPA 2.0)

JPA 2 adds support for integration with the Bean Validation API. Constraints are added to entity and embeddable classes by annotations, and can be checked automatically on PrePersist, PreUpdate and PreRemove lifecycle events. Integration with the Validation API is currently not supported by ObjectDB. JPA Feature Version: 1.04 Priority: Normal Status: Active Replies: 5 Type:  JPA Feature ...

 
api-jpa

OrderBy.value

An orderby_list.(Annotation Element of javax.persistence.OrderBy)

 
api-jpa

EntityResult.fields

Maps the columns specified in the SELECT list of the query to the properties or fields of the entity class.(Annotation Element of javax.persistence.EntityResult)

 
forum_thread

substring works with string but not with char

i want to select all entities whose name starts with a specific letter, i can use this query with a string parameter select f from Foo f where substring(f.name, 1, 1) = ?1 but when i use a char, the query does not return anything. i think it should also be possible to use char/Character types, do you agree? ... i want to select all entities whose name starts with a specific letter, i can use this query with a ...

 
api-jpa

javax.persistence.NamedQueries

Specifies multiple named Java Persistence query language queries.(Annotation of JPA)

 
api-jpa

javax.persistence.PersistenceContexts

Declares one or more PersistenceContext annotations.(Annotation of JPA)

 
api-jpa

PersistenceUnitTransactionType.JTA

JTA entity managers will be created.(Enum Constant of javax.persistence.spi.PersistenceUnitTransactionType)

 
forum_thread

Cache configuration of database file pages, query programs, query results

Are there some possibilities to configure following caches in order to keep cache data for only some important entity types and for the entire life cycle of the EntityManagerFactory. Cache of database file pages. Cache of query programs. Cache of query execution results. #1 2016-06-22 08:04 Are there some possibilities to configure following caches in order to keep cache data for only some important en ...