1 package org.apache.torque.adapter; 2 3 21 22 import java.sql.Connection ; 23 import java.sql.SQLException ; 24 25 32 public class DBOdbc extends AbstractDBAdapter 33 { 34 37 private static final long serialVersionUID = -4852934297887694803L; 38 39 42 protected DBOdbc() 43 { 44 } 45 46 52 public String toUpperCase(String in) 53 { 54 return in; 55 } 56 57 63 public String ignoreCase(String in) 64 { 65 return in; 66 } 67 68 71 public String getIDMethodType() 72 { 73 return NO_ID_METHOD; 74 } 75 76 79 public String getIDMethodSQL(Object obj) 80 { 81 return null; 82 } 83 84 93 public void lockTable(Connection con, String table) throws SQLException 94 { 95 throw new SQLException ("Not implemented."); 96 } 97 98 107 public void unlockTable(Connection con, String table) throws SQLException 108 { 109 throw new SQLException ("Not implemented."); 110 } 111 } 112 | Popular Tags |