Hi Thomas,
You'll need to modify and compile org/exolab/castor/xml/JavaNaming.java
there is a switch statement in the private method called toJavaName,
simply remove line 242 which is:
case '_':
I'll play with it later...and make an official patch.
--Keith
"Davidson, Thomas" wrote:
>
> We have users that want to define an attribute name such as:
>
> my_variable
>
> The SourceGenerator is not creating the expected accessors as follows:
>
> getMy_variable()
> setMy_variable()
>
> Instead it does:
>
> getMyVariable()
> setMyVariable()
>
> Is there anyway to disable this??
>
> Tom Davidson ([EMAIL PROTECTED])
> HNC Software, Inc. www.hnc.com
> 858 799-8185
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
> unsubscribe castor-dev
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev