c.prepareStatement("update ID_GEN set GEN_VALUE = " +
"(select count(*) +1 from SOCIALEVENTTAG) " +
"where GEN_KEY='SOCIAL_EVENT_TAG_ID'");
c.executeUpdate();
*/
c.prepareStatement("INSERT INTO ID_GEN " +
"(GEN_KEY, GEN_VALUE) " +
"VALUES ('SOCIAL_EVENT_TAG_ID', "+ ScaleFactors.tagCount + ")");
c.executeUpdate();
logger.fine("After updating Tag ID_GEN ID");