ObjectDB ObjectDB

Internal Website Search

51-60 of 144 resultsRefresh
9

failure to enforce NOT NULL for java.lang.String

: @Entity public class Request { public Request() { } @Id @GeneratedValue(strategy ... {         public Request() {         }         @Id @GeneratedValue(strategy=GenerationType
9

openejb jpa jaas module

; @GeneratedValue(strategy = GenerationType.SEQUENCE , generator = "gen") @Id private int ... = :mail") }) public class UserInfo implements Serializable { @GeneratedValue(strategy
9

@MappedSuperclass and @Transient not working as I expected

.persistence.EntityManagerFactory; import javax.persistence.GeneratedValue; import javax.persistence ... .persistence.Version; @MappedSuperclass public class DataObject { @Id @GeneratedValue
9

find() delay

();     }        @Entity     public static final class MyEntity {         @Id @GeneratedValue long id ... );   em.close();   emf.close(); } @Entity static class Node {   @Id @GeneratedValue(strategy
9

multiple LEFT JOINs do not work as expected

{         @GeneratedValue @Id private long id;         Node parent;         int depth ... static final class Node { @GeneratedValue @Id private long id; Node parent
9

Query only works correctly when debug printing results

{ @Id @GeneratedValue private long id; private String reqLevelName = "DEF"; @OneToMany ... long serialVersionUID = 5019171545896480392L; @Id @GeneratedValue private long id
9

can't get HashMap out of the database

; // Persistent Fields: @Id @GeneratedValue Long id; private String name; private ... is: @Entity public class GuestHolder { // Persistent Fields: @Id @GeneratedValue
9

Inserted entities with strings as keys and indices needs more and more ram memory in comparing to primitive integers as keys and indices

@GeneratedValue primary keys are sequential. So when you persist multiple new objects their primary keys ... that long primary keys are more efficient than String UID primary keys. Automatic @GeneratedValue
9

Attempt to execute a query using a closed EntityManager

. id is a long field in Client, so it should be there after Client is set. Id has @Id @GeneratedValue ... " field which is @Id @GeneratedValue(strategy = GenerationType.IDENTITY)? Shouldn't
9

Error 613 - i cant put a list<Athlete> into a Squad object

.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.OneToMany; @Entity ... {     /**      *      */     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