@Override
    protected void createHistPrincipalsTable(CmsSetupDb dbCon) throws SQLException {

        String indexTablespace = m_poolData.get("indexTablespace");

        System.out.println(new Exception().getStackTrace()[0].toString());
        if (!dbCon.hasTableOrColumn(TABLE_CMS_HISTORY_PRINCIPALS, null)) {
            String createStatement = readQuery(QUERY_HISTORY_PRINCIPALS_CREATE_TABLE);

            Map<String, String> replacer = new HashMap<String, String>();
            replacer.put(REPLACEMENT_TABLEINDEX_SPACE, indexTablespace);

            dbCon.updateSqlStatement(createStatement, replacer, null);
        } else {
            System.out.println("table " + TABLE_CMS_HISTORY_PRINCIPALS + " already exists");
        }
    }
@ Override protected void createHistPrincipalsTable ( CmsSetupDb dbCon ) throws SQLException { String indexTablespace = m_poolData . get ( "indexTablespace" ) ; System . out . println ( new Exception ( ) . getStackTrace ( ) [ 0 ] . toString ( ) ) ; if ( ! dbCon . hasTableOrColumn ( TABLE_CMS_HISTORY_PRINCIPALS , null ) ) { String createStatement = readQuery ( QUERY_HISTORY_PRINCIPALS_CREATE_TABLE ) ; Map < String , String > replacer = new HashMap < String , String > ( ) ; replacer . put ( REPLACEMENT_TABLEINDEX_SPACE , indexTablespace ) ; dbCon . updateSqlStatement ( createStatement , replacer , null ) ; } else { System . out . println ( "table " + TABLE_CMS_HISTORY_PRINCIPALS + " already exists" ) ; } }
@see org.opencms.setup.db.update6to7.CmsUpdateDBHistoryPrincipals#createHistPrincipalsTable(org.opencms.setup.CmsSetupDb)