About map

41-50 of 200Refresh
Forum
26

Eager Fetch is not stable for collection or map types?

Hi, thanks very much for your helpful software. The problem is the storage of collection or map ... is we confirm that the collection or map are stored successfully by using explorer tools when the JVM stopped ... () of collection or map before closing the EntityManager, data can be retrieved successfully:    public
Forum
26

How to Persist a Map of beans to collections of beans?

file.  The class contains a field that is as follows: private Mapmap values which are collections is non standard and may be limited ... class (e.g. SomeOtherTypeOfBeanList, and use Map).
Forum
26

Is it ok to put list or map of embeddable objects in entity ?

Hi, Is it ok to put list or map of embeddable objects in entity? I mean, for example : @Entity ...     Map cMap; (...) } where Class_B and Class_C are annotated as @Embeddable ... . Collections and maps of any persistable type, including embeddable types are supported. You may omit
Issue
26

JPQL support for mapped by (inverse) collections

, SIZE, MEMBER OF, IN) are currently not supported for mapped by (inverse) collections. These operations are supported for direct (not mapped by) collections. Navigation and JOIN is supported for both direct and mapped by collections. The following test case demonstrates a problematic query
Issue
25

Feature Request: Adding map entries to DB in Explorer

Currently, collections can be edited but maps cannot be edited. For a database model that has a lot of static data that need to be entered into the database on multiple edits this presents as an inconvenience. It would be great, therefore, if we can edit maps straight from the explorer.
Issue
25

Mapped by fields are not initialized by JOIN FETCH in queries

As demonstrated in this forum thread, a mapped by collection field with lazy fetch mode is not initialized in results of a query that uses JOIN FETCH on that collection field (when enhancement is used).   Build 2.4.1_06 fixes this issue (fields are now initialized and the test in the forum passes
Forum
25

Problem with queries on lists with reverse mapping

Hi, In version 2.4.2, when an object in a list is reversed mapped to the owning object, queries are returning objects of types that were not specified in the query. In the attached example the last test fails because the query returns both TeamA and TeamB objects where only TeamA was specified in
Forum
25

Query with MEMBER OF on hash map values

Hello, we want to execute following query: SELECT tc FROM TC tc WHERE ?1 MEMBER OF tc.testMacros.values() But we get an internal ObjectDB exception. It is possible to implement a query for this case at all?   @Entity public class TC { @OneToMany Map testMacros
Manual
25

JPA Persistence Unit

, embeddable classes and mapped superclasses) with related settings. Defining a persistence unit ... <mapping-file>META-INF/mappingFile.xmlmapping-file> packedEntity ... . If not specified, the first JPA implementation that is found is used. The mapping-file elements specify
Forum
24

Cascade delete with unidirectional mapping

Cascade delete with unidirectional mapping