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: Out of Date
Priority: 6
Submitted By: Max R. Andersen (maxcsaucdk)
Assigned to: Nobody/Anonymous (nobody)
Summary: Codegen for Hibernate 2  - release

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




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

>Comment By: Max R. Andersen (maxcsaucdk)
Date: 2003-01-13 15:22

Message:
Logged In: YES 
user_id=18119

Yes - please do! :)


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

Comment By: Gavin King (oneovthafew)
Date: 2003-01-13 15:04

Message:
Logged In: YES 
user_id=384580

Okay, so I should apply the patch now?

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

Comment By: Max R. Andersen (maxcsaucdk)
Date: 2003-01-12 20:03

Message:
Logged In: YES 
user_id=18119

I accidently marked this "patch" as "Out of date" and now I 
can't bring it back to "normal" :(




Well - It is highly up-to-date, so just use it :)


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

Comment By: Max R. Andersen (maxcsaucdk)
Date: 2003-01-12 19:57

Message:
Logged In: YES 
user_id=18119

I have fittled around some more and it is now time for this to 
be integrated into Hibernate2 .... don't think it can be any 
better before people start trying to use it :)






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

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: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to