ObjectDB ObjectDB

Internal Website Search

81-90 of 139 resultsRefresh
6

Server connection management

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

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

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

Possible issue with timestamps

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

Removing an entity throws exception

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

Lazy loading does not work - crud takes long

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

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
6

NullPointerException while setting a new property value

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

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

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

LAZY @ManyToOne field functions as EAGER

A {                 @Id         @GeneratedValue         Long id;         String name
6

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