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

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

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

            Map<String, String> replacer = new HashMap<String, String>();
            replacer.put(REPLACEMENT_TABLEDATA_SPACE, dataTablespace);

            dbCon.updateSqlStatement(query, null, null);
        } else {
            System.out.println("table " + TABLE_CMS_CONTENTS + " already exists");
        }
    }
@ Override protected void createContentsTable ( CmsSetupDb dbCon ) throws SQLException { String dataTablespace = m_poolData . get ( "dataTablespace" ) ; System . out . println ( new Exception ( ) . getStackTrace ( ) [ 0 ] . toString ( ) ) ; if ( ! dbCon . hasTableOrColumn ( TABLE_CMS_CONTENTS , null ) ) { String query = readQuery ( QUERY_CREATE_CMS_CONTENTS_TABLE ) ; Map < String , String > replacer = new HashMap < String , String > ( ) ; replacer . put ( REPLACEMENT_TABLEDATA_SPACE , dataTablespace ) ; dbCon . updateSqlStatement ( query , null , null ) ; } else { System . out . println ( "table " + TABLE_CMS_CONTENTS + " already exists" ) ; } }
@see org.opencms.setup.db.update6to7.CmsUpdateDBContentTables#createContentsTable(org.opencms.setup.CmsSetupDb)