Not sure I understand you. This is exactly how a resultMap works (and core to iBATIS)

<resultMap id="getPaymentResult" class="payment">
                <result property="paymentId" column="PAYMENT_IDI"/>
....



On Aug 6, 2008, at 9:39 AM, Lance Java wrote:

I would like to change the default column --> property name mapping functionality. eg in my db, column names are of the form "column_name" whereas properties are of the form "columnName"

I have read through the documentation and there is no mention of providing my own column --> property name mapper.

I realise that I can use "select column_name AS columnName" but this does not work for "select *" or stored procedures etc.


Cheers,
Lance.

Reply via email to