About entity

forum_thread

Vs. EHCache

Hi, I realize this is kind of like an apples vs. oranges comparison, but I would be interested if you have any performance information vs. something like ehcache with a persistent store. I'm currently evaluating for a simple schema to persist only 1 or 2 types of entities (but possibly 10k-100k instances) with simple index based queries which imagine both products could probably solve. #1 2010-11-18 15:22 Hi, I realize this is kind of like an apples vs. oranges comparison, but I would be interested if you have any perfo ...

 
forum_thread

Nested Collection Query

Hi Sir,    I have a persisted field of the type:   List<List<String>> groupMembers   How do I check if a particular member exist in one of the group? ... and instead wrap the internal collection in a user defined entity or embeddable class. ObjectDB Support ...

 
api-jpa

ManyToMany.fetch

(Optional) Whether the association should be lazily loaded or must be eagerly fetched.(Annotation Element of javax.persistence.ManyToMany)

 
forum_thread

Stacktrace in Explorer when running query

Hello, whenever I run a query in Explorer I get the following stacktrace (cf. attached file). My environment is: macOS Sierra 10.12.1 with java version "1.8.0_112" Is there anything I can do to fix this? Many thanks in advance Alex ... The stack trace indicates a problem in mapping entity fields to an Explorer view. Try to remove (or move) the file ...

 
api-jpa

getBindableJavaType()

Return the Java type of the represented object.(Method of javax.persistence.metamodel.Bindable)

 
api-jpa

CollectionTable.name

(Optional) The name of the collection table.(Annotation Element of javax.persistence.CollectionTable)

 
api-jpa

javax.persistence.SequenceGenerator

Defines a primary key generator that may be referenced by name when a generator element is specified for the GeneratedValue annotation.(Annotation of JPA)

 
api-jpa

getPersistenceUnitUtil()

Return interface providing access to utility methods for the persistence unit.(Method of javax.persistence.EntityManagerFactory)

 
forum_thread

How to creat a Query with Sql which returns a List<Mark> marks

How can i get out of the db my Athlete Objekt his list<Mark> marks collection with a createQuery Sql-Statement. the Mark and Athlete Object do not really have a primary or secondary key together, the list mark is just stored in the athletes object, not as an embeddable but as an entity. ... in the athletes object, not as an embeddable but as an entity. i tried with find(Mark.class, oldMark.getId()); but somehow the ...

 
api-jpa

MapKeyJoinColumn.referencedColumnName

(Optional) The name of the column referenced by this foreign key column.(Annotation Element of javax.persistence.MapKeyJoinColumn)