> Hm, there is no hibernate-user/general, so > I'll ask here and get out quickly.
Alternatively you can just ask such questions in the forum http://sourceforge.net/forum/forum.php?forum_id=128638 (but hey, we won't bite in here either, so .. ) > 1. Does Hibernate allow for fine tuning lazy > vs. non-lazy loading? That is, can I > specify when to uze lazy loading and when > not to use lazy loading? Hibernate supports both lazy and non-lazy loading, but Hibernate currently only has support for specifying this in the metadata file, e.g. the lazy/non-lazy settings works globally. There have been discussions on making Hibernate support "fetch profiles" which would allow us to specify lazy/non-lazy fetcthing on a query to query basis :) > 2. Does Hibernate allow me to override it > and specify my own SQL statements in places > where I want to use specific SQL statements? > I know I can always choose not to use > Hibernate in specific portions of my > application, but if I am okay with most DB > accesses going through Hibernate, and have > only very few exceptions, I'd rather specify > the exact SQL to use via Hibername, instead > of using my own 'direct to RDBMS access' > code in parallel. (e.g. I assume you mean something like: // syntax from the top of my head :) q = session.createQuery() q.setSQLQuery("SELECT * FROM pers_table WHERE age > 23"); q.setSQLResultingClass(Person.class); q.list(); // this would return Person.class instances and the requirement for the columns would just be to use the same columnnames as specified in the hbm.xml ) Not yet - but it have also been on my wishlist for a looong time :) (thinks it was the first bug/rfe I made...see : http://sfads.osdn.com/7.html?topic=hibernate,databases,java,45,66,92 /max ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel