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 _
theres a way to change the default naming scheme that hibernate uses to
generate column and table names with a class thats called NamingStrategy (or
something very similar)
On Wed, May 12, 2010 at 9:04 PM, Sean sean.c.comerf...@gmail.com wrote:
Dumb JPA question that I can't Google up the
If you're using Netbeans (The Only IDE You Need :), you can use the db
table-to-entity reverse engineer wizard (Entity Class From Database) and
change the column names to any valid field name you would like right in the
wizard and it will handle the @Column annotations for you. It also handles