Home » Search

About serializable

111-120 of 199Refresh
Forum
2

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 ... and instead to define each of these serializable classes also as embeddable. Ok, thanks for your answer ... implements Serializable { (...) List embeddableBList; } EmbeddableB class
Forum
2

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 ... .Id; import java.io.Serializable; /** * Created with IntelliJ IDEA. * User: apple * Date: 17
Forum
2

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

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

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

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

has a JFrame attempting to persist. //i tried this with and without Serializable ... ......................................................................................... import java.io.Serializable; import javax.persistence ... .swing.JFrame implements Serializable { private static final long serialVersionUID = 1L
Forum
2

Beginners questions

which looks like this: @Entity(name="RESULT") public class EBResult extends Pojo implements Serializable ... extends Pojo implements Serializable { private static final long serialVersionUID = 1L; @Id ... "EBUser": @Entity(name="USER") public class EBUser extends Pojo implements Serializable{ private
Forum
2

Clarification on free license restrictions

entity classes but other serializable classes are unlimited. Therefore, even though embeddable classes are preferred - you may use your own serializable classes as a replacement to avoid hitting ... this in the current version? When attempting to persist my serializable user generated class of Patient
Forum
2

Join query problem with new statetment

here. InspirationsPerSupplierResult is defined like this: public class InspirationsPerSupplierResult implements Serializable ... Inspiration extends BaseEntity implements Serializable, Convertable {     @GeneratedValue(strategy ... public class Product extends BaseEntity implements Serializable, Convertable {     @GeneratedValue
Forum
2

persisting object with long[][] arrays of array

(); Here is the object: import java.io.Serializable; import javax.persistence.CascadeType; import javax ... .persistence.OneToMany; @Entity public class TESTObject implements Serializable{     private ... (not arrays of arrays) -    @Entity public class TESTObject2 implements Serializable