1 19 package com.mysql.jdbc; 20 21 import java.sql.SQLException ; 22 23 24 29 public class NotUpdatable extends SQLException { 30 36 public static final String NOT_UPDATEABLE_MESSAGE = 37 "Result Set not updatable." 38 + "This result set must come from a statement " 39 + "that was created with a result set type of ResultSet.CONCUR_UPDATABLE, " 40 + "the query must select only one table, and must " 41 + "select all primary keys from that table. See the JDBC 2.1 API Specification, " 42 + "section 5.6 for more details."; 43 44 47 public NotUpdatable() { 48 super(NOT_UPDATEABLE_MESSAGE, SQLError.SQL_STATE_GENERAL_ERROR); 49 } 50 } 51 | Popular Tags |