ObjectDB ObjectDB

Internal Website Search

81-90 of 139 resultsRefresh

Server connection management

static final class MyEntity {         @Id @GeneratedValue long id;         int value

Mapped (Inverse) LAZY @OneToMany vs. Unmapped LAZY @OneToMany

    static public class A {         @Id         @GeneratedValue         Long id;         String

Possible issue with timestamps

= creationDate;         }                 @Id         @GeneratedValue(strategy=GenerationType.TABLE

Removing an entity throws exception

final long serialVersionUID = 1L; @Id @GeneratedValue private Long id

Lazy loading does not work - crud takes long

Project implements Serializable {     @Id     @GeneratedValue(strategy = GenerationType.SEQUENCE

How to apply constraints in collection attributes of entity.

How to apply constraints like unique, not null ...etc in collection attribute of a entity. Example : @Entity @Table(name = "agent") public class Agent implements Serializable { @Id @GeneratedValue(strategy = GenerationType.AUTO) private Long Id; private List<String

NullPointerException while setting a new property value

to other @entities): @Entity final public class PluginMetaData { @Id @GeneratedValue private

Problem with distinct select, order by and equivalent alias/attribute path

();     }     } @Entity public class Street implements Serializable {     @Id     @GeneratedValue(strategy

LAZY @ManyToOne field functions as EAGER

A {                 @Id         @GeneratedValue         Long id;         String name

Immediately retrieve unique id

; @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "sampleSeqGenerator") @Id long id; The id

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