About serializable

151-160 of 200Refresh
Forum
1

OrphanRemoval not working?

Dear all, I have entities Invoice and InvoiceItem, their relation is defined: public class Invoice implements Serializable { ... @OneToMany(mappedBy="invoice", fetch=FetchType.EAGER ... ; ... } public class InvoiceItem implements Serializable { ... @ManyToOne private
Forum
1

Performance issues on aggregate query

  these are the classes that are used: public class ObjectNode implements Serializable {     private static ... Serializable {     private static final long serialVersionUID = 1L;         @Id @GeneratedValue
Forum
1

Problem with distinct select, order by and equivalent alias/attribute path

implements Serializable {     @Id     private String id;         private String town;     public ... ();     }     }   @Entity public class Street implements Serializable {     @Id     @GeneratedValue
Forum
1

Saving custom list which implements java.util.List fails

shown below. @Entity public class Point implements Serializable {     ...     private List list ... "); } @Entity public class Point implements Serializable { ... private List friends = new
Forum
1

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

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

Unexpected behaviour upon update. Bug?

This sample does not work as I expect.  Why?  Is it a bug? Below is the complete program. Expect: 3 Get: 4 import java.io.Serializable; import java.util.List; import javax.persistence.*; @Entity public class Update implements Serializable { @Id int i; int v; public
Issue
1

Unlimited JPA Persistable Types

you can persist any Serializable type by setting the configuration. There is no point in persisting most of the non serializable types such as Thread, because when retrieved from the database it will not
Forum
1

Version 2.2.7 build 7/8 issue

Serializable { private static final long serialVersionUID = 1L; @Id @GeneratedValue ... (){ return name; } } @Entity public class Address implements Serializable
Forum
1

Relationships and tracking changes

": @Entity(name="VERLAG") public class EBVerlag extends Pojo implements Serializable { private ... EBUser extends Pojo implements Serializable{ private static final long serialVersionUID = 1L; @Id