I've been playing around with a customizer for openjpa reverse mapping,
designed to attach generator annotation for numeric keys. However, I'm
doing this by brute force, overriding the getDeclaration method. I think
that there's a more elegant way to do this in the customize method for
fields. Does anyone know how? I'm emitting the following:
@Id
@GeneratedValue(strategy=GenerationType.IDENTITY)
@Column(name="stop_id", columnDefinition="int4")
private int stopId;
Also, is there a way to inject lazy/eager fetch and/or fetch group info
on the customize method?
Tim Holloway