Re: [Firebird-net-provider] Decorators for FbConnectionString properties

2015-02-05 Thread Hernan Martinez
Thanks a lot! > El 5/2/2015, a las 9:06, Jiří Činčura escribió: > > Thanks. Merged. > > -- > Mgr. Jiří Činčura > Independent IT Specialist > > -- > Dive into the World of Parallel Programming. The Go Parallel Website,

Re: [Firebird-net-provider] Decorators for FbConnectionString properties

2015-02-04 Thread Hernan Martinez
Fine, thanks. I think the Unix LFs came from my git client in Windows. I haven’t used it in this OS before and it’s probably misconfigured. > El 4/2/2015, a las 17:34, Jiří Činčura escribió: > >> In FbConnectionStringBuilder.cs there’s a mix of tabs and spaces. Are there >> any policy on that

Re: [Firebird-net-provider] Decorators for FbConnectionString properties

2015-02-04 Thread Hernan Martinez
Činčura > Independent IT Specialist > > From: Hernan Martinez [mailto:hernan.marti...@obi-corp.com] > Sent: Tuesday, January 27, 2015 5:06 PM > To: Firebird-net-provider@lists.sourceforge.net > Subject: [Firebird-net-provider] Decorators for FbConnectionString properties > >

[Firebird-net-provider] Decorators for FbConnectionString properties

2015-01-27 Thread Hernan Martinez
Hi dev(s)! One nice addition would be to decorate FbConnectionString public properties with Attribute decorators like Category, Description, Editor, DefaultValue, etc. It’s a fairly easy mod (if only with English texts) and I can do it by myself. Would you accept patches? Do you expect any probl

Re: [Firebird-net-provider] Connection pool bug

2013-11-12 Thread Hernan Martinez
I agree. Hernán MF > El 12/11/2013, a las 22:28, Zvjezdan Tomičević escribió: > > go ahead. do it properly. > >> On Nov 12, 2013 4:08 PM, "Jiri Cincura" wrote: >> Hi *, >> >> I found a bug in connection pool. I *don't* know the root cause. But >> anyway I think the code there isn't "good"

Re: [Firebird-net-provider] Error finding .Net provider but only in unit tests

2013-08-02 Thread Hernan Martinez
have under version control. El 02/08/2013, a las 22:58, "Bradburn, Greg (LNG-RDU)" escribió: > Same error. > > What does your Reference include statement look like? > Also, what is in your machine.config file? > > -Original Message- > From: Hernan Mart

Re: [Firebird-net-provider] Error finding .Net provider but only in unit tests

2013-08-02 Thread Hernan Martinez
> My unit test Setup method also has code to manually copy the firebird files >> to the executing folder (this is ancient code that I inherited). >> >> I have verified that the >> C:\Users\Bradbuga\AppData\Local\Temp\TestResults\bradbuga_LNGRDUB-4157824 >> 2013-07-3

Re: [Firebird-net-provider] Error finding .Net provider but only in unit tests

2013-08-02 Thread Hernan Martinez
Well, yours seems fine besides the DLL full name. My Test.config is as follows (the rest is just a couple of appSettings keys) : I have also in my LocalTestRun.testrunconfig the following section to make sure all the DLLs are in the test execution directory:

Re: [Firebird-net-provider] Cancel in FB embedded slow?

2013-07-03 Thread HERNAN MARTINEZ FOFFANI
> On Wed, Jul 3, 2013 at 12:36 PM, HERNAN MARTINEZ FOFFANI > wrote: >> I have a wrapper class that abstracts some layers and on some database >> engines (I don't remember which one, it might be SQLServer) if you call >> Close() on a command whose reader weren

Re: [Firebird-net-provider] Cancel in FB embedded slow?

2013-07-03 Thread HERNAN MARTINEZ FOFFANI
>> What I didn't expect was that all command.Cancel()'s to take (as reported by >> the profiler) more than 50% of the time. Such command is an ExecuteQuery >> and the DataReader had already read all the records. > > And why are you calling the Cancel? > I have a wrapper class that abstracts some

Re: [Firebird-net-provider] Cancel in FB embedded slow?

2013-07-03 Thread HERNAN MARTINEZ FOFFANI
>> Profiling my application I found that one bottleneck seems to be when >> canceling a cursor. It also happens even if it was already consumed (i.e., > > What bottleneck? > I was profiling my application to look up where to apply our optimization efforts. The process I was measuring is a big

[Firebird-net-provider] Cancel in FB embedded slow?

2013-07-02 Thread HERNAN MARTINEZ FOFFANI
Hi, Profiling my application I found that one bottleneck seems to be when canceling a cursor. It also happens even if it was already consumed (i.e., finished to read all the rows). Is this an expected behavior? I'm asking because it may very well be a bug in our data layers. I might also avoid

Re: [Firebird-net-provider] Exception on exit application

2013-05-02 Thread Hernan Martinez
>>> I have a wpf application, and when exiting I always get a debug output: >>> A first chance exception of type 'System.NullReferenceException' occurred >>> in FirebirdSql.Data.FirebirdClient.dll >>> Firebird 2.5, Firebird Client 3.0.2.0, Runtime v4.0.30319 >>> I havn?t been able to track down a

Re: [Firebird-net-provider] Exception on exit application

2013-04-25 Thread HERNAN MARTINEZ FOFFANI
> > I have a wpf application, and when exiting I always get a debug output: > > A first chance exception of type 'System.NullReferenceException' occurred in > FirebirdSql.Data.FirebirdClient.dll > > Firebird 2.5, Firebird Client 3.0.2.0, Runtime v4.0.30319 > > I havn’t been able to track d

Re: [Firebird-net-provider] ClearAllPools and opened connections

2013-04-25 Thread HERNAN MARTINEZ FOFFANI
>> You could also see it from a different point: some part of your code is >> misbehaving (ie not releasing connections back to the pool in a timely > > Interesting. I would say why your code isn't going to be fixed in > first place? And should the library offer tools for this in first > place? >

Re: [Firebird-net-provider] config best practice

2012-12-19 Thread HERNAN MARTINEZ FOFFANI
El 19/12/2012, a las 08:18, Jiri Cincura escribió: > You can use . That's exactly what I was looking for: a remove (it doesn't fail if not present) before an add. Should have realized it myself. Thanks a lot. -- LogM

[Firebird-net-provider] config best practice

2012-12-18 Thread HERNAN MARTINEZ FOFFANI
Hi, What is the best practice for the app.config file? Right now, I'm including a section in the app.config bundled in our installer. But what if some of our users have already installed Firebird.NET in their machine and have in their machine.config a FB entry? Won't my application fail when l

Re: [Firebird-net-provider] making my own .Net 4.0 drivers

2010-10-10 Thread Hernan Martinez
El 10/10/2010, a las 16:13, Jiri Cincura escribió: > On Sun, Oct 10, 2010 at 13:49, Hernan Martinez wrote: >> I've got the same error messages as the OP and couldn't compile (here we're >> using Visual Studio 2010) for .NET 4. > > How are you building it?

Re: [Firebird-net-provider] making my own .Net 4.0 drivers

2010-10-10 Thread Hernan Martinez
El 10/10/2010, a las 13:20, Jiri Cincura escribió: > On Sun, Oct 10, 2010 at 05:33, Sam Carleton wrote: >> I see that there is no .Net 4.0 version of the 2.5.2 Firebird .Net Provider > > As the .NET 4 runtime "contains" also .NET 2/3.5 runtime you're free > for download current versions availabl