Dumb JPA question that I can't Google up the answer for... figuring
someone on the Java Posse list must know :-)

The DB I'm dealing with uses the _ character in just about every
single column name.

This then forces me to tediously use the column annotation over and
over just to account for the _ char, i.e.:

@Column(name="player_id")
private int playerId;

Is there a way to get JPA (w/ Hibernate) to automatically translate a
camel case field like playerId to the db column player_id?

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to javapo...@googlegroups.com.
To unsubscribe from this group, send email to 
javaposse+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to