Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] BasicCollection question

Thank you!

I was using

@Entity
@Table(name = "employee")
public class Employee implements java.io.Serializable {
	@Id
	private long id;

If I use property access by moving @Id to the getId() it is working. I
was not aware that I was mixing field and property accessors, I was
too focussed on getting BasicCollection to work :)

Too bad the predeployment did not warn me about it but it stops
directly when there is an error.

Martijn


Back to the top