Newreaders,
I did get your email but I'll respond here instead.
As far as I know this shouldn't end up generating anything....
Code:
/**
* @hibernate.many-to-one column="roleID"
* @hibernate.many-to-one column="userID"
*/
public CustomKey(Long field_id, Long client_id) {
this.field_id = field_id;
this.client_id = client_id;
}
What you should have is a getter for each of your properties.
In your case if you are simply using Longs to store your properties then it would simply be:
@hibernate.property="roleID"
public Long getRoleID();
@hibernate.property="userID"
public Long getUserID();
Other than that I'm not quite sure what you're trying to do in the Custom class.
Your email stated that you wanted to set up a many-to-many association. If that's just the case and your many doesn't contain any extra info (i.e. it is just a junction table) then you don't actually even need to declare the class.