Hi Olivier,

In that tutorial the only place with underscore is _session, the entities
for hibernate do not have underscore, I prefer this way, it looks normal
when u do some sql/hql queries, but for Tapestry variables ,seems to me, a
unspoken rule here is to prefix underscore.

A.C.


Olivier-36 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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/T5%3A-Tapestry%2C-Hibernate-and-Underscores.-tf4614534.html#a13188869
Sent from the Tapestry - User mailing list archive at Nabble.com.


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

Reply via email to