ObjectDB ObjectDB

Internal Website Search

51-60 of 200 resultsRefresh
87

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
87

NPE when reading map from DB

Maybe this is caused by accessing an object (a persistent map field according to the stack trace) when the connection to the database is closed. support Support
87

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<String, Macros> testMacros = new
83

Exception when querying Map property with @embedded & Enhancer enabled

Exception when querying Map property with @embedded & Enhancer enabled
83

Cascade delete with unidirectional mapping

Cascade delete with unidirectional mapping
17

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. Flying Banana Jiacong Xu
17

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). support Support Build 2.4.1_06 fixes this issue (fields are now initialized and the test in
17

JPA Named Queries

is attached to exactly one entity class or mapped superclass - usually to the most relevant entity ... can be defined in JPA XML mapping files instead of using the @NamedQuery annotation. ObjectDB supports JPA XML mapping files, including the definition of named queries. But, because mapping files are useful
17

JPA Metamodel API

, mapped super classes) Set<ManagedType> allManagedTypes = metamodel.getManagedTypes ... instance: // Get a managed type (entity, embeddable or mapped super classes): ManagedType ... . IdentifiableType is as a super interface of: MappedSuperclassType - represents user defined mapped
15

Retrieving JPA Entity Objects

through all the non collection and map persistent fields (i.e. through one-to-one and many-to-one relationships ... navigation through non collection and map persistent fields are also retrieved. Theoretically, in some ... .LAZY) private Employee manager; : } The default for non collection and map references

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