ObjectDB ObjectDB

Internal Website Search

61-70 of 200 resultsRefresh
34

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
33

mapping file is not being loaded

, the Metamodel is empty - none of the entities referenced in the mapping file are present in the Metamodel ... ">                              <persistence-unit name="project.odb" >         <mapping-file>mil/navy/navo/arf/config/orm.xml</mapping-file>         <exclude-unlisted-classes>true</exclude-unlisted-classes>         <properties
33

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

file. The class contains a field that is as follows: private Map<SomeKindaBean, List ... as persistence capable classes). Support of map values which are collections is non standard ... persistence capable class (e.g. SomeOtherTypeOfBeanList, and use Map<SomeKindaBean, SomeOtherTypeOfBeanList>). support Support
33

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<String, Class_C> cMap; (...) } where Class_B and Class_C are annotated as @Embeddable ... . kborkowski Karol Borkowski Collections and maps of any persistable type, including embeddable types
33

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 ... , and the additional info is we confirm that the collection or map are stored successfully by using explorer ... a mehtod such as size() of collection or map before closing the EntityManager, data can be retrieved
6

javax.persistence.ExcludeSuperclassListeners

javax.persistence Annotation ExcludeSuperclassListeners Target: Classes Specifies that the invocation of superclass listeners is to be excluded for the entity class (or mapped superclass) and its subclasses. Since: JPA 1.0 Learn how to define and use entity listeners in Chapter 3 of the ObjectDB
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 ... Minnoye Actually map values are now supported but not map keys. support Support Hi, I've tested
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
6

Bulk load of eager mapped by (inverse) relationships

. However, inverse (mapped by) references that have to be loaded eagerly currently do not participate ... a separate client-server round trip. Future versions of ObjectDB should load eager mapped by (inverse) fields in bulk as well. support Support Bulk load of eager mapped by (inverse) singular references is now supported in build 2.4.4_13. support Support
6

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

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support