[Firebird-devel] [FB-Tracker] Created: (CORE-4505) Use of named cursor fails if statement was not executed

2014-07-31 Thread Alexander Peshkov (JIRA)
Use of named cursor fails if statement was not executed --- Key: CORE-4505 URL: http://tracker.firebirdsql.org/browse/CORE-4505 Project: Firebird Core Issue Type: Bug Components:

Re: [Firebird-devel] New Interface

2014-07-31 Thread marius adrian popa
There are a few directions for interfaces What is needed is cleaner c++ interface that can be used from other languages : Delphi or with a easy wrapper around and it should be workable state in the examples area We need better documentation for the current fb3 api , I need it for flamerobin and

Re: [Firebird-devel] New Interface

2014-07-31 Thread Mark Rotteveel
On 31-7-2014 17:59, marius adrian popa wrote: ps: as for protocol we can have something better too but that is another discussion (I envision a SOA or rest api with json response https://wiki.postgresql.org/wiki/HTTP_API) That sounds nice as an extra, but IMHO that has more overheard than a

Re: [Firebird-devel] New Interface

2014-07-31 Thread Tom Coleman
I likeTony's thought about a 'C' binding being 'basic'. I just looked through the freetds sources (0.82) and there's not a .C++ file to be found. Oracle only provides a handful of C++ OCI examples in their distribution. The majority of the test files are plain 'C'. On Jul 31, 2014, at

Re: [Firebird-devel] New Interface

2014-07-31 Thread Mark Rotteveel
On 31-7-2014 21:45, Mark Rotteveel wrote: On 31-7-2014 17:59, marius adrian popa wrote: ps: as for protocol we can have something better too but that is another discussion (I envision a SOA or rest api with json response https://wiki.postgresql.org/wiki/HTTP_API) That sounds nice as an

Re: [Firebird-devel] New Interface

2014-07-31 Thread Tom Coleman
When I first saw JSON, my first thought was that could be a game changer. It would incur more overhead, but nobody would be forced to use it. And think of the appeal to all those script language programmers! On reflection though, direct database calls are probably going the way of the dodo

Re: [Firebird-devel] New Interface

2014-07-31 Thread Jim Starkey
On 7/31/2014 4:31 PM, Tom Coleman wrote: When I first saw JSON, my first thought was that could be a game changer. It would incur more overhead, but nobody would be forced to use it. And think of the appeal to all those script language programmers! On reflection though, direct database

Re: [Firebird-devel] New Interface

2014-07-31 Thread Tom Coleman
As usual you are way ahead of me. I was just thinking about returning result rows - a la JDBC - wrapped in JSON. And apparently I was not thinking all that clearly. Your observation about character-only data might be enough to put this idea (not originally mine) to rest. On Jul 31, 2014,

Re: [Firebird-devel] New Interface

2014-07-31 Thread Tony Whyman
I'll add a further thought. If you find a way to call a C++ method from Pascal, you need to know three things: 1. The address of the function. 2. The function arguments and 3. The value of the instance variable ('this') If you think of the instance variable as a handle and just another