Hi,
JSR-175 is the new metadata in the core java language right ? Then is that not something xdoclet will take care of eventually or do you have something else in mind ?
Here is the idea. I don't know how and when xdoclet will embrace JSR 175
but I can imagin they will stay stucked with (pre)compile-time generation.
What is for sure is that annotation are metadata descriptions and thus
very specific to Hibernate (type checking, default value etc). At least
annocations definition have to be part of Hibernate and will certainly be
the entry point of third party mapping builder tools (not only XDoclet).
Second, annocations will be accessed at runtime (no compile time as
xdoclet do) and this is good because we can have finer checking algorithm
and won't have resource file in classpath headache.
Actually I don't think using JSR-175 metadata in XDoclet will be so easy, because to use the Metadata-API you need the compiled class files and compiling the class files is often not possible without running XDoclet before (not for Hibernate but easily for EJBs for example). So i really think providing metadata support is the tools job, eg. metadata would be a replacement for mapping files - which I thing would be rather cool.
hey - hadn't thought about it that way...silly me. Now i'm all for it - and we can even make hbm2java put in the fun stuff also ;)
/max
------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel