Class JdbcDataSource

    • Constructor Detail

      • JdbcDataSource

        public JdbcDataSource()
    • Method Detail

      • isClosed

        public boolean isClosed()
        Should return true if this object has been closed
      • getUrl

        public String getUrl()
        Returns:
        the JDBC URL to use for this DataSource.
      • setUrl

        public void setUrl​(String url)
        Parameters:
        url - The JDBC URL to use for this DataSource.
      • getCredentials

        public String getCredentials()
        Returns:
        the credentials URL to use for this DataSource. If a credentials URL is specified in both the connection URL and using this property, the value in the connection URL will be used.
      • setCredentials

        public void setCredentials​(String credentials)
        Parameters:
        credentials - The credentials URL to use for this DataSource. If a credentials URL is specified in both the connection URL and using this property, the value in the connection URL will be used.
      • getAutocommit

        public Boolean getAutocommit()
        Returns:
        the initial autocommit setting to use for this DataSource. If autocommit is specified in both the connection URL and using this property, the value in the connection URL will be used.
      • setAutocommit

        public void setAutocommit​(Boolean autocommit)
        Parameters:
        autocommit - The initial autocommit setting to use for this DataSource. If autocommit is specified in both the connection URL and using this property, the value in the connection URL will be used.
      • getReadonly

        public Boolean getReadonly()
        Returns:
        the initial readonly setting to use for this DataSource. If readonly is specified in both the connection URL and using this property, the value in the connection URL will be used.
      • setReadonly

        public void setReadonly​(Boolean readonly)
        Parameters:
        readonly - The initial readonly setting to use for this DataSource. If readonly is specified in both the connection URL and using this property, the value in the connection URL will be used.
      • getRetryAbortsInternally

        public Boolean getRetryAbortsInternally()
        Returns:
        the initial retryAbortsInternally setting to use for this DataSource. If retryAbortsInternally is specified in both the connection URL and using this property, the value in the connection URL will be used.
      • setRetryAbortsInternally

        public void setRetryAbortsInternally​(Boolean retryAbortsInternally)
        Parameters:
        retryAbortsInternally - The initial retryAbortsInternally setting to use for this DataSource. If retryAbortsInternally is specified in both the connection URL and using this property, the value in the connection URL will be used.