ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Armeanu, Christian" <Armea...@hsd.k12.or.us>
Subject RE: Syntax for getter variables in a POJO
Date Fri, 02 Mar 2007 20:13:50 GMT
These should map respectively to pSequence and productId.


-----Original Message-----
From: Collin Peters [mailto:cadiolis@gmail.com] 
Sent: Friday, March 02, 2007 12:11 PM
To: user-java@ibatis.apache.org
Subject: Syntax for getter variables in a POJO

I am trying to figure out the magical syntax for POJO's in
getter/setters.  I have a database column called product_id, another
called p_sequence.  What do these map to in a POJO getter/setter?
Seems the underscore causes some problems.  I have had to do some
aliases to make them work (i.e. productid, psequence)


View raw message