Class OracleDatabaseCleaner

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addIgnoredTable​(java.lang.String tableName)  
      void clearAllData​(java.sql.Connection connection)  
      void clearAllSchemas​(java.sql.Connection connection)  
      void clearData​(java.sql.Connection connection, java.lang.String schemaName)  
      void clearSchema​(java.sql.Connection connection, java.lang.String schemaName)  
      boolean isApplicable​(java.sql.Connection connection)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OracleDatabaseCleaner

        public OracleDatabaseCleaner()
    • Method Detail

      • isApplicable

        public boolean isApplicable​(java.sql.Connection connection)
        Specified by:
        isApplicable in interface DatabaseCleaner
      • clearSchema

        public void clearSchema​(java.sql.Connection connection,
                                java.lang.String schemaName)
        Specified by:
        clearSchema in interface DatabaseCleaner
      • clearAllData

        public void clearAllData​(java.sql.Connection connection)
        Specified by:
        clearAllData in interface DatabaseCleaner
      • clearData

        public void clearData​(java.sql.Connection connection,
                              java.lang.String schemaName)
        Specified by:
        clearData in interface DatabaseCleaner