db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dyre.Tjeldv...@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 11:08:50 GMT
>>>>> "KAH" == Knut Anders Hatlen <Knut.Hatlen@Sun.COM> writes:
    >> But I still don't see how this can be used inside a test script,
    >> though. In the test scripts I have seen, the connection has already
    >> been established by the test harness. I suppose I could open a
    >> connection to a hard-coded URL inside the script, but how do you make
    >> that work with different frameworks? Is the connection URL available
    >> as some kind of variable or property that can be accessed in the ij-script?

    KAH> See jdbcapi/users.sql for an example. It seems like you can skip
    KAH> "jdbc:derby:" from the connection url.

    KAH> connect 'wombat;shutdown=true;user=francois;password=paceesalute';
    KAH> connect 'myDB;create=true;user=dan;password=MakeItFaster';

     Great, thanks, Knut-Anders! (again)


View raw message