1 package org.apache.torque.adapter; 2 3 21 22 import java.sql.Connection ; 23 import java.sql.SQLException ; 24 25 36 public class DBInstantDB extends AbstractDBAdapter 37 { 38 41 private static final long serialVersionUID = -3988631220284628238L; 42 43 46 protected DBInstantDB() 47 { 48 } 49 50 56 public String toUpperCase(String in) 57 { 58 return in; 59 } 60 61 67 public String ignoreCase(String in) 68 { 69 return in; 70 } 71 72 75 public String getIDMethodType() 76 { 77 return NO_ID_METHOD; 78 } 79 80 83 public String getIDMethodSQL(Object obj) 84 { 85 return null; 86 } 87 88 95 public void lockTable(Connection con, String table) throws SQLException 96 { 97 } 98 99 106 public void unlockTable(Connection con, String table) throws SQLException 107 { 108 } 109 } 110 | Popular Tags |