ObjectDB ObjectDB

Internal Website Search

141-150 of 200 resultsRefresh
7

Field in Generic Class not persisted?

();     } } and the Abstract class package DBbug; import java.io.Serializable; abstract class ABS<Type1,Type2> implements Serializable{     public Type1 valueInGenericClass;         public ABS
7

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

.Serializable; import javax.persistence.*; @Entity public class Point implements Serializable
7

ObjectDB JDO - foreign key constraints

Serializable{ @PrimaryKey private String name; private int age; ...} @Entity public class Company implements Serializable{ @PrimaryKey private String name; private Person
7

@Unique member combination not working

Why does the below code not enforce unique restrictions? Person @Entity @Unique(members = {"name", "surname"}) public class Person implements Serializable {     @Id     @GeneratedValue ... Serializable {         @Id @GeneratedValue private Integer id;         private String name
7

Conflicting modifiers .... (javax.persistence.Id, javax.persistence.ManyToOne)

.persistence.NoResultException ex) { return -1; } } } mport java.io.Serializable; import ... ) public class CompoundKeyMapItem { public static class CompoundKeyMapItemId implements Serializable
7

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

the Athlete Class package test; import java.io.Serializable; import java.util.HashMap; import java ... public class Athlet extends Person implements Serializable
7

Speed of queries that return many objects

... still seems slow. Thanks EKK import java.io.Serializable; import javax.persistence.Entity; @Entity public class BenchEnt implements Serializable {     private static final long serialVersionUID = 1L
7

Database corrupted after schema change

interface BDOInterface extends Serializable, DCG, C { ...} public interface DCG ... and changeed nothing else: public interface BDOInterface extends Serializable, DCG { ...} public
7

List of Enum Values in an entity

; import java.io.Serializable; import java.sql.Date; import java.util.ArrayList; import javax ... * */ @Entity public class Guest implements Serializable { private static final long
1

"is not null" queries not working with index

-queries at the end, wrong results are fetched. import java.io.Serializable; import javax.jdo ... public class Foo implements Serializable {         private static final long serialVersionUID = 1L

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