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
latest hibernate, but tracing this since batch processing inception
In my case it would be very beneficial if this was supported from 3.5 onwards, to help the migration to newer versions of hibernate – so yes if it's possible apply this to 3.6 and 4.0 versions aswel.
Probably better to fix instead. Zoran, that would fix your problem too, right?
I've applied the patch given in to the fresh copy of the current git repository (4.0) and tested with unit test given in the patch here – works just fine. So whatever suites the hibernate developers / community better.
Bulk closing tickets resolved in released versions