java.sql.SQLException: No suitable driver [schematool] at java.sql.DriverManager.getConnection(DriverManager.java:532) [schematool] at java.sql.DriverManager.getConnection(DriverManager.java:171) [schematool] at com.solarmetric.kodo.impl.jdbc.datasource.ConnectionImpl.connect(ConnectionI mpl.java:222) [schematool] at com.solarmetric.kodo.impl.jdbc.datasource.ConnectionImpl.<init>(ConnectionIm pl.java:56) [schematool] at com.solarmetric.kodo.impl.jdbc.datasource.ConnectionImpl.<init>(ConnectionIm pl.java:45) [schematool] at com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.<init>(SchemaTool.java:68) [schematool] at com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.main(SchemaTool.java:1234) [schematool] at com.solarmetric.modules.integration.ant.SchemaToolTask.executeOn(SchemaToolT ask.java:46) [schematool] at com.solarmetric.modules.integration.ant.TaskBase.execute(TaskBase.java:115) [schematool] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166) [schematool]

Oracle Community | 3004 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Ant tasks

    Oracle Community | 1 decade ago | 3004
    java.sql.SQLException: No suitable driver [schematool] at java.sql.DriverManager.getConnection(DriverManager.java:532) [schematool] at java.sql.DriverManager.getConnection(DriverManager.java:171) [schematool] at com.solarmetric.kodo.impl.jdbc.datasource.ConnectionImpl.connect(ConnectionI mpl.java:222) [schematool] at com.solarmetric.kodo.impl.jdbc.datasource.ConnectionImpl.<init>(ConnectionIm pl.java:56) [schematool] at com.solarmetric.kodo.impl.jdbc.datasource.ConnectionImpl.<init>(ConnectionIm pl.java:45) [schematool] at com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.<init>(SchemaTool.java:68) [schematool] at com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.main(SchemaTool.java:1234) [schematool] at com.solarmetric.modules.integration.ant.SchemaToolTask.executeOn(SchemaToolT ask.java:46) [schematool] at com.solarmetric.modules.integration.ant.TaskBase.execute(TaskBase.java:115) [schematool] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166) [schematool]
  2. 0

    Error parsing CREATE FUNCTION statement

    jtds | 1 decade ago | jdidion
    java.sql.SQLException: Incorrect syntax near the keyword 'function'. at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:364) at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2708) at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2150) at net.sourceforge.jtds.jdbc.TdsCore.clearResponseQueue(TdsCore.java:687) at net.sourceforge.jtds.jdbc.TdsCore.submitSQL(TdsCore.java:849) at net.sourceforge.jtds.jdbc.TdsCore.microsoftPrepare(TdsCore.java:1062) at net.sourceforge.jtds.jdbc.ConnectionJDBC2.prepareSQL(ConnectionJDBC2.java:520) at net.sourceforge.jtds.jdbc.JtdsPreparedStatement.executeUpdate(JtdsPreparedStatement.java:396) at com.loudeye.tools.ant.tasks.sql.SQLStatement.exec(SQLStatement.java:137) at com.loudeye.tools.ant.tasks.UpdateSchemaTask.execute(UpdateSchemaTask.java:116) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

    Root Cause Analysis

    1. java.sql.SQLException

      No suitable driver [schematool] at java.sql.DriverManager.getConnection(DriverManager.java:532) [schematool] at java.sql.DriverManager.getConnection(DriverManager.java:171) [schematool] at com.solarmetric.kodo.impl.jdbc.datasource.ConnectionImpl.connect(ConnectionI mpl.java:222) [schematool] at com.solarmetric.kodo.impl.jdbc.datasource.ConnectionImpl.<init>(ConnectionIm pl.java:56) [schematool] at com.solarmetric.kodo.impl.jdbc.datasource.ConnectionImpl.<init>(ConnectionIm pl.java:45) [schematool] at com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.<init>(SchemaTool.java:68) [schematool] at com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.main(SchemaTool.java:1234) [schematool] at com.solarmetric.modules.integration.ant.SchemaToolTask.executeOn(SchemaToolT ask.java:46) [schematool] at com.solarmetric.modules.integration.ant.TaskBase.execute(TaskBase.java:115) [schematool] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166) [schematool]

      at org.apache.tools.ant.Task.perform()
    2. Ant
      Task.perform
      1. org.apache.tools.ant.Task.perform(Task.java:319)
      1 frame