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: David C. <wav...@gm...> - 2016-11-17 22:27:37
|
Is this the same for the other FbUserData fields: 1. GroupID 2. GroupName 3. UserID The rest (it First/Middle/LastName seem to work fine). If there are differences between versions, that would be worth knowing. We are running Firebird v2.5, and I am developing on VS2013 using the ADO.NET client v5.6.0. Thanks, David On 1/8/2011 6:41 AM, Jiri Cincura wrote: > On Sat, Jan 8, 2011 at 14:14, Rick Roen < Ric...@pu...> wrote: >> What is the RoleName used for here? > > It does nothing. It's in API, but currently it's not wired on server > to anything. > >> How do I add this user to a Role? > > You're not adding users to roles. Users are using roles. It's not the > same as groups in OSs, for instance (but a lot of people are confused > with it). > |
From: Felix M. (JIRA) <tr...@fi...> - 2016-11-17 20:39:48
|
Connection rejected by remote interface - Firebird 1.5 on Linux Server ---------------------------------------------------------------------- Key: DNET-719 URL: http://tracker.firebirdsql.org/browse/DNET-719 Project: .NET Data provider Issue Type: Bug Affects Versions: 5.6.0.0 Environment: Linux Server with Centos 6.5, Firebird 1.5.6.5026-0.i686 Reporter: Felix Martinez Assignee: Jiri Cincura ErrorCode: 335544421 Number: 335544421, Class: 0, Line: 0 ErrorMessage: connection rejected by remote interface It seems hapen when try to get version at Connection My Connection String string connectionString = @" Server=localhost; User=SYSDBA; Password=masterkey; Database=192.168.1.100:/home/dbs/data.fdb; Port=3050; Dialect=3; Charset=NONE; Connection lifetime=0; Packet Size=8192; ServerType=0;"; With same connection string and Firebird version on any Windows based server it works. I know Firebird version is old but is in production environment. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Leonard W. (JIRA) <tr...@fi...> - 2016-11-17 13:24:55
|
The auto created triggers can have names which are too long ----------------------------------------------------------- Key: DNET-718 URL: http://tracker.firebirdsql.org/browse/DNET-718 Project: .NET Data provider Issue Type: Bug Components: Entity Framework support Affects Versions: 5.6.0.0 Environment: ,Net 4.5.2 EF6.1.3 Firebird 2.5.2 .NetProvider 5.6.0.0 Reporter: Leonard Wennekers Assignee: Jiri Cincura The migration below will generate an exception on the trigger because of the identify: true inside SequenceId = c.Long(nullable: false, identify: true) The used name of the trigger ID_HistoryUnknownMessages_SequenceId is not allowed because of it's length. CreateTable( "HistoryUnknownMessages", c => new { SequenceId = c.Long(nullable: false, identify: true), EventOccurred = c.DateTime(nullable: false), Address = c.String(nullable: false, maxLength: 15), Message = c.String(nullable: false, maxLength: 1000), }) .PrimaryKey(t => t.SequenceId, name: "PK_HistoryUnknownMessages"); 2016-11-17 09:20:57,105 [TestRunnerThread] DEBUG IOLAN.Context.Management.MigrationLogger - Verbose (): CREATE TABLE "HistoryUnknownMessages" ( "SequenceId" BIGINT NOT NULL, "EventOccurred" TIMESTAMP NOT NULL, "Address" VARCHAR(15) NOT NULL, "Message" VARCHAR(1000) NOT NULL ) 2016-11-17 09:20:57,105 [TestRunnerThread] DEBUG IOLAN.Context.Management.MigrationLogger - Verbose (): ALTER TABLE "HistoryUnknownMessages" ADD CONSTRAINT "PK_HistoryUnknownMessages" PRIMARY KEY ("SequenceId") 2016-11-17 09:20:57,105 [TestRunnerThread] DEBUG IOLAN.Context.Management.MigrationLogger - Verbose (): EXECUTE BLOCK AS BEGIN if (not exists(select 1 from rdb$generators where rdb$generator_name = 'GEN_IDENTITY')) then begin execute statement 'create sequence GEN_IDENTITY'; end END 2016-11-17 09:20:57,105 [TestRunnerThread] DEBUG IOLAN.Context.Management.MigrationLogger - Verbose (): CREATE OR ALTER TRIGGER "ID_HistoryUnknownMessages_SequenceId" ACTIVE BEFORE INSERT ON "HistoryUnknownMessages" AS BEGIN if (new."SequenceId" is null) then begin new."SequenceId" = next value for GEN_IDENTITY; end END -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Fatal E. (JIRA) <tr...@fi...> - 2016-11-17 03:26:51
|
NullReferenceException in FbConnectionPoolManager.Release --------------------------------------------------------- Key: DNET-717 URL: http://tracker.firebirdsql.org/browse/DNET-717 Project: .NET Data provider Issue Type: Bug Components: ADO.NET Provider Affects Versions: 5.6.0.0 Reporter: Fatal Error Assignee: Jiri Cincura I am getting a null reference exception in: internal void Release(FbConnectionInternal connection) { this.CheckDisposed(); this._pools.GetOrAdd(connection.Options.NormalizedConnectionString, (string _) => new FbConnectionPoolManager.Pool(connection.Options)).ReleaseConnection(connection); } Running the code in a debugger shows that connection.Options is null. I think it should be connection.NormalizedConnectionString instead. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Wolfgang R. <Wol...@ri...> - 2016-11-15 07:15:09
|
Hi Jiří, thank you, it works now - the database file is created Wolfgang -- -- Wolfgang Riedmann -- Riedmann GmbH - srl. -- Individuelle EDV-Lösungen - Soluzioni informatiche personalizzate -- I-39012 Meran, Postgranz 16b -- Telefon +39 0473 201 239 -- http://www.riedmann.it - wol...@ri... -----Ursprüngliche Nachricht----- Von: Jiří Činčura [mailto:ji...@ci...] Gesendet: Montag, 14. November 2016 20:59 An: fir...@li... Betreff: Re: [Firebird-net-provider] .NET provider and embedded server Use `Client Library` parameter. -- Mgr. Jiří Činčura Independent IT Specialist On Mon, Nov 14, 2016, at 19:20, Wolfgang Riedmann wrote: > Hello, > > I've tried to use the latest .NET provider for Firebird with Firebird > 3.01. Unfortunately on connecting to a database the driver complains > that it cannot find fbembed. > > But for Firebird 3.0 the fbembed.dll was removed and integrated in the > client.dll. > > What can I do to make the .NET provider work with Firebird 3.0 databases? > Unfortunately the use of the fbembed.dll from Firebird 2.5 is not an > option as the database files are not compatible between Firebird 2.5 > and Firebird 3.0. > > Thank you very much for any help! > > Wolfgang > > > ---------------------------------------------------------------------- > -------- _______________________________________________ > Firebird-net-provider mailing list > Fir...@li... > https://lists.sourceforge.net/lists/listinfo/firebird-net-provider ------------------------------------------------------------------------------ _______________________________________________ Firebird-net-provider mailing list Fir...@li... https://lists.sourceforge.net/lists/listinfo/firebird-net-provider |
From: Jiří Č. <ji...@ci...> - 2016-11-14 19:59:14
|
Use `Client Library` parameter. -- Mgr. Jiří Činčura Independent IT Specialist On Mon, Nov 14, 2016, at 19:20, Wolfgang Riedmann wrote: > Hello, > > I've tried to use the latest .NET provider for Firebird with Firebird > 3.01. Unfortunately on connecting to a database the driver complains that > it cannot find fbembed. > > But for Firebird 3.0 the fbembed.dll was removed and integrated in the > client.dll. > > What can I do to make the .NET provider work with Firebird 3.0 databases? > Unfortunately the use of the fbembed.dll from Firebird 2.5 is not an > option as the database files are not compatible between Firebird 2.5 and > Firebird 3.0. > > Thank you very much for any help! > > Wolfgang > > > ------------------------------------------------------------------------------ > _______________________________________________ > Firebird-net-provider mailing list > Fir...@li... > https://lists.sourceforge.net/lists/listinfo/firebird-net-provider |
From: Wolfgang R. <Wol...@ri...> - 2016-11-14 18:20:25
|
Hello, I've tried to use the latest .NET provider for Firebird with Firebird 3.01. Unfortunately on connecting to a database the driver complains that it cannot find fbembed. But for Firebird 3.0 the fbembed.dll was removed and integrated in the client.dll. What can I do to make the .NET provider work with Firebird 3.0 databases? Unfortunately the use of the fbembed.dll from Firebird 2.5 is not an option as the database files are not compatible between Firebird 2.5 and Firebird 3.0. Thank you very much for any help! Wolfgang |
From: Anton K. (JIRA) <tr...@fi...> - 2016-11-11 09:13:49
|
Connection to Firebird throws NullReferenceException on mono ------------------------------------------------------------ Key: DNET-716 URL: http://tracker.firebirdsql.org/browse/DNET-716 Project: .NET Data provider Issue Type: Bug Components: ADO.NET Provider Affects Versions: 5.6.0.0 Environment: kubuntu 16.04 x64 + mono 4.6.1 + FirebirdSQL ADO.NET driver 5.6.0.0 Reporter: Anton Kasyanov Assignee: Jiri Cincura An attempt to connect to the Firebird databse results in an NullReferenceException with the following stacktrace: at System.Text.Encoding.GetBytes (System.String s) [0x00015] in <dca3b561b8ad4f9fb10141d81b39ff45>:0 at FirebirdSql.Data.Client.Managed.GdsConnection.UserIdentificationData () [0x00141] in <1c49352b896a4a9dba73865ddab7b59e>:0 at FirebirdSql.Data.Client.Managed.GdsConnection.Identify (System.String database) [0x00044] in <1c49352b896a4a9dba73865ddab7b59e>:0 at FirebirdSql.Data.FirebirdClient.ClientFactory.CreateManagedDatabase (FirebirdSql.Data.FirebirdClient.FbConnectionString options) [0x00042] in <1c49352b896a4a9dba73865ddab7b59e>:0 at FirebirdSql.Data.FirebirdClient.ClientFactory.CreateDatabase (FirebirdSql.Data.FirebirdClient.FbConnectionString options) [0x00010] in <1c49352b896a4a9dba73865ddab7b59e>:0 at FirebirdSql.Data.FirebirdClient.FbConnectionInternal.Connect () [0x0001e] in <1c49352b896a4a9dba73865ddab7b59e>:0 at FirebirdSql.Data.FirebirdClient.FbConnectionPoolManager+Pool.CreateNewConnection (FirebirdSql.Data.FirebirdClient.FbConnectionString connectionString) [0x00006] in <1c49352b896a4a9dba73865ddab7b59e>:0 at FirebirdSql.Data.FirebirdClient.FbConnectionPoolManager+Pool.CreateNewConnectionIfPossibleImpl (FirebirdSql.Data.FirebirdClient.FbConnectionString connectionString) [0x00020] in <1c49352b896a4a9dba73865ddab7b59e>:0 at FirebirdSql.Data.FirebirdClient.FbConnectionPoolManager+Pool.GetConnection (FirebirdSql.Data.FirebirdClient.FbConnection owner) [0x00024] in <1c49352b896a4a9dba73865ddab7b59e>:0 at FirebirdSql.Data.FirebirdClient.FbConnectionPoolManager.Get (FirebirdSql.Data.FirebirdClient.FbConnectionString connectionString, FirebirdSql.Data.FirebirdClient.FbConnection owner) [0x00035] in <1c49352b896a4a9dba73865ddab7b59e>:0 at FirebirdSql.Data.FirebirdClient.FbConnection.Open () [0x00086] in <1c49352b896a4a9dba73865ddab7b59e>:0 The exception is thrown at the line private byte[] UserIdentificationData() { ... var user = Encoding.UTF8.GetBytes(Environment.GetEnvironmentVariable("USERNAME")); ... } of the class FirebirdSql.Data.Client.Managed.GdsConnection Earlier this method used Environment.UserName in this line, however this was changed by the commit https://github.com/cincuranet/FirebirdSql.Data.FirebirdClient/commit/7e1e4a1e1eb362c2c96a141a51952b23c9970f79 The USERNAME environment variable is not set in linux bu default. Setting it hides the issue and can be considered as a workaround. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Workdev T. da I. L. (J. <tr...@fi...> - 2016-11-10 14:35:03
|
FbDataReader should use only Ordinal CS/CI matches for column names ------------------------------------------------------------------- Key: DNET-715 URL: http://tracker.firebirdsql.org/browse/DNET-715 Project: .NET Data provider Issue Type: Task Affects Versions: 5.6.0.0 Environment: Was simply too bad it Reporter: Workdev Tecnologia da Informação LTDA Assignee: Jiri Cincura While you treating the fields in this way no longer will update the version. We have other things to improve not disrupt what was good. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Jiří Č. <ji...@ci...> - 2016-11-10 06:52:23
|
You have basically only one option. 2PC. But that's not something ADO.NET handles. -- Mgr. Jiří Činčura Independent IT Specialist |
From: David C. <wav...@gm...> - 2016-11-09 21:51:17
|
Thanks for getting back to me. Can you or anyone please let me know what is the recommended approach in the ADO.NET provider for performing a transaction across, let's say, 2 databases (eg a single command in each)? On 5 November 2016 at 08:37, Jiří Činčura <ji...@ci...> wrote: > I don't think the TransactionScope block is a good idea here (well, it > never is). Having it between multiple databases mean spinning MSDTC and > enlisting there. I don't remember from top of my head whether that works > in FirebirdClient or not. And the ChangeDatabase is ADO.NET non-sense > for MS SQL. In Firebird you can't switch databases. You just need to > open another connection (which is what the implementation does). So I > suppose some transaction is still dangling there on 2nd run. > > -- > Mgr. Jiří Činčura > Independent IT Specialist > > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today. http://sdm.link/xeonphi > _______________________________________________ > Firebird-net-provider mailing list > Fir...@li... > https://lists.sourceforge.net/lists/listinfo/firebird-net-provider > |
From: Scot L. (JIRA) <tr...@fi...> - 2016-11-09 03:24:56
|
DbUpdateConcurrencyException is not thrown when expected -------------------------------------------------------- Key: DNET-714 URL: http://tracker.firebirdsql.org/browse/DNET-714 Project: .NET Data provider Issue Type: Bug Components: ADO.NET Provider, Entity Framework support Affects Versions: 5.5.0.0 Environment: FB3, .NET 4.6.2, Win7 64, EF6.1.3 Reporter: Scot Lunsford Assignee: Jiri Cincura The following sql is executed for an update. The SQL looks correct. But it doesn't detect that the update failed because another user edited the same row. Instead it throw the DbUpdateException because the returned CreateUser value is null. FirebirdSql.Data.FirebirdClient Information: 0 : Command: EXECUTE BLOCK ( p0 BLOB SUB_TYPE TEXT = @p0, p1 BIGINT = @p1, p2 CHAR(16) CHARACTER SET OCTETS = @p2 ) RETURNS ( "CREATEUSER" VARCHAR(31), "MODUSER" VARCHAR(31), "CREATEDATE" TIMESTAMP, "MODDATE" TIMESTAMP, "ROWVERSION" CHAR(16) CHARACTER SET OCTETS) AS BEGIN UPDATE "SCENARIO" SET "DESCRIPTION" = :p0 WHERE (("SCENARIOID" = :p1) AND ("ROWVERSION" = :p2)) RETURNING "CREATEUSER", "MODUSER", "CREATEDATE", "MODDATE", "ROWVERSION" INTO :"CREATEUSER", :"MODUSER", :"CREATEDATE", :"MODDATE", :"ROWVERSION"; SUSPEND; END Parameters: Name:@p0 Type:Text Used Value:This scenario was edit testing again Name:@p1 Type:BigInt Used Value:1032 Name:@p2 Type:Guid Used Value:0b5f7468-0580-a347-b2f0-6214478f2d8c Exception thrown: 'System.Data.Entity.Infrastructure.DbUpdateException' in EntityFramework.dll A null store-generated value was returned for a non-nullable member 'CREATEUSER' of type 'CAG.DBManager.DataLayer.Models.SCENARIO'. Exception thrown: 'System.Data.Entity.Infrastructure.DbUpdateException' in DataLayer.dll -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: FEBit B. (J. <tr...@fi...> - 2016-11-08 01:21:56
|
FirebirdSql.VisualStudio.DataTools.dll ConnectionProperties is null on Add Connection Dialog -------------------------------------------------------------------------------------------- Key: DNET-713 URL: http://tracker.firebirdsql.org/browse/DNET-713 Project: .NET Data provider Issue Type: Bug Components: DDEX Provider Reporter: FEBit Bilişim Assignee: Jiri Cincura Priority: Blocker ConnectionProperties is null while use vs2013 server explorer / Data Connections / Add Connection Dialog A first chance exception of type 'System.NullReferenceException' occurred in FirebirdSql.VisualStudio.DataTools.dll Additional information: Object reference not set to an instance of an object. public override void LoadProperties() { System.Diagnostics.Trace.WriteLine("FbDataConnectionUIControl::LoadProperties()"); try { this.txtDataSource.Text = (string)ConnectionProperties["Data Source"]; -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Jiří Č. <ji...@ci...> - 2016-11-05 15:37:19
|
I don't think the TransactionScope block is a good idea here (well, it never is). Having it between multiple databases mean spinning MSDTC and enlisting there. I don't remember from top of my head whether that works in FirebirdClient or not. And the ChangeDatabase is ADO.NET non-sense for MS SQL. In Firebird you can't switch databases. You just need to open another connection (which is what the implementation does). So I suppose some transaction is still dangling there on 2nd run. -- Mgr. Jiří Činčura Independent IT Specialist |
From: David C. <wav...@gm...> - 2016-11-04 23:22:56
|
Hi Jiri and all, We are running FB v2.5, and I am using the ADO v5.5.0 DLL to connect from my VS2013 C# project to 4 different databases. I have a little tool for user management, and to narrow the focus, one of the operations is to delete the user by: - REVOKE ALL GRANTs across all DBs - DROP the USER The approach I have taken is to use the System.Transactions.TransactionScope object, a single FirebirdSql.Data.FirebirdClient.FbConnection object (which is enlisted), and when switching DBs I call FbConnection::ChangeDatabase(). This seems to work fine the first time, but the very next time to call this method to delete a different user, the error message appears (also attached): unsuccessful metadata update ERASE RDB$USER_PRIVILEGES failed in REVOKE ALL ON ALL lock conflict on no wait transaction Acquire lock for relation (RDB$USER_PRIVILEGES) failed This occurs in both Debug and Release builds. Opening and closing the EXE between operations and the problem goes away. It seems as if the first deletion of the user and its associated REVOKEs has left some hanging hook into things that prevents further operations from being performed. I have tried changing the IsolationLevel on the connection but that doesn't seem to matter. Is the approach taken below the recommended flow? Any tips/ideas would be welcome. Best regards, David using (System.Transactions.TransactionScope scope = new System.Transactions.TransactionScope()) { System.Transactions.IsolationLevel isolationLevel = System.Transactions.Transaction.Current.IsolationLevel; System.Diagnostics.Debug.WriteLine("IsolationLevel = " + isolationLevel.ToString() + " versus " + csb.IsolationLevel.ToString()); csb.IsolationLevel = IsolationLevel.Serializable; System.Diagnostics.Debug.WriteLine("ConnectionTimeout = " + csb.ConnectionTimeout.ToString()); csb.ConnectionTimeout = 4; csb.Enlist = true; using (FirebirdSql.Data.FirebirdClient.FbConnection conn = new FirebirdSql.Data.FirebirdClient.FbConnection(csb.ConnectionString)) { conn.Open(); // REVOKE all rights for the given user. This must be done for each database. // http://www.firebirdsql.org/refdocs/langrefupd25-security-grant-revoke.html#langrefupd25-security-revoke-all-on-all string sUser = lstUsers.SelectedItem.ToString(); string sSQL = "REVOKE ALL ON ALL FROM " + sUser; FbCommand cmd; foreach (Globals.DbAliases alias in Enum.GetValues(typeof(Globals.DbAliases))) { conn.ChangeDatabase(Globals.m_dictDbAliases[alias].Alias); System.Diagnostics.Debug.WriteLine("Revoking from DB " + conn.Database.ToString()); cmd = new FbCommand(sSQL, conn); cmd.ExecuteNonQuery(); } // Delete the user. // http://www.firebirdsql.org/refdocs/langrefupd25-security-sql-user-mgmt.html#langrefupd25-security-drop-user sSQL = "DROP USER " + sUser; cmd = new FbCommand(sSQL, conn); cmd.ExecuteNonQuery(); } // using conn // http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.complete.aspx scope.Complete(); } // using scope [image: Inline images 1] |
From: Marcos G. F. S. (JIRA) <tr...@fi...> - 2016-11-04 08:50:47
|
Problem with accented letters in charset NONE --------------------------------------------- Key: DNET-712 URL: http://tracker.firebirdsql.org/browse/DNET-712 Project: .NET Data provider Issue Type: Bug Components: ADO.NET Provider Affects Versions: 5.6.0.0 Environment: Firebird 2.5.6, Visual Studio Community 2015, C# 6.0, .Net Framework 4.5.1, Windows 10 Home Reporter: Marcos Gerene Felix Spirito Assignee: Jiri Cincura In this version, the ç, ê, ã and others like these are broken and show "?". So, I downgrade to 5.5.0.0 and it's works ok again. The example: StringBuilder stringConnection = new StringBuilder(); stringConnection.AppendLine("User=SYSDBA;Password=masterkey;Database="+caminhoBanco+";DataSource="+ipServidor+";"); stringConnection.AppendLine("Port=" + portaFirebird + ";Dialect=3;Charset=NONE;Role=;Connection lifetime=15;Pooling=true;"); stringConnection.AppendLine("MinPoolSize=0;MaxPoolSize=50;Packet Size=8192;ServerType=0;"); var connection = new FbConnection(stringConnection.ToString().Trim()); connection.Open(); var command = new FbCommand("SELECT * FROM EMPRESA WHERE EMP_ID = 1", connection); var rd = new command..ExecuteReader(); string test = ""; if (rd.Read()) { test = rd["EMP_RAZAO"].ToString(); } The string "test" returns "CONSTRU??O" in 5.6.0.0 (bug) and "CONSTRUÇÃO" in 5.5.0.0 (ok). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Jiri C. (JIRA) <tr...@fi...> - 2016-11-04 06:26:54
|
Throw NotSupportedException for CROSS/OUTER apply ------------------------------------------------- Key: DNET-711 URL: http://tracker.firebirdsql.org/browse/DNET-711 Project: .NET Data provider Issue Type: Task Components: Entity Framework support Affects Versions: 5.6.0.0 Reporter: Jiri Cincura Assignee: Jiri Cincura Priority: Minor -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Jiří Č. <ji...@ci...> - 2016-11-02 10:44:19
|
More info: http://blog.cincura.net/233580-ado-net-provider-5-6-0-0-for-firebird-is-ready-with-net-core-support/ . -- Mgr. Jiří Činčura Independent IT Specialist |
From: FEBit B. (J. <tr...@fi...> - 2016-10-31 00:36:56
|
missing firebird data source visual studio 2015 ( no problem with vs 2013) -------------------------------------------------------------------------- Key: DNET-710 URL: http://tracker.firebirdsql.org/browse/DNET-710 Project: .NET Data provider Issue Type: Bug Components: DDEX Provider Affects Versions: 5.5.0.0 Environment: Windows 8.1 Reporter: FEBit Bilişim Assignee: Jiri Cincura On VS2015 Server Explorer Add Data Connection Data Sources List FireBird is missing firebird. But Working On VS2013 perfect. installed softwares: ddex provider for firebird 3.0.2.0 firebirdClient 5.5.0.0 machineconfig s are modified; <configSections> <section name="firebirdsql.data.firebirdclient" type="System.Data.Common.DbProviderConfigurationHandler, System.Data, Version=5.5.0.0, Culture=neutral, PublicKeyToken=3750abcc3150b00c"/> .. .. <add name="FirebirdClient Data Provider" invariant="FirebirdSql.Data.FirebirdClient" description=".NET Framework Data Provider for Firebird" type="FirebirdSql.Data.FirebirdClient.FirebirdClientFactory, FirebirdSql.Data.FirebirdClient, Version=5.5.0.0, Culture=neutral, PublicKeyToken=3750abcc3150b00c"/> </DbProviderFactories> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Геннадий З. <zab...@gm...> - 2016-10-26 16:14:53
|
FB.NET doesn't wait on locks, it returns immediately with exception. All other known for me are waiting on locks. That's the behavior you observe. You need to override creation of transaction. You should use FbTransaction with TBP in which you specify waiting option and timeout. On 26 October 2016 at 12:27, Gerdus van Zyl <ger...@gm...> wrote: > I suspect the default transaction option might not be the same in firebird > and other databases. > Try setting the IsolationLevel to SERIALIZABLE on the transaction. > > On Wed, Oct 26, 2016 at 10:19 AM, Jiří Činčura <ji...@ci...> wrote: >> >> There's really nothing EF related. You can try it with multiple console >> windows with multiple transactions together. It's fundamental way how >> transactions work. >> >> -- >> Mgr. Jiří Činčura >> Independent IT Specialist >> >> >> >> ------------------------------------------------------------------------------ >> The Command Line: Reinvented for Modern Developers >> Did the resurgence of CLI tooling catch you by surprise? >> Reconnect with the command line and become more productive. >> Learn the new .NET and ASP.NET CLI. Get your free copy! >> http://sdm.link/telerik >> _______________________________________________ >> Firebird-net-provider mailing list >> Fir...@li... >> https://lists.sourceforge.net/lists/listinfo/firebird-net-provider > > > > > -- > ------------------------------------------------------------------------ > Gerdus van Zyl > www.infireal.com > > ------------------------------------------------------------------------------ > The Command Line: Reinvented for Modern Developers > Did the resurgence of CLI tooling catch you by surprise? > Reconnect with the command line and become more productive. > Learn the new .NET and ASP.NET CLI. Get your free copy! > http://sdm.link/telerik > _______________________________________________ > Firebird-net-provider mailing list > Fir...@li... > https://lists.sourceforge.net/lists/listinfo/firebird-net-provider > |
From: Gerdus v. Z. <ger...@gm...> - 2016-10-26 09:28:12
|
I suspect the default transaction option might not be the same in firebird and other databases. Try setting the IsolationLevel to SERIALIZABLE on the transaction. On Wed, Oct 26, 2016 at 10:19 AM, Jiří Činčura <ji...@ci...> wrote: > There's really nothing EF related. You can try it with multiple console > windows with multiple transactions together. It's fundamental way how > transactions work. > > -- > Mgr. Jiří Činčura > Independent IT Specialist > > > ------------------------------------------------------------ > ------------------ > The Command Line: Reinvented for Modern Developers > Did the resurgence of CLI tooling catch you by surprise? > Reconnect with the command line and become more productive. > Learn the new .NET and ASP.NET CLI. Get your free copy! > http://sdm.link/telerik > _______________________________________________ > Firebird-net-provider mailing list > Fir...@li... > https://lists.sourceforge.net/lists/listinfo/firebird-net-provider > -- ------------------------------------------------------------------------ Gerdus van Zyl www.infireal.com |
From: Jiří Č. <ji...@ci...> - 2016-10-26 08:19:38
|
There's really nothing EF related. You can try it with multiple console windows with multiple transactions together. It's fundamental way how transactions work. -- Mgr. Jiří Činčura Independent IT Specialist |
From: Roman P. <rpa...@ak...> - 2016-10-26 07:32:53
|
I added one more db connection into app. This time it was PostgreSql and Postgres worked with same behavior as MySql. I don't know is Postgres real db or not, but it allows to change different fields in one record for concurrent queries. May be I just can't correctly describe the problem. Jiri, I put archive with source code into google drive https://drive.google.com/file/d/0B8UZY3a6pO3iTkRHZ1NIQVlrS3M/view?usp=sharing . Can you review my code, may be I just lost some specific configuration part or something similar. -- Roman Patutin -----Original Message----- From: Jiří Činčura [mailto:ji...@ci...] Sent: Wednesday, October 26, 2016 7:37 AM To: fir...@li... Subject: Re: [Firebird-net-provider] EntitiyFramework and Update When the two transactions update same record *at the same time*, there's nothing you can do it. One will fail. You can minimize that keeping the transactions as short as possible. Comparing TX handling with MySQL is wrong; I guess you used MyISAM tables, where TXs are virtually non-existent. Try any other real DB and you'll get the same problem. -- Mgr. Jiří Činčura Independent IT Specialist |
From: Jiří Č. <ji...@ci...> - 2016-10-26 04:37:25
|
When the two transactions update same record *at the same time*, there's nothing you can do it. One will fail. You can minimize that keeping the transactions as short as possible. Comparing TX handling with MySQL is wrong; I guess you used MyISAM tables, where TXs are virtually non-existent. Try any other real DB and you'll get the same problem. -- Mgr. Jiří Činčura Independent IT Specialist |
From: Roman P. <rpa...@ak...> - 2016-10-25 19:15:15
|
Hi All, I created simple WinForms application that work with FireBird database. Database contain only one table with one record with four fields (id, firstname, secondanme, email). For emulate a real program flow I start 3 concurrent query for table. Each query update own field (first for email, second for firstname, third for lastname). After starting program I've got exception with message "lock conflict on no wait transaction". For testing purpose I changed database from FireBird to MySql and this exceptions is gone. Configuration for DbContext is the same, I just changed connection string. How I can fix this behavior for FireBird net provider and and switch it close to MySql. FireBird version: 2.5 FirebirdSql.Data.FirebirdClient: 4.10 -- Roman Patutin |