ObjectDB ObjectDB

Internal Website Search

11-20 of 165 resultsRefresh
134

Cascade type annotaion on an embeddable type

*/ private Location location;     private int phoneNumber; } @Embeddable public class Location ... is an instance of an embeddable class. The embeddable class must be annotated as Embeddable." So the Location ... CascadeType affects embeddable objects? Yotam Yotam Boaz No need to specify the Embedded annotation in
131

Extended HashMap as Embeddable class

Hi, Should it be possible to create an Embeddable class that extends HashMap (or Set etc.)? I can user HashMaps as parameter type in entities, but when I extend it and annotate it with @Embeddable annotation - I get an error. @Embeddable public class A extends HashMap<String, String
131

LifeCycle Event with Embeddable classes

for embeddable classes, not just for entities? My case looks as follows: @Entity public class Foo { @Id ... Timestamp(System.currentTimeMillis()); }} @Embeddable public class Bar { @Temporal(TemporalType ... for embeddable classes. You can set an event callback for the containing entity and use it to handle embedded objects in the entity object. support Support
131

Does ObjectDB support inheritance of @Embeddable classes?

Does ObjectDB support inheritance of one @Embeddable into another @Embeddable ? webel Dr Darren Kelly Yes. ObjectDB supports hierarchy of embeddable classes. support Support
131

Problem with merging / persisitng objects with @Embeddable field

with field that contains @Embeddable object. Please check attached exception. Relation between ... ; @Embeddable public class ProductSet implements Serializable { @ManyToMany(fetch = FetchType.EAGER ... is invalid, since targetEntity should refer to an entity class rather than to an embeddable class
120

ObjectDB embeddable Springboot

ObjectDB embeddable Springboot
25

Enum fields are set to null and embeddable enum class does not show in explorer

embeddable classes). It has also effect, if the related entity is saved. It seems the enum class got ... this is a bug in the explorer? Maybe the enum has to be embeddable?* * it worked like this before! itsme
24

JPA Entity Fields

Fields of persistable user defined classes (entity classes, embeddable classes and mapped ... and inverse fields) can be used in both entity classes and embeddable classes. However, the last ... . Cascade and fetch settings are explained in chapter 3. A persistent field whose type is embeddable
17

Index Definition

; : } @Embeddable class Address { String street; String city; : } Indexes must always refer ... are only allowed when using embeddable classes as fields of embedded object are stored as
17

JPA / JDO Class Enhancer

(entity classes, embeddable classes and mapped superclasses), and is usually optional ... . @Entity, @Embeddable) are enhanced by the Java Enhancer Agent. Therefore, when using

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