I'm trying to move a java application from an old server to a new server. The application runs on Tomcat, uses Microsoft SQL Server as the backend DB, and used a system DSN defined in Data Sources (ODBC) to decide where to connect to. The old server used Windows 2000/SQL server 2000, the new server uses Windows 2003/SQL Server 2005.
The ODBC definition is identical between servers, and defines the DB to use.
On the new server when a user tries to login the following appears in the stdout.log:
user is being checked Error: java.sql.SQLException: [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name 'UserTable'.
A table called UserTable does exist in the DB, but shows as "dbo.USerTable" through the management interface.
Is there a setting somewhere in MSSQL I should be adjusting to make it happy with the "dbo." prefix being missing, or is there something else I've missed?
[edit] Windows authentication is used, and the Public and Guest roles have been given full rights to the DB as a troubleshooting step.