1 5 package com.teamkonzept.webman.mainint.db.queries.content; 6 7 import java.sql.*; 8 9 import com.teamkonzept.db.*; 10 11 12 public class MediaIDSetNullInContVal extends TKPrepQuery implements QueryConstants{ 13 14 public final static boolean isPrepared =true; 15 16 public final static String [] paramOrder = 17 {MEDIA_ID}; 18 19 public final static Object [][] paramTypes = null; 20 21 public final static boolean[] setRelevants = null; 22 23 24 public final static String sqlString = 25 26 " UPDATE CONTENT_VALUE " + 27 " SET MEDIA_ID = NULL " + 28 " WHERE MEDIA_ID = ? " 29 30 ; 31 32 33 34 public void initQuery(Connection con) { 35 super.initQuery( 36 con, 37 isPrepared, 38 paramOrder, 39 paramTypes, 40 setRelevants, 41 sqlString ); 42 } 43 } 44 | Popular Tags |