ObjectDB ObjectDB

Internal Website Search

111-120 of 162 resultsRefresh
8

Some details about db behavior

me with this please link them. Regards vachagan Vachagan If A is an entity class (and not an embeddable class ... ), you should see an A instance in the database. If A is an embeddable class the content of A will be persisted as
8

Searching lists within objects

ArrayList<Attribute>(); } @Embeddable class Attribute {     private AttributeType type ... embeddable objects for the search. However, I am not sure if indexes are currently used in
8

select query for a HashMap field of an entity.

I have the following entity. I need the all the MyEntitiy whose MyEntity.Embeddable.PropMap.Key = someValue. Can anybody please help me to get this what should be the query. @Entity class MyEntity { @Embeddable class MyEmbeddable { private HashMap<Long, Properties
8

Navigation through Path to evaluate collection

and the related embeddable class. Thanks public synchronized List<ProductData> getList(String key ... ; } @Embeddable public class ApiIdData_ implements Serializable {         private String apiName
8

Pre-detach loading: retrieval by navigation not working in if statement

wrapper rather than embeddable class, which could be more efficient (and as a bonus will also eliminate ... wrapper rather than embeddable class, > which could be more efficient (and as a bonus will also eliminate
8

Is named-query supported in orm.xml

":entity, "http://java.sun.com/xml/ns/persistence/orm":embeddable}' is expected. Does ObjectDB support ... queries should be defined in the XML before any type (entity, embeddable, etc.) definition. Named queries
8

Suggestion for improving the examples

: Take the ridiculously complicated concept of @Embeddable class e.g Address etc... Placed in an employee ... and when embeddable classes are introduced we prefer to focus on that topic only with minimal code that is needed
8

EntityManager.find(entityClass, primaryKey) is slow when accessing non-existent IDs

.Embeddable; import javax.persistence.EmbeddedId; import javax.persistence.Entity; import javax ... String toString() { return "X [id=" + id + "]"; } } @Embeddable
1

NullPointerException when using multithreading

, EmbeddableA> myMap; } @Embeddable public class EmbeddableA { @OneToOne(cascade=CascadeType.ALL) private HashMap<String, EmbeddableB> myMap; } @Embeddable public class
1

References to objects of missing obsolete entity classes

. It is an Embeddable and was not removed properly. We used to have an entity called SimplifiedUniversalPatternImpl ... of other old entities (potentially these are also Embeddables) that cause the same error. These entities

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