org.springframework.dao.DataAccessResourceFailureException

Error retrieving database metadata; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Connection returned by DataSource [dataSource] was null

Solutions on the web207

  • via Stack Overflow by imoteb
    , 10 months ago
    Error retrieving database metadata; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Connection returned by DataSource [dataSource] was null
  • via Stack Overflow by CodeMed
    , 1 year ago
    Failed to execute database script; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: com.mysql.jdbc.Driver
  • via symmetricds by thermo4
    , 1 year ago
    PreparedStatementCallback; SQL [select * from sym_trigger where trigger_id = ?]; Ran out of memory retrieving query results.; nested exception is org.postgresql.util.PSQLException: Ran out of memory retrieving query results.
  • Stack trace

    • org.springframework.dao.DataAccessResourceFailureException: Error retrieving database metadata; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Connection returned by DataSource [dataSource] was null at org.springframework.jdbc.core.metadata.CallMetaDataProviderFactory.createMetaDataProvider(CallMetaDataProviderFactory.java:141) at org.springframework.jdbc.core.metadata.CallMetaDataContext.initializeMetaData(CallMetaDataContext.java:286)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago