-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: mapping of table columns to javabean fields
PostPosted: Wed Jun 09, 2004 7:38 pm 
Beginner
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.