You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(10) |
Nov
(55) |
Dec
(36) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(38) |
Feb
(108) |
Mar
(79) |
Apr
(95) |
May
(64) |
Jun
(130) |
Jul
(146) |
Aug
(121) |
Sep
(96) |
Oct
(149) |
Nov
(161) |
Dec
(113) |
2004 |
Jan
(113) |
Feb
(163) |
Mar
(248) |
Apr
(132) |
May
(157) |
Jun
(160) |
Jul
(236) |
Aug
(284) |
Sep
(293) |
Oct
(277) |
Nov
(257) |
Dec
(356) |
2005 |
Jan
(203) |
Feb
(190) |
Mar
(220) |
Apr
(165) |
May
(124) |
Jun
(160) |
Jul
(190) |
Aug
(142) |
Sep
(152) |
Oct
(189) |
Nov
(187) |
Dec
(159) |
2006 |
Jan
(170) |
Feb
(151) |
Mar
(212) |
Apr
(262) |
May
(226) |
Jun
(196) |
Jul
(223) |
Aug
(165) |
Sep
(163) |
Oct
(348) |
Nov
(225) |
Dec
(141) |
2007 |
Jan
(261) |
Feb
(161) |
Mar
(222) |
Apr
(193) |
May
(121) |
Jun
(157) |
Jul
(151) |
Aug
(159) |
Sep
(61) |
Oct
(123) |
Nov
(172) |
Dec
(96) |
2008 |
Jan
(104) |
Feb
(138) |
Mar
(131) |
Apr
(131) |
May
(74) |
Jun
(107) |
Jul
(89) |
Aug
(89) |
Sep
(172) |
Oct
(158) |
Nov
(119) |
Dec
(86) |
2009 |
Jan
(52) |
Feb
(84) |
Mar
(78) |
Apr
(83) |
May
(54) |
Jun
(79) |
Jul
(60) |
Aug
(62) |
Sep
(50) |
Oct
(147) |
Nov
(50) |
Dec
(70) |
2010 |
Jan
(135) |
Feb
(113) |
Mar
(74) |
Apr
(93) |
May
(35) |
Jun
(71) |
Jul
(33) |
Aug
(110) |
Sep
(47) |
Oct
(18) |
Nov
(61) |
Dec
(34) |
2011 |
Jan
(46) |
Feb
(47) |
Mar
(25) |
Apr
(24) |
May
(21) |
Jun
(22) |
Jul
(20) |
Aug
(51) |
Sep
(31) |
Oct
(42) |
Nov
(22) |
Dec
(22) |
2012 |
Jan
(31) |
Feb
(19) |
Mar
(25) |
Apr
(55) |
May
(16) |
Jun
(28) |
Jul
(33) |
Aug
(25) |
Sep
(32) |
Oct
(25) |
Nov
(52) |
Dec
(35) |
2013 |
Jan
(43) |
Feb
(18) |
Mar
(36) |
Apr
(45) |
May
(22) |
Jun
(13) |
Jul
(31) |
Aug
(24) |
Sep
(19) |
Oct
(59) |
Nov
(47) |
Dec
(25) |
2014 |
Jan
(27) |
Feb
(15) |
Mar
(38) |
Apr
(10) |
May
(15) |
Jun
(36) |
Jul
(24) |
Aug
(28) |
Sep
(16) |
Oct
(6) |
Nov
(44) |
Dec
(40) |
2015 |
Jan
(52) |
Feb
(22) |
Mar
(13) |
Apr
(17) |
May
(22) |
Jun
(36) |
Jul
(18) |
Aug
(41) |
Sep
(71) |
Oct
(60) |
Nov
(49) |
Dec
(43) |
2016 |
Jan
(60) |
Feb
(13) |
Mar
(21) |
Apr
(28) |
May
(23) |
Jun
(39) |
Jul
(17) |
Aug
(37) |
Sep
(33) |
Oct
(15) |
Nov
(22) |
Dec
(20) |
2017 |
Jan
(27) |
Feb
(40) |
Mar
(48) |
Apr
(19) |
May
(29) |
Jun
(2) |
Jul
(19) |
Aug
(36) |
Sep
(18) |
Oct
(10) |
Nov
(11) |
Dec
(5) |
2018 |
Jan
(5) |
Feb
(4) |
Mar
(5) |
Apr
(3) |
May
(4) |
Jun
(17) |
Jul
(7) |
Aug
(7) |
Sep
(12) |
Oct
(8) |
Nov
(2) |
Dec
|
2019 |
Jan
(8) |
Feb
(5) |
Mar
(3) |
Apr
(5) |
May
(3) |
Jun
(2) |
Jul
(8) |
Aug
(7) |
Sep
(3) |
Oct
(12) |
Nov
(7) |
Dec
(1) |
2020 |
Jan
(8) |
Feb
(3) |
Mar
(7) |
Apr
(1) |
May
(2) |
Jun
(1) |
Jul
(3) |
Aug
(25) |
Sep
(5) |
Oct
(3) |
Nov
(7) |
Dec
(16) |
2021 |
Jan
(11) |
Feb
(10) |
Mar
(16) |
Apr
(8) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Pavol S. <pa...@st...> - 2003-04-01 13:45:39
|
George LAZAR wrote: >Hello all! > >I try to use the Firebird.Net provider. > >i have a connection, a transaction and a data adapter. >i have also a command builder. > >when i try to update the data into the database using the dataadapter, i >receive the error message: >"Command Connection is not equal to Transaction Connection" . > >any ideea? > >thank you > > > > > hi, you have to post us code, but i think, that problem is here: probably you created trancaction by new clausule... Tray to create it by FbConnction.BeginTransaction(). p. >============================================= >George LAZAR >============================================= > > > > >------------------------------------------------------- >This SF.net email is sponsored by: ValueWeb: >Dedicated Hosting for just $79/mo with 500 GB of bandwidth! >No other company gives more support or power for your dedicated server >http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ >_______________________________________________ >Firebird-net-provider mailing list >Fir...@li... >https://lists.sourceforge.net/lists/listinfo/firebird-net-provider > > |
From: George L. <ge...@ra...> - 2003-04-01 13:25:18
|
Hello all! I try to use the Firebird.Net provider. i have a connection, a transaction and a data adapter. i have also a command builder. when i try to update the data into the database using the dataadapter, i receive the error message: "Command Connection is not equal to Transaction Connection" . any ideea? thank you ============================================= George LAZAR ============================================= |
From: Carlos G. A. <car...@te...> - 2003-03-29 10:43:12
|
Hello: > Huummm you are right, at this moment if you want to make an application > that can work with, for example, Firebird and MS Sql Server ( or any > other ) as database server, you can make a data access layer having in > mind that you need to start a transaction always before executing a > command, with this you can solve the problem, this is the reason why i > think this is not a great problem ( i will try to make a test with MSDE > or an evaluation version of Sql Server 2000 for being sure about it ). I make some test with an evaluation version of MS SQL Server 2000 and seems that i'm right, for the test i use the AS3AP Benchmark suite that can be found at Firebird project CVS. -- Best regards Carlos Guzmán Álvarez Vigo-Spain "No tengo dones especiales.Sólo soy apasionadamente curioso" Albert Einstein, científico. |
From: <car...@te...> - 2003-03-28 11:03:26
|
Hello: > this is really interesting problem... Ideology of your provider and for > example MS provider or Ado itself is little, but in main things different... > and of course your provider is still not finished. Im affraid that you do it > in way how ib or now fb API works and did not check how other common > providers work... Well i see some things with the MS ODBC .NET data provider ( using IBPhoenix ODBC driver ), but i think this is a problem on how servers manage some things, transactions is an example, named parameters or ? placeholder can be other, etc..., and this things can be easy or not, good or not, to do. I'm thinking in write a data access layer and commit it to the CVS, Any thoughts ??? > anyway i like your point of view and dont like to add > there new features becouse each new feature is performance hit and makes > code dirty... It like with firebird server. :) > It have now lot of new features > but its 20% slower :( Which features ?? > i see that you want to make your provider as near to ADO.NET as possibe.. > Its great idea. But i think, that you have to make there new layer of > codebase for example ADOFbConnection and so... Becouse there is still lot of > work in base layer... You can have to have one connection for one command > (big problem), problems with cleaning resources when i forgot dispose > something... And trying to force it to be ADO compatible will not work... > > So simple as i wrote there are constructor where you assign transactions, in > this step when assigned transaction is null or not specified you create and > start new one... and when you call close or dispose you will commit or > rollback... In this case will be transaction closed by command not > connection, and is not created for each statement, so you can call prepare > many times... And oposite there is one transaction which will be closed as > command is closed (transaction is private in this case) so there will not be > problem with lot of transaction to be closed by connection... > Best way i see is create inherited class ADOFbCommand with new overloaded > constructor and new close and dispose. > > Or you can replace this: > if (Transaction == null) > > throw new InvalidOperationException("Command must have a valid > Transaction."); > > in executeNoQuery, Scalar, Reader by > > > > if (Transaction == null) > > Transaction = Connection.BeginTransaction(); > > // ofcourse you know that there is connection > > > you can put this only in ExecuteReader an can set behavior to > CloseConnection and there will be no problems with closing :) I know that there are some ways to do this, but i see this only for select commands, we need to think for example that DbDataAdapter make calls to ExecuteReader when it exec the insert, update or delete commands of FbDataAdapter, and i think that for update operations is better to make explicit transactions. > As i wrote this, why near all classes are sealed??? > There is lot of possibilities how to do that. Question whis is best :) Because the same classses of other providers are sealed :) > BUT PLEASE DO NOT MIX IT IN WORKING CODE, until all other required features > are implemented... i fell that it will bring lot of problems to try it make > MS compatible and will corrupt working code... I'm not going to do that > AND I WANT TO THANK YOU FOR THIS PROVIDER ITS GREAT, ITS PERFECT, ITS BEST > :) I use it every day and for now i did not find any problem which cannot be > done by this or any bug you did not correct fast... Thanks very much :) -- Best regards Carlos Guzmán Álvarez Vigo-Spain "No tengo dones especiales.Sólo soy apasionadamente curioso" Albert Einstein, científico. |
From: Pavol S. <st...@st...> - 2003-03-28 01:04:59
|
hi, this is really interesting problem... Ideology of your provider and for example MS provider or Ado itself is little, but in main things different... and of course your provider is still not finished. Im affraid that you do it in way how ib or now fb API works and did not check how other common providers work... anyway i like your point of view and dont like to add there new features becouse each new feature is performance hit and makes code dirty... It like with firebird server. It have now lot of new features but its 20% slower :( i see that you want to make your provider as near to ADO.NET as possibe.. Its great idea. But i think, that you have to make there new layer of codebase for example ADOFbConnection and so... Becouse there is still lot of work in base layer... You can have to have one connection for one command (big problem), problems with cleaning resources when i forgot dispose something... And trying to force it to be ADO compatible will not work... So simple as i wrote there are constructor where you assign transactions, in this step when assigned transaction is null or not specified you create and start new one... and when you call close or dispose you will commit or rollback... In this case will be transaction closed by command not connection, and is not created for each statement, so you can call prepare many times... And oposite there is one transaction which will be closed as command is closed (transaction is private in this case) so there will not be problem with lot of transaction to be closed by connection... Best way i see is create inherited class ADOFbCommand with new overloaded constructor and new close and dispose. Or you can replace this: if (Transaction == null) throw new InvalidOperationException("Command must have a valid Transaction."); in executeNoQuery, Scalar, Reader by if (Transaction == null) Transaction = Connection.BeginTransaction(); // ofcourse you know that there is connection you can put this only in ExecuteReader an can set behavior to CloseConnection and there will be no problems with closing :) As i wrote this, why near all classes are sealed??? There is lot of possibilities how to do that. Question whis is best :) BUT PLEASE DO NOT MIX IT IN WORKING CODE, until all other required features are implemented... i fell that it will bring lot of problems to try it make MS compatible and will corrupt working code... AND I WANT TO THANK YOU FOR THIS PROVIDER ITS GREAT, ITS PERFECT, ITS BEST :) I use it every day and for now i did not find any problem which cannot be done by this or any bug you did not correct fast... p. |
From: Carlos G. A. <car...@te...> - 2003-03-27 22:49:16
|
Hello: > i want to say, that adding autostart transaction support is not hard to > implement... Simple add there new constructor for FbCommand or other > components without transaction and in that start default transaction... in > close method rollback or commit... Well, my first idea was to start a new transaction in FbStatement.Prepare method if the command don't have a transaction yet and it's a select ( probably by check if CommandText start with SELECT ) and rollback it in Close method, but this can have problems, for example lots of open transactions if you left the connection to close the commands ..... > but this is against carlos philosophy... he dont want bind things together > and want as few relations as possible between connection, trancation and > command... > And i like his aproach, im doing high performance apps, so i wand direct > control about this... > This is my opinion and my be im wrong, but i was speaking with carlos about > some time ago and i observed his code a lot... Hi knows that its not hard to > do that, but i think hi dont want do that :) Huummm you are right, at this moment if you want to make an application that can work with, for example, Firebird and MS Sql Server ( or any other ) as database server, you can make a data access layer having in mind that you need to start a transaction always before executing a command, with this you can solve the problem, this is the reason why i think this is not a great problem ( i will try to make a test with MSDE or an evaluation version of Sql Server 2000 for being sure about it ). > carlos if im wrong sorry... No problem :) , i want to hear opinions about this :) -- Best regards Carlos Guzmán Álvarez Vigo-Spain |
From: Pavol S. <st...@st...> - 2003-03-27 20:41:40
|
hallo, i want to say, that adding autostart transaction support is not hard to implement... Simple add there new constructor for FbCommand or other components without transaction and in that start default transaction... in close method rollback or commit... but this is against carlos philosophy... he dont want bind things together and want as few relations as possible between connection, trancation and command... And i like his aproach, im doing high performance apps, so i wand direct control about this... This is my opinion and my be im wrong, but i was speaking with carlos about some time ago and i observed his code a lot... Hi knows that its not hard to do that, but i think hi dont want do that :) carlos if im wrong sorry... p. |
From: Carlos G. A. <car...@te...> - 2003-03-27 17:03:35
|
Hello: > While true, a number of data drivers also support implicit-start > transaction connections. Yes, i know, but i think there no easy solution for this and mantain compatibility with ADO.NET ( or i can't find one :) ), i have some thinks in mind but none of them is really good for me :) Ideas are welcome. -- Best regards Carlos Guzmán Álvarez Vigo-Spain "No tengo dones especiales.Sólo soy apasionadamente curioso" Albert Einstein, científico. |
From: Leyne, S. <Se...@Br...> - 2003-03-27 16:38:08
|
Carlos, > > Is there a reason for this different behaviour ? >=20 > Well, i don't know how transactions work with Sql Server 2000, but in=20 > Firebird you a need always a trasaction for allow command execution (=20 > stored procs, select, insert, delete, update ). While true, a number of data drivers also support implicit-start transaction connections. Sean |
From: Carlos G. A. <car...@te...> - 2003-03-27 16:32:23
|
Hello: > Is there a reason for this different behaviour ? Well, i don't know how transactions work with Sql Server 2000, but in Firebird you a need always a trasaction for allow command execution ( stored procs, select, insert, delete, update ). -- Best regards Carlos Guzmán Álvarez Vigo-Spain "No tengo dones especiales.Sólo soy apasionadamente curioso" Albert Einstein, científico. |
From: Sw D. <sw...@to...> - 2003-03-27 15:11:15
|
I'm using VB.NET to develop database applications based on Sql Server = 2000. I wish to try Firebird as an alternative DBMS, using Firebird .Net = Provider. In my first test i found that the .ExecureReader method of FBCommand = need an valid transaction object, while SqlCommand and OleDBCommand = (from MS Sql Data Provider and Ole DB Data Provider) do not: i can open = a connection, create a command, assign to a datareader the return value = of ExecuteReader, without using a transaction. Looking to the C# source code of Firebird .Net Provider, i saw that = there is as explicit IF test for the null-transaction. Is there a reason for this different behaviour ? Thank you Lorenzo Ruggeri |
From: Carlos G. A. <car...@te...> - 2003-03-27 12:05:39
|
Hello: > i know but this way the project will be more visible :) > more eyes will see the release news ... i know :) and how there no page for the provider i send emails to C#, ADO.NET, VB.NET and ASP.NET microsoft newsgroups in spanish and english with the announce of new releases. Best regards Carlos Guzmán Álvarez Vigo-Spain |
From: Konstantin R. <mr...@mr...> - 2003-03-26 22:25:50
|
> Has anyone tried to compile a Delphi unit using the Firebird provider for .net? uses FirebirdSql.Data.Firebird, Borland.Delphi.SysUtils, ... Firebird has to be first unit in order (don't ask me why, I have no idea) dccasp -m -luFirebirdSql.Data.Firebird.dll unit.pas --- Konstantin Rudenko (mr...@mr...) |
From: Marius P. A. <ma...@re...> - 2003-03-26 20:36:56
|
i know but this way the project will be more visible :)=20 more eyes will see the release news ...=20 On Wed, 26 Mar 2003 11:42:45 +0100 Carlos Guzman Alvarez <car...@te...> wrote: > Hello: >=20 > > do you have a freshmeat project where to put the news ?=20 >=20 >=20 > No, but you can see it in IBPhoenix web site or you can receive a email=20 > with the notificaction of new releases if you ave a Sourceforge ID and=20 > have monitored the package. >=20 >=20 >=20 > -- > Best regards > Carlos Guzm=E1n =C1lvarez > Vigo-Spain >=20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: > The Definitive IT and Networking Event. Be There! > NetWorld+Interop Las Vegas 2003 -- Register today! > http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en > _______________________________________________ > Firebird-net-provider mailing list > Fir...@li... > https://lists.sourceforge.net/lists/listinfo/firebird-net-provider |
From: Zarko G. <del...@ab...> - 2003-03-26 18:55:13
|
Hi all Has anyone tried to compile a Delphi unit using the Firebird provider for .net? When I want to compile such a unit with dccil -luFirebirdSql.Data.Firebird UnitName.pas the compiler comes with several AV's and nothing happens - no dcuil for the pas file is created. Any suggestions? Zarko |
From: Achim K. <ach...@wi...> - 2003-03-26 14:48:28
|
Hello, >> I've downloaded the binary release for Win32. On Installation (Windows >> 2000 Prof.) I get the following errors: [ msvcr70.dll missing ] > > I don't know what can be the problem, i'm testing the setup with Windows > 2000 + SP2 and .NET Framework v1.0.3705 and it works well. I found a dll named msvcr70.dll in C:\Programme\Gemeinsame_Dateien\Microsoft_Shared\Help\ and copied it to C:\WINNT\SYSTEM32. Now the installation completes. Achim |
From: Carlos G. A. <car...@te...> - 2003-03-26 10:34:21
|
Hello: > do you have a freshmeat project where to put the news ? No, but you can see it in IBPhoenix web site or you can receive a email with the notificaction of new releases if you ave a Sourceforge ID and have monitored the package. -- Best regards Carlos Guzmán Álvarez Vigo-Spain |
From: Carlos G. A. <car...@te...> - 2003-03-26 10:31:40
|
HEllo: > > Firebird .Net provider Release Candidate 1 available for download. > > I've downloaded the binary release for Win32. On Installation (Windows > 2000 Prof.) I get the following errors: I don't know what can be the problem, i'm testing the setup with Windows 2000 + SP2 and .NET Framework v1.0.3705 and it works well. -- Best regards Carlos Guzmán Álvarez Vigo-Spain "No tengo dones especiales.Sólo soy apasionadamente curioso" Albert Einstein, científico. |
From: Achim K. <ach...@wi...> - 2003-03-26 08:24:42
|
Hello, fir...@li... wrote: > Firebird .Net provider Release Candidate 1 available for download. I've downloaded the binary release for Win32. On Installation (Windows 2000 Prof.) I get the following errors: --------------------------- gacutil.exe - DLL nicht gefunden --------------------------- Die Dynamic Link Library MSVCR70.dll wurde nicht im angegebenen Pfad E:\user\kalwa\temp\14V35BS2\FirebirdNetProvider-1.0-RC1;.;C:\WINNT\System32;C:\WINNT\system;C:\WINNT;E:\D7NET\Aspx\Bin\;E:\D7NET\Aspx\Framework\;E:\D7NET\Bin\;D:\Delphi7\Bin;D:\Delphi7\Projects\Bpl\;C:\WINNT\System32\Wbem;d:\App32\Tools\PGP;Z:.;Y:.; gefunden. --------------------------- OK --------------------------- After clicking "OK" the message is: --------------------------- Firebird .Net Data Provider Release Candidate 1 --------------------------- Cannot register assembly FirebirdSql.Data.Firebird.dll --------------------------- OK --------------------------- The MS .NET Framework 1.1 is installed, I use the Borland Delphi for .Net-Preview to play around with. Do I need to download MSVCR70.dll from somewhere? Any hints? Achim |
From: Marius P. A. <ma...@re...> - 2003-03-25 23:07:28
|
do you have a freshmeat project where to put the news ?=20 it could be nice to have a page there :)=20 On Wed, 26 Mar 2003 00:08:25 +0100 Carlos Guzman Alvarez <car...@te...> wrote: > Hello: >=20 > Firebird .Net provider Release Candidate 1 available for download. >=20 >=20 > You can view the changelog at: >=20 > http://sourceforge.net/project/shownotes.php?release_id=3D148711 >=20 >=20 > You can download binarys at: >=20 > http://prdownloads.sourceforge.net/firebird/FirebirdNetProvider-1.0-RC1.e= xe?download >=20 > You can download sources at: >=20 > http://prdownloads.sourceforge.net/firebird/FirebirdNetProvider-1.0-RC1-S= rc.zip?download >=20 >=20 > You can download documentation at: >=20 > http://prdownloads.sourceforge.net/firebird/FirebirdNetProvider-1.0-RC1-D= oc.zip?download >=20 >=20 > CVS Tag: >=20 > NP1_0_RC1 >=20 >=20 >=20 >=20 > -- > Best regards > Carlos Guzm=E1n =C1lvarez > Vigo-Spain >=20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: > The Definitive IT and Networking Event. Be There! > NetWorld+Interop Las Vegas 2003 -- Register today! > http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en > _______________________________________________ > Firebird-net-provider mailing list > Fir...@li... > https://lists.sourceforge.net/lists/listinfo/firebird-net-provider |
From: Carlos G. A. <car...@te...> - 2003-03-25 22:59:37
|
Hello: Firebird .Net provider Release Candidate 1 available for download. You can view the changelog at: http://sourceforge.net/project/shownotes.php?release_id=148711 You can download binarys at: http://prdownloads.sourceforge.net/firebird/FirebirdNetProvider-1.0-RC1.exe?download You can download sources at: http://prdownloads.sourceforge.net/firebird/FirebirdNetProvider-1.0-RC1-Src.zip?download You can download documentation at: http://prdownloads.sourceforge.net/firebird/FirebirdNetProvider-1.0-RC1-Doc.zip?download CVS Tag: NP1_0_RC1 -- Best regards Carlos Guzmán Álvarez Vigo-Spain |
From: Carlos G.A. <car...@te...> - 2003-03-21 11:59:04
|
Hello: > i found there bug (may be)... when closing FbConnection.Close() and i > did not close and dispose FbDataReader, exception was raised... null > reference... Fixed in CVS, thanks very much. Best regards Carlos Guzman Alvarez Vigo-Spain |
From: Pavol S. <pa...@st...> - 2003-03-20 23:00:41
|
Hi, i found there bug (may be)... when closing FbConnection.Close() and i did not close and dispose FbDataReader, exception was raised... null reference... private void GetDBAnswer() { string dbCommandString = "select first 1 POLLID, TEXT, FINALVOTES from PollsAnswers where ID = @ID"; FbConnection dbConn = new FbConnection(dbConnectionString); try { dbConn.Open(); FbTransaction dbTran = dbConn.BeginTransaction(); try { FbCommand dbComm = new FbCommand(dbCommandString, dbConn, dbTran); try { dbComm.Parameters.Clear(); dbComm.Parameters.Add("@ID", id); FbDataReader dbData = dbComm.ExecuteReader(); try { if (dbData.Read()) { pollId = dbData.GetInt32(0); text = dbData.GetString(1); finalVotes = dbData.GetInt32(2); } } finally { //MARK dbData.Close(); //MARK dbData.Dispose(); } } finally { dbComm.Dispose(); } } finally { dbTran.Commit(); dbTran.Dispose(); } } finally { dbConn.Close(); } } ir two marked lines was not there exception was raised, and when i added that lines everything is ok... thanx p. |
From: Carlos G. A. <car...@te...> - 2003-03-20 19:18:34
|
Hello: >Current implementation of Firebird .Net provider forces usage of >transactions for ExecuteScalar and ExecuteReader. In my oppinion, >using transactions should be mandatory only for ExecuteNonQuery method >(INSERT, UPDATE, DELETE statements etc.) as in Microsoft's >implementation of Odbc and Sql data providers. For example, Easysoft >ODBC driver for Interbase/Firebird does not require transactions in >order to execute ExecuteReader and ExecuteScalar methods which is, I >think, desirable behaviour. >This incompatibility makes hard to develop generic (data provider >independent code) which is Interface based. For ExecuteScalar it can be of interest, but for ExecuteReader i need to make some test making update, delete and insert operations using a DataAdapter, i tell this because as i remember DbDataAdapter make calls to ExecuteReader instead of ExecuteNonQuery, but i want to verify it. Any thoughts ??? >2) Small issue in ExecuteNonQuery() method in FbCommand class. >According to documentation: >For UPDATE, INSERT, and DELETE statements, the return value is the >number of rows affected by the command. For all other types of >statements, the return value is -1. >But, it appears that when no records are affected in UPDATE opperation >(I haven't checked other SQL statements) return value is -1 instead of >0. Fixed in CVS, please if yo can test it, i will try to make a NUnit test tomorrow. -- Best regards Carlos Guzmán Álvarez Vigo-España "No tengo dones especiales.Sólo soy apasionadamente curioso" Albert Einstein, científico. |
From: Karl S. <web...@st...> - 2003-03-17 20:10:18
|
"Carlos Guzman Alvarez" <car...@te...> schrieb im Newsbeitrag news:3E7...@te...... > Hello: > > > string myInsertQuery = "INSERT INTO PROJECT(proj_id, proj_name, product) > > Values('test', '.Net Provider', 'N/A')"; > > proj_id field accepts only uppercase values try using: > > string myInsertQuery = "INSERT INTO PROJECT(proj_id, proj_name, product) > Values('TEST', '.Net Provider', 'N/A')"; > > Like always, that was it thanks :-) KS |