Class TableNameDatabaseMetaDataCallbackTest

All Implemented Interfaces:
JaloSessionHolder

@RunListeners(LogRunListener.class) @IntegrationTest public class TableNameDatabaseMetaDataCallbackTest extends ServicelayerBaseTest
Demonstrates how the DropTablesTool filters out its tenant specific tables.
  • Constructor Details

    • TableNameDatabaseMetaDataCallbackTest

      public TableNameDatabaseMetaDataCallbackTest()
  • Method Details

    • prepare

      public void prepare()
    • testDropOnlyTablesWithMyPrefix

      public void testDropOnlyTablesWithMyPrefix() throws org.springframework.jdbc.support.MetaDataAccessException
      Throws:
      org.springframework.jdbc.support.MetaDataAccessException
    • testOmmitAdminTables

      public void testOmmitAdminTables() throws org.springframework.jdbc.support.MetaDataAccessException
      Throws:
      org.springframework.jdbc.support.MetaDataAccessException
    • testOmmitAdminTablesForCustomTablePrefix

      public void testOmmitAdminTablesForCustomTablePrefix() throws org.springframework.jdbc.support.MetaDataAccessException
      Throws:
      org.springframework.jdbc.support.MetaDataAccessException
    • testDropAllMyNonPrefixedTablesLeaveOthersWithPrefixes

      public void testDropAllMyNonPrefixedTablesLeaveOthersWithPrefixes() throws org.springframework.jdbc.support.MetaDataAccessException
      Throws:
      org.springframework.jdbc.support.MetaDataAccessException
    • cleanupDB

      public void cleanupDB()
    • init

      public void init() throws JaloSystemException
      Description copied from class: HybrisJUnit4Test
      Delegates to de.hybris.platform.testframework.HybrisTestLogic#init()
      Overrides:
      init in class HybrisJUnit4Test
      Throws:
      JaloSystemException - there was a security problem while creating the session
    • finish

      public void finish() throws JaloSecurityException
      Description copied from class: HybrisJUnit4Test
      Delegates to de.hybris.platform.testframework.HybrisTestLogic#finish()
      Overrides:
      finish in class HybrisJUnit4Test
      Throws:
      JaloSecurityException