1 33 package com.internetcds.jdbc.tds; 34 35 import java.sql.*; 36 import java.util.Properties ; 37 import java.util.Vector ; 38 39 40 public class Connection_2_0 41 extends com.internetcds.jdbc.tds.Connection_base 42 implements java.sql.Connection 43 { 44 public static final String cvsVersion = "$Id: Connection_2_0.java,v 1.1 2006/06/23 10:39:04 sinisa Exp $"; 45 46 47 48 49 public Connection_2_0( 50 java.util.Properties props_) 51 throws java.sql.SQLException , com.internetcds.jdbc.tds.TdsException 52 { 53 super(props_); 54 } 55 56 57 67 public java.util.Map getTypeMap() throws SQLException 68 { 69 NotImplemented(); 70 return null; 71 } 72 73 74 85 public void setTypeMap(java.util.Map map) throws SQLException 86 { 87 NotImplemented(); 88 } 89 90 91 107 public void setHoldability(int holdability) throws SQLException { 108 throw new UnsupportedOperationException ("Connection.setHoldability(int) unsupported"); 109 } 110 111 122 public int getHoldability() throws SQLException { 123 throw new UnsupportedOperationException ("Connection.getHoldability() unsupported"); 124 } 125 126 public Savepoint setSavepoint() throws SQLException { 128 throw new UnsupportedOperationException ("Connection.setSavepoint() unsupported"); 129 } 130 131 public Savepoint setSavepoint(String name) throws SQLException { 132 throw new UnsupportedOperationException ("Connection.setSavepoint(String) unsupported"); 133 } 134 135 public void rollback(Savepoint savepoint) throws SQLException { 136 throw new UnsupportedOperationException ("Connection.rollback(Savepoint) unsupported"); 137 } 138 139 public void releaseSavepoint(Savepoint savepoint) throws SQLException { 140 throw new UnsupportedOperationException ("Connection.releaseSavepoint(Savepoint) unsupported"); 141 } 142 143 144 public java.sql.Statement createStatement(int resultSetType, 145 int resultSetConcurrency, 146 int resultSetHoldability) throws SQLException { 147 throw new UnsupportedOperationException ("Connection.createStatement(int,int,int) unsupported"); 148 } 149 150 public PreparedStatement prepareStatement(String sql, 151 int resultSetType, 152 int resultSetConcurrency, 153 int resultSetHoldability) throws SQLException { 154 throw new UnsupportedOperationException ("Connection.prepareStatement(String,int,int,int) unsupported"); 155 } 156 157 public CallableStatement prepareCall(String sql, 158 int resultSetType, 159 int resultSetConcurrency, 160 int resultSetHoldability) throws SQLException { 161 throw new UnsupportedOperationException ("Connection.prepareCall(String,int,int,int) unsupported"); 162 } 163 164 public PreparedStatement prepareStatement(String sql, int autoGeneratedKeys) throws SQLException { 165 throw new UnsupportedOperationException ("Connection.prepareStatement(String,int) unsupported"); 166 } 167 168 public PreparedStatement prepareStatement(String sql, int[] columnIndexes) throws SQLException { 169 throw new UnsupportedOperationException ("Connection.prepareStatement(String,int[]) unsupported"); 170 } 171 172 public PreparedStatement prepareStatement(String sql, String [] columnNames) throws SQLException { 173 throw new UnsupportedOperationException ("Connection.prepareStatement(String,String[]) unsupported"); 174 } 175 176 } 177 | Popular Tags |