Subject | Re: [Firebird-Java] Firebird with Jaybird |
---|---|
Author | Roman Rokytskyy |
Post date | 2004-09-21T06:38:58Z |
> Hello, somebody could connect to a db firebird withProperties props = new Properties();
> jaybird specifying a roll of the base????
> What I need to do is:
> CONNECT user.fdb USER test PASSWORD secret ROLE
> ANY_ROLE
> Me can pass an example????.
props.setProperty("user", "test");
props.setProperty("password", "secret");
props.setProperty("sql_role_name", "ANY_ROLE");
Connection con = DriverManager.getConnection(url, props);