About mapped superclass

71-80 of 200Refresh
Forum
5

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
5

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
5

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
5

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.
Manual
5

Storing JPA Entity Objects

element in the XML mapping file: mappings xmlns="http://java.sun.com/xml/ns/persistence/orm ... -unit-defaults> mappings> The mapping file
Manual
5

JPA Lifecycle Events

can only be specified in a mapping XML file because there is no equivalent annotation: mappings ... -unit-defaults> mappings> The mapping file
Issue
5

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
5

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
5

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
JDO Doc
5

javax.jdo.Constants

See Also: PersistenceManagerFactory.supportedOptions() String OPTION_MAPPING_HETEROGENEOUS_INTERFACE_TYPE "javax.jdo.option.mapping.HeterogeneousInterfaceType" "javax.jdo.option.mapping.HeterogeneousInterfaceType" Since: JDO 2.1 See Also: PersistenceManagerFactory.supportedOptions() String OPTION_MAPPING_HETEROGENEOUS_OBJECT_TYPE