Home » Developing U++ » UppHub » Firebird
Re: Firebird [message #33010 is a reply to message #33008] |
Thu, 30 June 2011 08:44   |
|
TRANSACTION macro looks good. I like it. The only problem is how to add custom code to handle rollback situation? And does your macro breaks immediately after first error or run queries to the last and then do rollback? Normally I use try/catch scenario.
Sql q;
try {
q.Begin()
...
q.Commit()
}
catch(SqlExc e)
{
q.Rollback();
...
}
|
|
|
 |
|
Firebird
By: Novo on Thu, 30 June 2011 06:16
|
 |
|
Re: Firebird
By: mirek on Thu, 30 June 2011 08:20
|
 |
|
Re: Firebird
By: unodgs on Thu, 30 June 2011 08:44
|
 |
|
Re: Firebird
By: Novo on Mon, 04 July 2011 06:50
|
 |
|
Re: Firebird
By: Novo on Sat, 09 July 2011 06:49
|
 |
|
Re: Firebird
By: Novo on Sat, 23 July 2011 06:22
|
 |
|
Re: Firebird
By: Novo on Mon, 04 July 2011 06:44
|
 |
|
Re: Firebird
By: Novo on Tue, 05 July 2011 06:15
|
 |
|
Re: Firebird
By: Novo on Wed, 06 July 2011 06:07
|
 |
|
Re: Firebird
By: Novo on Thu, 07 July 2011 06:40
|
 |
|
Re: Firebird
By: Novo on Sun, 31 July 2011 19:02
|
 |
|
Re: Firebird
By: Novo on Tue, 30 August 2011 05:40
|
Goto Forum:
Current Time: Sun Aug 24 08:15:01 CEST 2025
Total time taken to generate the page: 0.04633 seconds
|