Hi(bernate),
I use OracleDialect for inserting into database with native ID generation.
If I violate a not-null constraint, Hibernate (not the database) correctly
throws an Exception. I do tx.rollback() then, but my POJO still contains
automatically assigned ID (sequence). This means, it order
> this is not a bug, Hibernate does not do object-level rollback at all.
> This means after a rollback, your objects are not guaranteed to have
their
> state reverted to that before the transaction start. You should either
not
> reuse the object after rollback, or implement it yourself if you nee