7
@Entity
public class Blobx {
private String name;
private BlobKey blobKey;
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Key id;
//getters and setters
}
@Entity
public class Userx {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Key id;
private String name;
@OneToMany
private List<Blobx> blobs;
//getters and setters
}
bestehen bleiben, während das Objekt UserX Entität über persiting Ich bin Begegnung mit
kann nicht JPA-Entität in App Engine
java.lang.IllegalStateException: Field "entities.Userx.blobs" contains a persistable object that isnt persistent, but the field doesnt allow cascade-persist!
ja beide von ihnen –