ObjectDB ObjectDB

Internal Website Search

111-120 of 200 resultsRefresh
13

openejb jpa jaas module

com.bayner.jpa; import javax.persistence.*; import java.io.Serializable; import java.security ... ) public class Principals implements Serializable,Principal { private String principalName ... .Serializable; import java.util.List; /** * Created with IntelliJ IDEA. * User: apple * Date: 27
12

Field not persisted in abstract class with two level of nesting

. Here is an example code MHD1 package BUG2; import java.io.Serializable; import javax.persistence ... public class MHD1 implements Serializable{     private TZ1 timezone;     public MHD1 ... () {         super();     } } ATT package BUG2; import java.io.Serializable; import javax
11

Error 363 - Failed to read value of inverse relationship

implements Serializable { private static final long serialVersionUID = 1L; @Id ... () { } [...] } @Entity public class Message implements Serializable { private ... .Serializable; import java.util.*; import javax.persistence.*; @Entity class Player implements
11

Is it ok to put list or map of embeddable objects in entity ?

? And one more question - I have some entities that have my own, serializable classes inside as parameters ... on Java serialization and instead to define each of these serializable classes also as embeddable ... that @Entity public class EntityA implements Serializable { (...) List<EmbeddableB
11

Trouble bug on explorer

; import javax.persistence.*; import java.io.Serializable; import java.util.Date; import java ... ", initialValue=10000) @Entity public class User implements Serializable { @Id @GeneratedValue ... javax.persistence.Entity; import javax.persistence.Id; import java.io.Serializable
10

Mysterious "Attempt to persist a reference to a non managed instance" error

. package failing; import java.io.Serializable; import javax.persistence.Entity; import javax.persistence.Id; @Entity public class Ostrich implements Serializable {     @Id long id;     public Ostrich() { } } package failing; import java.io.Serializable; import java.util.Map; import javax
10

Should derived fields of an EmbeddedId be manually maintained by app code?

.Serializable; import javax.persistence.Basic; import javax.persistence.Embeddable; import javax ... public static class ECompoundKeyMapItemId implements Serializable { private static final long ... (newObj); //em.flush(); return newObj; } } import java.io.Serializable; import
10

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

attempting to persist. //i tried this with and without Serializable, and with and without exposing ... ......................................................................................... import java.io.Serializable; import javax.persistence.*; /** * * @author ... .JFrame implements Serializable { private static final long serialVersionUID = 1L; @Id
10

Extending model by "common entity"

public class Entity1 implements Serializable {     private String val1;     private String val2 ...  implements Serializable {     private String val4;     // (getters and setters here) } Now I want ... Serializable {     private String createdBy;     private Date createdAt;     private String modifiedBy
2

Error reading UTF string (Serialized Objects in Explorer)

. It seems that there is a problem in reading the pricing field, whose type is serializable (Money). Using serializable types is not recommended (embeddable classes should be used instead) and is not fully supported by the Explorer since the Explorer doesn't have the serializable class, which is needed

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