Arne Anka wrote:
>
> the only thing possible i could imagine (but not test atm), is a
> conflict between
> prop.setProperty("derby.user.username", "password");
> SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY('derby.user.username','password')");
You use SYSCS_SET_DATABASE_PROPERTY to define the user in the database
for the builtin authentication scheme. Eg.
SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY('derby.user.arne','cat76dog')");
Then when you connect to derby you pass in the user name and password
values using the property keys 'user' and 'password'. This is because
user/password is the standard as defined by JDBC.
E.g.
prop.setProperty("user", "arne");
prop.setProperty("password", "cat76dog");
Dan.