About IDE

161-170 of 200Refresh
Forum
3

Need help to make this test work and define proper annotations for entities Lists

javax.persistence.Id; import javax.persistence.Persistence; import javax.persistence.TypedQuery ... class OrderDat implements Serializable {             @Id @GeneratedValue private long id ... id;             }             public void setId(long id) {                 this.id = id
Forum
3

ClassCastException on SELECT NEW ... after UPDATE over Java RMI

.id, r.fileName) FROM RecordingMetaData AS r WHERE ... A remote RMI client runs SELECT (but not SELECT ... to build result of type 'NEW com.arunta.base.db.FileNameDTO(r.id, r.fileName)' (error 783 ... .arunta.base.db.FileNameDTO(r.id, r.fileName
Forum
3

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

implements Serializable {     @Id     private String id;         private String town;     public Location() {     }     public Location(String id, String town) {         this.id = id;         this.town = town;     }         public String getId() {         return id;     }     public
Forum
3

Join performance in Objectdb

SELECT count(e) FROM Meta e, ImageNet i, Page p WHERE e.idImage=i.id AND e.idPage=p.id; So simple ... a wrong command?    According to your query you use IDs instead of references, which is not recommended when using JPA. It seems that a Meta instance holds the IDS of an Image and a Page instances
Forum
3

Strange behaviour with ORDER BY and IN

by a simple member (e.g. a String) being the Entity-ID and, at the same time, filter on this member ... the Entity-ID) actually work well, this behaviour is only observable when filtering and ordering both are done on the ID member.   Assuming this simple Entity class: @Entity public class Location
Forum
3

2.7.3_03 Erroneous "Attempt to modify a primary key of a managed object"

? embedded ID? Is there an ID class attached? Relevant fields and annotations from class JdoBlob2 ... .0 modules). Your id type is StringIdentity. Note that StringIdentity is defined in JDO to represent ... of the id field. You should be able to change the id field to a simple String without database schema
Issue
3

After using the enhancer, Lazy loaded collections are no longer loading. They are set as null

Account extends AbstractEntity implements IAbstractEntity { @Id @Column(name = "account_id") @GeneratedValue(strategy= GenerationType.TABLE) protected Long id; @Override public Long getId() { return id; } @Override public void setId
Forum
3

Composite Index error 328

( { @javax.jdo.annotations.Index(members = {"id","pwd","access"}) } ) public class ... = -4472890635861972890L; private int id; private int dyId; private long pwd; private String ... ; private String buroGruplama; private Long groupsHash; @Id @Column(name = "id
Issue
3

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

", joinColumns = @JoinColumn(name = "owner_ID", referencedColumnName = "ID"), inverseJoinColumns = @JoinColumn(name = "ownedElement_ID", referencedColumnName = "ID")) public Element ... =TestDeepValues][project=TEST: project 1][id=45][name=TEST: test deep values]) INFO: ConfigBean
Forum
3

Broken @ManyToOne reference

: @MappedSuperclass public abstract class A { @Id @ManyToOne(fetch = FetchType.EAGER, cascade=CascadeType.ALL, optional=false) private B b; @Id @Column(length = 36) private String stringId; } @MappedSuperclass public abstract class B { @Id private String name; } Both objects store