Home » Search

About serializable

121-130 of 200Refresh
Forum
1

Problem with merging / persisitng objects with @Embeddable field

entities looks like this: @Entity public class ProductKit extends BaseEntity implements Serializable ... ; @Embeddable public class ProductSet implements Serializable { @ManyToMany(fetch = FetchType.EAGER ... extends BaseEntity implements Serializable, Convertable { @ManyToMany(targetEntity = ProductSet
Forum
1

Query on Embedded Primary Key?

code here - just run it) Thanks  EKK   package DBbug; import java.io.Serializable; import ... .Persistence; import javax.persistence.TypedQuery; @Entity public class OBJ2 implements Serializable ... ();     }             @Embeddable public static class Primkey2 implements Serializable {     public long field1
Forum
1

Query to find object from element of a contained collection

class OrderData implements Serializable {     ...     private OrderItemData[] items = null;     ... } public class OrderItemData implements Serializable {     ...     private String itemId = null;     ... }       Although serializable objects that are not entity or embeddable classes
Forum
1

TemporalType injection with Calendar using JPA

implements Serializable { private Calendar beginTime; private Calendar endTime ... Chart implements Serializable { private TimePeriod id; private List points ... .PROPERTY) public class TimePeriod implements Serializable { private long beginTime
Forum
1

Problem with entities detection

Alumno: package objectdb; import hibernate.AsignaturasAlumno; import java.io.Serializable ... = "SELECT a FROM Alumno a WHERE a.idAlumno = :idAlumno")}) public class Alumno implements Serializable ... ; And this is the Embedded class: @Embeddable public class Direccion implements Serializable
Forum
1

@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 ...     @Unique(members = {"name", "surname"})     public static class Person implements Serializable
Issue
1

[ObjectDB 2.2.5_02] Unexpected exception (Error 990) com.objectdb.o.InternalException: java.lang.NullPointerException: null

(); } }     Also, the entity class @Entity @Access(AccessType.PROPERTY) public class Chart implements Serializable ... implements Serializable { private long beginTime; private long endTime; private String
Forum
1

can't get HashMap out of the database

public class Guest implements Serializable { private static final long serialVersionUID = 1L ... implements Serializable { private String name; private Date signingDate;     @OneToMany
Forum
1

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
Forum
1

Does ObjectDB support @Parent for @Embeddable reference to parent?

under ObjectDB instrumentation: @Entity class User implements Serializable { @Id ... ; this.profile.setUser(this); } // ... }   @Embeddable class Profile implements Serializable