Re: [Hibernate] Extending code generation

2003-10-12 Thread Max Rydahl Andersen
Patches are always welcome. Regarding hbm2java: What are those added methods doing ? And just so you know we (I) are working on "upgrading" hbm2java to be more velocity driven so such things get's easier compared to today where a new or extended Renderer is needed. /max Emmanuil Batsis (Manos) w

Re: [Hibernate] Extending code generation

2003-10-10 Thread Emmanuil Batsis (Manos)
Hi Max, Max Rydahl Andersen wrote: Regarding hbm2java: What are those added methods doing ? For starters and to get familiar with the code: * Optional code generation implementing the Validatable interface (just by checking the non-null constraints). * A boolean isComplete() for runtime use, to

[Hibernate] Extending code generation

2003-10-09 Thread Emmanuil Batsis (Manos)
Hi, First of all, thanks for Hibernate. There are two main things I'd like to work with playing with Hibernate code and I would appreciate any suggestions/time savers. The first one: I would like to extend the net.sf.hibernate.tool.hbm2java package and add some methods in the generated class f