[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4596?page=c...
]
Steve Ebersole commented on HHH-4596:
-------------------------------------
The real condition here imo is whether the id is assigned and the query has explicitly
specified the ID. That still leaves potential for duplicate key errors, but oh well
that's user error I guess.
Bulk insertion with assigned identifiers
----------------------------------------
Key: HHH-4596
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4596
Project: Hibernate Core
Issue Type: Patch
Components: core
Affects Versions: 3.5.0-Beta-2
Environment: latest hibernate, but tracing this since batch processing inception
Reporter: Zoran Regvart
Attachments: assigned-bulk-insert.patch
supportsIdGenWithBulkInsertion method of HqlSqlWalker explicitly checks if the id
generator is either SequenceGenerator or PostInsertIdentifierGenerator, I think this could
be extended to include Assigned id generator, attached is the patch for that
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira