ObjectDB ObjectDB

Internal Website Search

91-100 of 139 resultsRefresh
6

"where in" query

();     }         @Entity     public static final class Prez {         @Id @GeneratedValue long id
6

Mismatch client-server protocol prefix

explicitly set and the field is annotated with: @Id @GeneratedValue public Long getId() { return Id
6

How to create a Unique constraint?

Hi, I'm trying to create a unique constraint. Here is a simple example: @Entity public class Account { @Id @GeneratedValue private long id; @Index(unique="true") private String name; } The code runs and my Account objects are persisted. But no exception is thrown
6

Error with org.springframework.data.jpa.domain.AbstractPersistable

>     {         @Id @GeneratedValue         PK id;     }     @Entity        public static
6

Should I be able to persist a JFrame (or gui components in general)?

@GeneratedValue private long id; public NewJFrame() { initComponents
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
6

Problem with bidirectional link

with the same id = 0. You can easily solve the problem by annotating the id field with @GeneratedValue. I
6

Missing (null) elements in eager loaded references

, allocationSize = 100) public abstract class BaseElement { @Id @GeneratedValue(strategy
6

Possible issue for default id generator

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

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

{     private static final long serialVersionUID = 1L;     @Id @GeneratedValue     private long 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