ObjectDB ObjectDB

Internal Website Search

101-110 of 144 resultsRefresh

Server connection management

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

Bulk Delete and Update - best practice?

{ @GeneratedValue @Id long id; @Index int hash; String data

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

@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

Null returned by Persistence.createEntityManagerFactory

the getters and setters): @Entity public class Task implements Serializable { @Id @GeneratedValue

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

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

Error: Failed to write value of field X using reflection (oneToMany relation)

Hi there! I have been all day trying to solve this. I have read multiple sites and documentation, but I can go through this. I have a clase named Pedido, that have a reference ManyToOne to a clase Cliente. @Entity public class Pedido { @Id @GeneratedValue private long id

Unexpected exception when execute query without enhanced entities

    public static class MyEntity {         @Id @GeneratedValue         int uid

Unexpected exception (Error 990) - Merge with no Transaction

A {         @Id         @GeneratedValue         Long id;         String value;              A(String value

Explorer bug ? Objects seem to be missing from database in Class view, but are present as references

extensively, it is only there to address the fact that under @ID @GeneratedValue AUTO strategy

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