code: @Override
     protected void postInit(Connection connection) throws SQLException
     {
        super.postInit(connection);
        Statement stmt = null;
        ResultSet rs = null;
        try
        {
           if (containerConfig.useSequenceForOrderNumber)
           {
              String select =
                 "select * from JCR_" + DBInitializerHelper.getItemTableSuffix(containerConfig) + "_SEQ  where name='LAST_N_ORDER_NUM'";
              stmt = connection.createStatement();
              rs = stmt.executeQuery(select);
              if (!rs.next())
              {
                 String insert = "INSERT INTO JCR_" + DBInitializerHelper.getItemTableSuffix(containerConfig) + "_SEQ  (name, nextVal) VALUES ('LAST_N_ORDER_NUM'," + getStartValue(connection) + ")";
                 stmt.executeUpdate(insert);
              }
           }
        }
        finally
        {
           JDBCUtils.freeResources(rs, stmt, null);
        }
     }
docs: {@inheritDoc}