ObjectDB ObjectDB

Internal Website Search

121-130 of 144 resultsRefresh

NullPointerException while setting a new property value

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

Removing an entity throws exception

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

c.o.jpa.type.EntityTypeImpl.getIdType() returns null

final long serialVersionUID = 6677607256121084732L;     @Id     @GeneratedValue     private

Entity with java.util.Date column gives ClassCastException in BIRT

*/ @Entity public class Patient {     @Id     @GeneratedValue(strategy=GenerationType.IDENTITY

2.7.3_03 Erroneous "Attempt to modify a primary key of a managed object"

extend this abstract class: abstract class AuEntity implements Serializable { @Id @GeneratedValue

Newbie : How to return the auto-generated ID

Hello, I am new to this community, as well as JPA and ObjectDB. I want to read the auto-generated ID when I persist a new entity (with @Id @GeneratedValue annotations applied). I am following the following link : http://www.objectdb.com/tutorial/jpa/eclipse/web/entity Thanks. zombie Deepak Mishra

How to pass a list in query for a list field of entity.

I have a entity as bellow :- @Entity @Table(name = "agent") public class Agent implements Serializable { @Id @GeneratedValue(strategy = GenerationType.AUTO) private Long Id; private List<SocialMedia> SocialMedias; public Agent() { } public Long

Accessing objects to make them available after EntityManager close?!

; @Id @GeneratedValue Long id; @Unique private String word; private Set<String> meanings

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

@GeneratedValue private long id; public NewJFrame() { initComponents

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

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

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