db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Knut Anders Hatlen <Knut.Hat...@Sun.COM>
Subject Re: [jira] Commented: (DERBY-85) NPE when creating a trigger on a table and default schema doesn't exist.
Date Fri, 10 Feb 2006 10:12:56 GMT
"Dyre Tjeldvoll (JIRA)" <derby-dev@db.apache.org> writes:

>     [ http://issues.apache.org/jira/browse/DERBY-85?page=comments#action_12365868 ] 
>
> Dyre Tjeldvoll commented on DERBY-85:
> -------------------------------------
>
> Hi Sateesh, thank you so much for taking the time to look at the
> patch! Is it really possible to get a different connection inside an
> ij-script? Wow, I did not know that, how do you do that? Do you have
> an example? 

So you have never typed help in ij? ;)

ij> connect 'jdbc:derby:/tmp/mydb';
ij> show connections;
CONNECTION0* - 	jdbc:derby:/tmp/mydb
* = current connection
ij> connect 'jdbc:derby:/tmp/mydb';
ij(CONNECTION1)> show connections;
CONNECTION0 - 	jdbc:derby:/tmp/mydb
CONNECTION1* - 	jdbc:derby:/tmp/mydb
* = current connection
ij(CONNECTION1)> set connection connection0;
ij(CONNECTION0)> set connection connection1;
ij(CONNECTION1)> 

-- 
Knut Anders


Mime
View raw message