Possible Duplicate:
Wrong ordering in generated table in jpa
Im using Play! framework, and i have this in my model:
@Entity(name="Dialer")
public class Dialer extends Model {
@Column(name="offer")
public String offer;
@Column(name="domain")
public String domain;
@Column(name="created_date", insertable=false, updatable=false)
@Generated(value=GenerationTime.ALWAYS)
@Temporal(TemporalType.TIMESTAMP)
public DateTime createdDate;
......
I would expect this to be reflected in the database exactly as its laid out but instead i get this:
id, created_date, domain, offer
How do i fix this?