If I open a transaction, and put code that is potentially going to throw OLE in a try-catch block, will I have to restart the transaction? My answer is yes, but I can't seem to find any confirmation out there...
My code basically looks like this:
//start a hibernate transaction here
try
{
//do things that are very likely to throw OLE
}
catch (Exception exc)
{
//just log it and do nothing else
}
//do something else that needs a hibernate session here (*)
So when I'm at (*), it looks like I would need to check whether or not the transaction is still active?