Skip to Content.
Sympa Menu

freetds - Re: JDBC driver bug when connecting to DB that starts with number

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Irfan Baig <irfan AT abstractedge.com>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: Re: JDBC driver bug when connecting to DB that starts with number
  • Date: Thu, 7 Jun 2001 15:00:30 -0400


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
>




Archive powered by MHonArc 2.6.24.

Top of Page