JDBC driver bug when connecting to DB that starts with number
Irfan Baig
irfan at abstractedge.com
Thu Jun 7 15:00:30 EDT 2001
Thanks, but I get the following exception, and the database certainly exists,
and the name is correct. Am I missing something?
Connection C =
DriverManager.getConnection("jdbc:freetds:sqlserver://benitez/[4film]",
"irfan", "irfan");
SQLException: Bad database name- [4film] 0 connection are in use by this
program SQLState: null VendorError: 0
On Thursday 07 June 2001 14:33, you wrote:
> > When I try to connect to a database whose name begins with a number
> > (e.g. '4film'), I get the following exception:
>
> Specify the database name as [4film] instead.
>
> --
> Curt Hagenlocher
> curt at hagenlocher.org
>
More information about the FreeTDS
mailing list