Subject Re: [Firebird-Java] Re: How to specify RoleName in the JNDI resource?
Author Andrew Guts
Roman, thank you for the answer, but problem is still exists....

Roman Rokytskyy wrote:

>Hi,
>
>Just for your information: you can pass any DPB parameter by
>stripping the "isc_dpb_" from the DPB parameter name. In case of
>roles this would be:
>
>...my.gdb?sql_role_name=guest&lc_ctype=WIN1251
>
Adding role name to URL causes this:

15.11.2002 11:22:19 org.apache.commons.digester.Digester fatalError
SEVERE: Parse Fatal Error at line 62 column 94: The reference to entity
"lc_ctype" must end with the ';' delimiter.
org.xml.sax.SAXParseException: The reference to entity "lc_ctype" must
end with the ';' delimiter.

Parameter order doesn't matter. The error message always point to the
last parameter.

>
>If Tomcat passes all parameters to the driver, you can try
>
> <parameter>
> <name>sql_role_name</name>
> <value>guest</value>
> </parameter>
>
>
>
>
It doesn't work. I guess it just ignored, like "lc_ctype" provided in
such manner.

:-(

Andrew