Home » Search

About mapped superclass

61-70 of 200Refresh
Issue
6

Eager load Map

I'm having an issue eager loading a nested map. I've attached @ManyToMany(fetch=FetchType.EAGER) attributes to no avail. If the map is viewed in the debugger or force iterated in the code it loads ok ... it to a db and re-loads it. The EntityManager is closed before accesing any fields. Finally the nested map
Forum
6

Extended mapping-definitions

The described feature is not available in any object-db I know, but possible with mapping ... its class) gets mapped to a java class. So cats get mapped to the java class 'Cat', dogs to 'Dog ... consequence I would get a huge main-table with the default-mapping, containing dogs and cats mixed
Forum
6

Mapped By Fetch is very Slow

Well ! I think i pointed out a HUGE performance issue with mapped-by attribute (yeah ... , go the MyEntity class and remove "mapped-by". You obtain 1 second max of query fetch. So my performance issue ... . Please check build 2.6.2_08 that should fix this issue. Some information about this issue: The mapped by
Forum
6

a second mapping-file is ignored in persistence.xml by enhancer

Hello Support-Team, we have a problem with the enhancer. In the persistence.xml are two mapping-files: <mapping-file>META-INF/orm.xmlmapping-file> <mapping-file>META-INF/ormreq.xmlmapping-file ... .bl.impl.RequirementImpl9 Why the second mapping-file is ignored?   The unit test has following result
Issue
6

Eager Fetch of Map with Entities as Keys

Loading eagerly a map that uses entity objects as keys is currently unsupported, if the equals ... is unavailable during instantiation of the map. The following test case demonstrates the problem ... ();         MyKeyEntity key = new MyKeyEntity("key");         em.persist(key);         entity.map
Forum
6

Index on values from a Map

Hi, is there a way to put an Index on the values from an Map? For example, if I have a Map like this: private Map mmsContainer and I want to access it fast in following way ... only in queries, and cannot accelerate other application code. You can define an index on a map
Forum
6

Merge of entity classes with "mapped by" very slow

Hi, I have found a strange behavior when merging entities with "mapped by" set on @OneToMany ... - one with mapped by, second with adding entities list without "mapped by". The difference is huge event for such small objects - 2ms (without mapped by) vs ~50ms (with mapped by) Is there any chance
Issue
6

JPQL support for Maps (JPA 2.0)

JPQL 2.0 introduces the ability define FROM variables for map keys and values. Currently ObjectDB supports FROM variables for collection elements. FROM variables for map keys and values are expected to be supported in future versions. Any updates on this issue ? Actually map values are now
Forum
6

mapping file is not being loaded

, the Metamodel is empty - none of the entities referenced in the mapping file are present in the Metamodel ... ">                                      <mapping-file>mil/navy/navo/arf/config/orm.xmlmapping-file>         true
Issue
6

Lazy loading of mapped by (inverse) singular references

ObjectDB ignores lazy setting of non collection mapped by (inverse) fields and loads ... , so it is always available. For mapped by (inverse) reference fields no information is stored in the entity ... object may be an instance of a subclass. Future versions of ObjectDB should manage mapped by (inverse