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 MediaGetAttributes extends TKPrepQuery{ 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 = {true}; 22 23 24 public final static String sqlString = 25 26 " SELECT "+ 27 " NAME, MEDIA_SIZE, UP_DATE "+ 28 " FROM MEDIA " + 29 " WHERE MEDIA_ID = ? " 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 |