About Container

1-10 of 200Refresh
JPA Doc
70

contains(cls, primaryKey)

Method javax.persistence.Cache boolean contains(   Class cls,   Object primaryKey ) Whether the cache contains data for the given entity. Parameters: cls - entity class primaryKey - primary key Returns: boolean indicating whether the entity is in the cache Since: JPA 2.0
JPA Doc
69

contains(entity)

Method javax.persistence.EntityManager boolean contains(   Object entity ) Check if the instance is a managed entity instance belonging to the current persistence context. Parameters: entity - entity instance Returns: boolean indicating if entity is in persistence context Throws: IllegalArgumentException - if not an entity Since: JPA 1.0
Issue
23

InternalException when querying indexed field using a list that contains duplicates

the specific case when: A query filter like this is used: ":ids.contains(originalId)" originalId is an indexed String field on the candidate class :ids is a list which contains a duplicate entry If the field is unindexed, or :ids does not contain duplicates, the exception is not thrown and the query
Forum
23

String Contains Query Result - Possible?

Hi, I have a managed database for an Entity, "Program", containing a String field, "description ... , the only solution I have is to iterate over all the Program objects manually and find one that is contained ... ) { for(Program p : allPrograms()) if(desc.contains(p.getDescription())) return p; return null
Forum
23

Logging archive contains non-objectdb log files

Hi, I'm dealing with problem, that objectdb's log archive folder contains several other log files which are not part of objectdb. We use single location for our application log files and also objectdb log files. When application crashes or retarts, we noticed that several of our log files reside
Forum
23

Query to find object from element of a contained collection

I have an OrderData class, containing an OrderItemData collection, i would like to find OrderData elements by OrderData.items.itemId. I cant get a proper query with MEMBER OF or IN. Does anyone have an idea on how i could formulate that as Typed or CriteriaBuilder query? Thanks.   @Entity public
Forum
22

embed the .odb file in tomcat webapp container

embed the .odb file in tomcat webapp container
Forum
22

The project does not contain a persistence unit

The project does not contain a persistence unit
Manual
17

Index Definition

. When an entity object is stored in the database every indexed field must contain either null or ... . Arrays and collections that contain values of the above types (including null). Indexes ... when using embeddable classes as fields of embedded object are stored as part of the containing entity
Manual
15

SELECT clause (JPQL / Criteria API)

with the containing entities. Therefore, embedded objects that are retrieved directly by a result path expression ... results: SELECT c.name, c.capital.name FROM Country AS c The result list of this query contains ... cell contains the country name (c.name) and the second array cell contains the capital city name (c