Patches item #662319, was opened at 2003-01-04 21:15
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=428710&aid=662319&group_id=40712

Category: Codegen
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Max R. Andersen (maxcsaucdk)
Assigned to: Nobody/Anonymous (nobody)
Summary: Codegen for Hibernate 2  - beta

Initial Comment:
Hi!




Here is my 98% complete patch for Hibernate 2.0's new 
and improved codegenerator :) I'm submitting this one 
know in hope that someone might test it and see if they 
like the new functionallity. Remember to use the 
hibernate-2.0.dtd and Hibernate2 CVS






Things that are new:


- <meta> tag support.




Look at http://hibernate.bluemars.net/57.html for 
examples of meta tag usage.




Currently class, subclass, id and property is allowed to 
have <meta> tags. As soon as I get to it i'll add support 
for it in the DTD for composite-id, version, timestamp, all 
the collection types (any others ?)




Thing that I have changed/fixed:




- fixed timestamp support.


  It assumed timestamp could support an type via the 
DTD. It could not. Now it uses java.util.Data as it's 
default - is this the correct thing to do ? (maybe we 
should add an type to timestamp in DTD ?)




- Uses logging instead of directly to System.out/err  (I've 
modified log4j.properties to have a console-friendly 
output of the tool logging)




### log for tools output, more console userfriendly. 
(purely optional)


log4j.appender.toolout=org.apache.log4j.ConsoleAppender


log4j.appender.toolout.Target=System.out


log4j.appender.toolout.layout=org.apache.log4j.PatternLa
yout


log4j.appender.toolout.layout.ConversionPattern=%p - 
%m%n




log4j.logger.net.sf.hibernate.tool=debug, toolout


log4j.additivity.net.sf.hibernate.tool=false




----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=428710&aid=662319&group_id=40712


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to