ObjectDB ObjectDB

Internal Website Search

51-60 of 93 resultsRefresh
7

Need help to make this test work and define proper annotations for entities Lists

Serializable {         ...         @ManyToOne(cascade=CascadeType.PERSIST)         public CustomerDat
7

Are indexes implicitly created for relationships?

Do the following annotations @OneToMany @ManyToOne @ManyToMany @OneToOne imply @Index ? Thanks, Carl FastModel Ben Schreiber Actually these annotations (except @ManyToMany) should apply @Unique on the @One side. But ObjectDB doesn't apply these indexes automatically, because of their overhead
7

OrphanRemoval not working?

; ... } public class InvoiceItem implements Serializable { ... @ManyToOne private
7

Beginners questions

id; @ManyToOne @Column(name = "VERLAG_ID") @JoinColumn(name="VERLAG_ID", insertable=false, updatable
7

Global way to set Lazy-loading fetch functionality for all the fields

to do it (@ManyToOne(fetch=FetchType.LAZY)). Is there any way to do it at objectdb level or JPA global level
7

find() delay

=GenerationType.IDENTITY)   private int id;   @ManyToOne @JoinColumn(name="pid")   protected Node
7

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

I have created following entity class with custom fields @Entity public class AfwDataKey { @Id @GeneratedValue @Column(name = "KEY_ID") private long id; private Long timestamp; @ManyToOne @Column(name = "KEY_DESCRIPTOR") private AfwKeyDescriptor keyDescriptor
7

Query only works correctly when debug printing results

; @ManyToOne private RequirementLevelEntity wrappingReqLevelEntity; @ManyToMany private List
7

Maintaining referential integrity

an instance of Employee. I tried to use annotations like "OneToMany" and "ManyToOne", but the result
1

com.objectdb.o._PersistenceException: Failed to locate set method for field property using reflection

<>(); ... public PlatformTicker() { } ... @ManyToOne public Platform getPlatformConnector

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