ObjectDB ObjectDB

Internal Website Search

11-20 of 162 resultsRefresh
128

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
125

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
125

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
125

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
125

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
115

ObjectDB embeddable Springboot

ObjectDB embeddable Springboot
26

probable error in text of manual about embeddable classes

at http://www.objectdb.com/java/jpa/entity/types website in "Embeddable Classes" section ... . ko_23 Krzysztof The complete paragraph: "Instances of embeddable classes are always embedded in ... operations. Therefore, using embeddable classes can save space in the database and improve efficiency
24

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
23

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
16

ObjectDB Object Database Features

very efficiently. User Defined Classes Entity classes (@Entity) Embeddable types (@Embeddable

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