About serializable

191-200 of 200Refresh
Forum
1

Query problem

Hi, Given : @Entity(name = "Inspiration") public class Inspiration implements Serializable {     ....     @ManyToOne(fetch = FetchType.EAGER)     protected Atelier atelier;     .... } I have a query : SELECT i FROM Inspiration i WHERE i.atelier.id = 3 When I run this query I get wrong
Forum
1

removed objects stay with null field values in the reference

We have a class with a one to many relationship declared like this (1 or more objects of the same class are linked into the relationship, no circular referencing): @Entity public class ObjectNode implements Serializable { private static final long serialVersionUID = 1L; @Id public String
Forum
1

Removing an entity throws exception

... The Customer class code: @Entity public class Customer implements Serializable { private
Forum
1

Rename Application StringIdentity

I don't think JDO supports altering an entity's Application Identity.  Does ObjectDB? @PersistenceCapable public class MyClass implements Serializable, Cloneable{ @Id private StringIdentity id; ... }   PersistenceManager persistenceManager = ...; Transaction transaction
Forum
1

significant performance decrease

Serializable { private static final long serialVersionUID = 1L; @Id public String uUid
Forum
1

Strange behaviour with ORDER BY and IN

implements Serializable {     @Id     private String id;         private String town;     public
Issue
1

Super class' field access fails

Serializable { private static final Integer decrease = 20; // percent // @Id private
Issue
1

Support Attribute Conversion for Persistence

The @Converter annotation and the Attribute Converter interface have two big benefits: 1) They make it possible to persist any as-yet-unsupported java types that do not implement java.io.Serializable. (If they do, it is possible to persist them automatically by turning on the 
Forum
1

TYPE Expression

A implements Serializable {     }     @Entity     public static class B
Forum
1

Unable to store AtomicInteger

In the docs, all serializable types should be persistable. However, when I tried to persist a field of type AtomicInteger, I got the following message: Message: Failed to commit transaction: Attempt to store an instance of a non persistable type java.util.concurrent.atomic.AtomicInteger I am using