ObjectDB ObjectDB

Internal Website Search

41-50 of 200 resultsRefresh
91

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<String, TemplateModel> mmsContainer and I want to access it fast in following way ... on a map value. Due to this issue using maps in queries is not fully supported yet, but queries
91

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
91

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.xml</mapping-file> <mapping-file>META-INF/ormreq.xml</mapping-file ... .impl.RequirementImpl9 Why the second mapping-file is ignored? The unit test has following result
90

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
88

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
88

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
88

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
18

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
17

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
17

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

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