1 package org.apache.ojb.broker.metadata; 2 3 17 18 import java.sql.ResultSet ; 19 import java.sql.CallableStatement ; 20 import java.sql.SQLException ; 21 import java.io.Serializable ; 22 23 import org.apache.ojb.broker.util.sequence.SequenceManagerException; 24 25 32 public interface JdbcType extends Serializable 33 { 34 37 public static final int MIN_INT = Integer.MIN_VALUE; 38 39 49 public Object getObjectFromColumn(ResultSet rs, CallableStatement stmt, String columnName, int columnId) 50 throws SQLException ; 51 52 55 public Object getObjectFromColumn(CallableStatement stmt, int columnId) throws SQLException ; 56 57 60 public Object getObjectFromColumn(ResultSet rs, String columnName) throws SQLException ; 61 62 66 public Object sequenceKeyConversion(Long identifier) throws SequenceManagerException; 67 68 71 public int getType(); 72 73 76 public boolean equals(Object obj); 77 78 81 public FieldType getFieldType(); 82 83 } 93 | Popular Tags |