ObjectDB ObjectDB

Internal Website Search

61-70 of 142 resultsRefresh
9

How to delete M2M relationship?

In user model class I have the following: public class User implements Serializable {     @Id     @GeneratedValue(strategy = GenerationType.AUTO)     private Long id;     @ManyToMany(mappedBy = "attendees", cascade = CascadeType.ALL)     @Cascade(org.hibernate.annotations.CascadeType
9

@Column( name = "columnName") doesn't work

; @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL) @Column( name = "DATA_ITEMS ... = CascadeType.ALL) private AfwCodedDataBlock codedDataBlock; private int level
9

significant performance decrease

ArrayList<ObjectNode>(); @OneToMany(fetch=FetchType.LAZY,cascade=CascadeType.REMOVE) public List ... =FetchType.LAZY,cascade=CascadeType.REMOVE) public List<ObjectProperty> supportingData = new
9

can't get HashMap out of the database

Date signingDate;     @OneToMany(fetch=FetchType.EAGER, cascade=CascadeType.ALL) private ... Long id; @OneToMany(fetch=FetchType.EAGER, cascade=CascadeType.ALL)     private ArrayList
9

Mapped By Fetch is very Slow

: The entity : import javax.persistence.CascadeType; import javax.persistence.Entity; import javax ... MyEntityChild entityChild = null;   @OneToOne(targetEntity = MyEntityChild.class, cascade = CascadeType
9

Problem with @Basic(fetch = FetchType.LAZY)

, cascade = CascadeType.ALL)     private LargeString description;     @OneToOne(fetch = FetchType.LAZY, cascade = CascadeType.ALL)     private LargeString code; Nothing special about the LargeString
9

Error 613 - i cant put a list<Athlete> into a Squad object

explicitly before commit. Annotate the athletes collection using @OneToMany(cascade=CascadeType.PERSIST). Annotate the athletes collection using @OneToMany(cascade=CascadeType.ALL). Set global automatic
9

LAZY @ManyToOne field functions as EAGER

);         }         @ManyToOne(fetch=FetchType.LAZY, cascade= CascadeType.ALL)         C cLazy;                 @ManyToOne(fetch=FetchType.EAGER, cascade= CascadeType.ALL)         C cEager
9

Object explorer cannot open odb file. ObjectDB many-to-many relationship

(Assignement.PK.class) public class Assignement {     @Id @ManyToOne(cascade = CascadeType.ALL, optional = false)     private User user;         @Id @ManyToOne(cascade = CascadeType.ALL, optional
9

ObjectDB Explorer don't show ManyToOne relations

= ModelElementImpl.class, cascade = {CascadeType.REFRESH}) private ModelElement parent; } If we use ... .class, cascade = {CascadeType.REFRESH}) private ModelElementImpl parent; } Can you fix this in

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