@Column(name = "identifier", insertable = false, updatable = false)
@Generated(value=GenerationTime.INSERT)
@GeneratedValue(strategy=GenerationType.IDENTITY)
@AccessType(value="field")
public Long getIdentifier()
{
return identifier;
}
In PostgreSQL this column will be an int8 instead of a bigserial.
In SQL Server this column will be a numeric (19,0) without identity
Thank you in advance,
Ghislain