But that would mean I have to map each and every column. I was actually
looking for a way to tell hibernate: "Hey, all my class properties are
prefixed with an underscore but my db columns are not.". Is something like
that possible?

On Fri, 12 Oct 2007 09:51:20 -0700, "Josh Canfield" <[EMAIL PROTECTED]>
wrote:
> You can explicitly tell hibernate the names of your columns using
hibernate
> annotations or your hibernate mapping files. You'll need to check with
the
> hibernate docs/lists for more details.
> 
> Josh
> 
> 
> On 10/12/07, Olivier <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi,
>>
>>
>> I followed the small tutorial on using hibernate with T5 here
>> http://wiki.apache.org/tapestry/Tapestry5HowToUseTapestryHibernate and
> it
>> worked like a charm. Thank you to whoever wrote this!
>>
>> The example uses underscores for some private fields and sometimes not.
>> Now
>> I want to use this in my entities but then Hibernate generates incorrect
>> column names. Isn't there a way for tuning this in the configuration
> file
>> or something? If someone has that info, please share it with me!
>>
>>
>> Thank you in advance,
>> Olivier
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> --
> --
> TheDailyTube.com. Sign up and get the best new videos on the internet
> delivered fresh to your inbox.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to