From: Eric W. (JIRA) <no...@at...> - 2006-06-06 18:32:30
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1815?page=comments#action_23278 ] Eric Williams commented on HHH-1815: ------------------------------------ I'm not sure I understand the use of an update query. If you're referring to the use of INSERT INTO ... SELECT FROM, that's not what I'm trying to get at. My essential problem with StatelessSession is that I can't batch-insert objects that I have in memory. Currently, I can only insert(object), not insert(array of objects). The enhancement request was to provide capability to insert(array of objects), using appropriate JDBC batching. Is this somehow accomplishable with Query.executeUpdate()? > Add support for batch operations in StatelessSession > ---------------------------------------------------- > > Key: HHH-1815 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1815 > Project: Hibernate3 > Type: Improvement > Components: core > Environment: all > Reporter: Eric Williams > Priority: Minor > > > The principal use cases for StatelessSession seems to be in batch-oriented processing. However, there is no support for batch inserts or updates of persistent entities in the StatelessSession interface. This severely handicaps its usefulness for batch data loading. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |