As I understand it,
"We are not enormous fans of using stored procedures for CRUD operations (of course, there are some other use cases where SPs make wonderful sense) but people working with legacy databases often need Hibernate to call a SP instead of generating its own SQL statement. In Hibernate 2.1, it is possible to achieve this with a custom persister. Hibernate3 will allow arbitrary SQL statements to be specified in the mapping document for create, update and delete. Max Andersen is currently implementing this feature."
http://blog.hibernate.org/cgi-bin/blosxom.cgi/2004/04/02#three
1) Are there instructions on writing custom persisters somewhere in the universe?
look at the forum. look at the ClassPersister and CollectionPersister interfaces
2) How is the stored proc support coming for H3?
There are SP and custom sql support in all ClassPersisters in H3 now (CollectionPersister not yet).
Look at CustomSQLTest.java and it's hbm.xml's on examples to do this.
Also check the archives for this mailinglist where i've posted info about it - including details.
Comments are very welcome.
/max
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel