ObjectDB ObjectDB

Internal Website Search

151-160 of 200 resultsRefresh

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

@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

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

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

Saving custom list which implements java.util.List fails

below. @Entity public class Point implements Serializable {     ...     private List list ... .asList("not", "ArrayList"); } @Entity public class Point implements Serializable

turn off auto-serialization

Hi As far as I understand if you have a classe that implements Serializable and is referenced by an Entity it will be automatically stored using standard serialization mechanizm. Is there any option to turn off that feature so that if an un-enhanced (Serializable) class is referenced an error

Fields in objects not populated in query result.

implements Serializable { /** * */ private static final long serialVersionUID = 1L ... public class Entry implements Comparable<Entry>, Serializable

how explorer queries work

. The stack trace at #3 indicates that you are using serializable types and that the version ... defined serializable non entity / embeddable classes (which are not recommended anyway) and use

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

Error during cascaded merge

.receiveTime"}),}) public class Unit implements Serializable, Comparable<Unit> { ... @OneToMany(mappedBy ... "}, unique = "true") public class ChannelConfigurationSet implements Serializable { ... } As I

List always null

I have the following classes: @Entity public class Noticia implements Serializable {     private static final long serialVersionUID = 1L;     @Id     @GeneratedValue(strategy ... <Categoria> categorias; @Entity public class Categoria implements Serializable {         private

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