Hi all,

I've just started looking into Hibernate as a possible replacement for the product we 
are currently using, SolarMetric Kodo JDO. The first thing I noticed is that Hibernate 
requires you to register all the persistent capable classes in Configuration (or 
Datastore in pre-2.0). Kodo required the same thing pre-2.4, but the list is in an XML 
configuration file. Since Kodo 2.4.0, they've gotten rid of the listing alltogether, 
and every Java class that has a mapping file is treated as persistent capable. In 
reality this has simplified our lives a lot as developers.

So my question is, is there a rationale behind Hibernate's decision to list 
persistence types programmatically? Is there any plan to externalize this to, say, an 
XML file? Or better yet, get rid of it alltogether and treat everything as persistent 
so long there is a mapping file?

Thanks,

Rong


-------------------------------------------------------
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