Re: [Firebird-devel] Detecting a parameter is DB_KEY

2017-05-31 Thread Ann Harrison
> On May 30, 2017, at 5:06 PM, Mark Rotteveel wrote: > > BTW: isc_dpb_dbkey_scope=1 should extend it to session/connection scope At some cost in garbage collection and an extra transaction start. Cheers, Ann --

Re: [Firebird-devel] Detecting a parameter is DB_KEY

2017-05-30 Thread Mark Rotteveel
On 2017-05-30 14:42, Ann Harrison wrote: On May 25, 2017, at 8:13 AM, Mark Rotteveel wrote: How can I find out if a parameter is a DB_KEY? I'm implementing JDBC ROWID support in Jaybird Does it matter that the ID is not consistent except within a transaction? No, as JDBC is totally OK

Re: [Firebird-devel] Detecting a parameter is DB_KEY

2017-05-30 Thread Ann Harrison
> On May 25, 2017, at 8:13 AM, Mark Rotteveel wrote: > >>> How can I find out if a parameter is a DB_KEY? > > I'm implementing JDBC ROWID support in Jaybird Does it matter that the ID is not consistent except within a transaction? Cheers, Ann

Re: [Firebird-devel] Detecting a parameter is DB_KEY

2017-05-25 Thread Mark Rotteveel
On 25-5-2017 12:38, Adriano dos Santos Fernandes wrote: > On 25/05/2017 05:13, Mark Rotteveel wrote: >> How can I find out if a parameter is a DB_KEY? >> >> When describing "select column1 from testrowid where rdb$db_key = ?", >> how can I derive from the parameter information that this is actually

Re: [Firebird-devel] Detecting a parameter is DB_KEY

2017-05-25 Thread Adriano dos Santos Fernandes
On 25/05/2017 05:13, Mark Rotteveel wrote: > How can I find out if a parameter is a DB_KEY? > > When describing "select column1 from testrowid where rdb$db_key = ?", > how can I derive from the parameter information that this is actually a > db_key? > > For selected fields like in "select rdb$db_