Beginner |
|
Joined: Wed Jun 09, 2004 2:49 pm Posts: 25
|
I am just learning Hibernate.
I have a question:
Hibernate allows to auto generate a javabean
from an XML describing the mapping of table columns to
javabean fields.
I have situation, say I have 'Borrower' table
with column 'name'. It has both firstname and lastname
in the column.
I would like to add getFirstname() and getLastname()
to the mapped object. On other hand, I don't want
mix code that are auto generated with code that I add
manually. What is the best way to approach this
probelm?
jim
|
|