Subject Re: [Firebird-Java] Firebird with Jaybird
Author Roman Rokytskyy
> Hello, somebody could connect to a db firebird with
> jaybird specifying a roll of the base????
> What I need to do is:
> CONNECT user.fdb USER test PASSWORD secret ROLE

> Me can pass an example????.

Properties props = new Properties();
props.setProperty("user", "test");
props.setProperty("password", "secret");
props.setProperty("sql_role_name", "ANY_ROLE");

Connection con = DriverManager.getConnection(url, props);