Home » Search

About ManyToOne

41-50 of 84Refresh
Forum
2

NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1

serialVersionUID = 1L; @ManyToOne @Index private City city; @OneToMany ... ; @ManyToOne @Index private Person owner; private String name; public
Forum
2

Object explorer cannot open odb file. ObjectDB many-to-many relationship

(Assignement.PK.class) public class Assignement {     @Id @ManyToOne(cascade = CascadeType.ALL, optional = false)     private User user;         @Id @ManyToOne(cascade = CascadeType.ALL, optional
Forum
2

OneToMany and cascade delete problem

{ @ManyToOne private Product product; @ManyToOne private Store store; } Naming
Forum
2

Optimistic locking: prevent version increment on entity collection attribute

call to make sure the reading will be done from the DB but no success. I have tried to add ManyToOne ... to add ManyToOne of the owning side (Readings), This should not make any difference. > added EAGER
Forum
1

"Problem" with cross join

=InheritanceType.JOINED) ... @ManyToOne private CI ci; subclass CIstring private String text; I
Forum
1

@Column( name = "columnName") doesn't work

I have created following entity class with custom fields @Entity public class AfwDataKey { @Id @GeneratedValue @Column(name = "KEY_ID") private long id; private Long timestamp; @ManyToOne @Column(name = "KEY_DESCRIPTOR") private AfwKeyDescriptor keyDescriptor
Forum
1

@OneToMany(fetch = FetchType.LAZY) list is always null

; @ManyToOne private Parent parent; public int getId() { return id
Forum
1

_PersistenceException: Type is not found on getSingleResult.

;     @ManyToOne     private Municipio lugarNacimiento;         @OneToMany(mappedBy = "estudiante
Forum
1

Adding EntityListener Throws Unexpected Internal Exception

() {         super(Product.class);     }     @MapsId     @ManyToOne(fetch = FetchType.LAZY
Forum
1

An ArrayIndexOutOfBoundsException with nested entities and enhanced entities

{ @ManyToOne (targetEntity = DataTypeImpl.class, cascade = {CascadeType.ALL }, fetch