ObjectDB ObjectDB

Internal Website Search

101-110 of 144 resultsRefresh
6

Server connection management

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

Bulk Delete and Update - best practice?

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

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
6

@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
6

Null returned by Persistence.createEntityManagerFactory

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

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

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

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
1

Unexpected exception when execute query without enhanced entities

    public static class MyEntity {         @Id @GeneratedValue         int uid
1

Unexpected exception (Error 990) - Merge with no Transaction

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

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