Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JIRA by Gregory Bruce, 1 year ago
liquibase.exception.DatabaseException: Incorrect syntax near the keyword 'null'. [Failed SQL: ALTER USER null WITH DEFAULT_SCHEMA = [dbo ]]
via JIRA by Gregory Bruce, 2 years ago
liquibase.exception.DatabaseException: Incorrect syntax near the keyword 'null'. [Failed SQL: ALTER USER null WITH DEFAULT_SCHEMA = [dbo ]]
via JIRA by Gary Plante, 1 year ago
liquibase.exception.DatabaseException: Incorrect syntax near the keyword 'null'. [Failed SQL: IF USER_NAME() <> N'dbo' BEGIN DECLARE @sql [nvarchar](MAX) SELECT @sql = N'ALTER USER ' + QUOTENAME(USER_NAME()) + N' WITH DEFAULT_SCHEMA = null' EXEC sp_executesql @sql END]
via JIRA by Gary Plante, 1 year ago
liquibase.exception.DatabaseException: Incorrect syntax near the keyword 'null'. [Failed SQL: IF USER_NAME() <> N'dbo' BEGIN DECLARE @sql [nvarchar](MAX) SELECT @sql = N'ALTER USER ' + QUOTENAME(USER_NAME()) + N' WITH DEFAULT_SCHEMA = null' EXEC sp_executesql @sql END]
via Stack Overflow by Informat
, 2 months ago
liquibase.exception.DatabaseException: liquibase.exception.DatabaseException: Connection could not be created to "jdbc:sqlserver://myserver:2431;databaseName=mydb;" with driver com.microsoft.sqlserver.jdbc.SQLServerDriver. Possibly the wrong driver for the given database URL
via JIRA by Serano Colameo, 2 years ago
liquibase.exception.DatabaseException: liquibase.exception.DatabaseException: Connection could not be created to https://svn.<..> with driver oracle.jdbc.driver.OracleDriver. Possibly the wrong driver for the given database URL
java.sql.SQLException: Incorrect syntax near the keyword 'null'.	at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:372)	at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2988)	at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2421)	at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:671)	at net.sourceforge.jtds.jdbc.JtdsStatement.processResults(JtdsStatement.java:613)	at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQL(JtdsStatement.java:572)	at net.sourceforge.jtds.jdbc.JtdsStatement.executeImpl(JtdsStatement.java:809)	at net.sourceforge.jtds.jdbc.JtdsStatement.execute(JtdsStatement.java:1282)	at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:314)	at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:55)	at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:122)	at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:112)	at liquibase.integration.commandline.CommandLineUtils.createDatabaseObject(CommandLineUtils.java:123)	at liquibase.integration.commandline.Main.doMigration(Main.java:915)	at liquibase.integration.commandline.Main.run(Main.java:180)	at liquibase.integration.commandline.Main.main(Main.java:99)