ObjectDB ObjectDB

Internal Website Search

111-120 of 144 resultsRefresh
6

LAZY @ManyToOne field functions as EAGER

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

Possible issue for default id generator

and 36: @GeneratedValue(strategy=GenerationType.SEQUENCE)//, generator="seq") @Id
6

java.sql.Timestamp.getTime() not working

Player { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) public int id; @Temporal
6

Fields in objects not populated in query result.

{ /** * */ private static final long serialVersionUID = 1L; @GeneratedValue @Id protected long id
6

Cascading merge() leading to "Attempt to persist a reference to a non managed instance" error

{     @Id     @GeneratedValue     @SuppressWarnings("unused")     private int id;     @ManyToOne
6

Failing to read entities under load in multithreaded tests

;     private long longId;     @Id     @GeneratedValue(strategy=GenerationType.TABLE, generator
6

@ElementCollection of type enum

@GeneratedValue Long id;                 @ElementCollection @Enumerated(EnumType.STRING
1

NPE when doing a find()

I added a simple User entity during Tomcat startup: class User { @Id @GeneratedValue private long id; @Basic(optional = false) private String firstName; private String middleName; @Basic(optional = false) private String lastName; } Everything works fine until I restart the server, which does a em
1

Negative snapshot user count

();     }     @Entity     public static class MyEntity {         @GeneratedValue @Id long id;     } } Build 2.3.3_04 should fix this bug. support Support
1

boolean field flips after schema update (in class) of another field

Configuration { @Id @GeneratedValue private long id; @Embedded private Application application

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