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 check whether all properties marked as not-null in the mapping file have an acceptable value.


After I go through this basic stuff and feel closer to the sourcecode in general, perhaps I'll pursuit another package that will accept other XML vocabularies as input instead of hibernate mapping files. This opens other issues that probably are outside of hibernate's current scope.



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.

Velocity sounds good although I haven't checked it out. Do you think it would be a good idea to use that for the JSP generation task? I think I'll start working on this right away, while you work on hbm2java. Should proove a timesaver for me and many others. Do tell if wouldn't mind a second brain along while refactoring hbm2java.



-- Manos Batsis

    _  __    __                    __
   / |/ /__ / /____ __ _ ___ _____/ /_
  /    / -_) __(_-</  ' Y _ `/ __/ __/
 /_/|_/\__/\__/___/_/_/_|_,_/_/  \__/

http://www.netsmart.gr
mbatsis at netsmart dot gr
(+30) 210 33 02 608
(+30) 210 33 02 658
http://forte.netsmart.gr/foaf/manos_foaf.rdf





-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to