java.lang.ClassCastException: com.microsoft.sqlserver.jdbc.SQLServerConnection cannot be cast to

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 oracle.com by Unknown author, 9 months ago
com.microsoft.sqlserver.jdbc.SQLServerConnection cannot be cast to
via hivmr.com by Unknown author, 1 year ago
org.jboss.resource.adapter.jdbc.jdk6.WrappedConnectionJDK6 cannot be cast to oracle.jdbc.OracleConnection
via oracle.com by Unknown author, 2 years ago
weblogic.jdbc.wrapper.PoolConnection_com_mysql_jdbc_JDBC4Connection cannot be cast to oracle.jdbc.OracleConnection
via hivmr.com by Unknown author, 1 year ago
com.sun.gjc.spi.jdbc40.ConnectionHolder40 cannot be cast to oracle.jdbc.OracleConnection
java.lang.ClassCastException: com.microsoft.sqlserver.jdbc.SQLServerConnection cannot be cast to
at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:5128)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.