DeleteContentSubTemp.java :  » Content-Management-System » webman » com » teamkonzept » webman » mainint » db » queries » version » Java Open Source

Java Open Source » Content Management System » webman 
webman » com » teamkonzept » webman » mainint » db » queries » version » DeleteContentSubTemp.java
package com.teamkonzept.webman.mainint.db.queries.version;

import java.sql.Connection;
import com.teamkonzept.db.*;

public class DeleteContentSubTemp extends TKPrepQuery
{

  public final static boolean PREPARED = true;
  public final static String[] ORDER = {};
  public final static Object[][] TYPES = null;
  public final static boolean[] RELEVANTS = { false };
  public final static String SQLSTRING = "DELETE FROM CONTENT WHERE CONTENT_ID IN (SELECT DISTINCT CONTENT_ID FROM WEBMAN_TEMP_CONTENT_VERSION)";

  public void initQuery(Connection con) {
    super.initQuery(
      con,
      PREPARED,
      ORDER,
      TYPES,
      RELEVANTS,
      SQLSTRING );
  }

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.