posted 14 years ago
Hey guys,
I was going through the spring docs and came to know about this rollbackFor thing which's used to define the class for which the transaction must be rolled back in case exception occurs of that type. So tried the following-
But it does not work. It basically inserts the record and throws the runtime exception and does not rollback.
Am I right in assuming that that's the way it is supposed to work?