JDBC Developer's Guide - Supra - Cincom
JDBC Developer's Guide - Supra - Cincom JDBC Developer's Guide - Supra - Cincom
PreparedStatementCincom ORDB JDBC Driver does not support streams for column data. Thefollowing methods are not supported:♦♦♦♦void setAsciiStream(int paramaterIndex, java.io.InputStream fin,int length) throws SQLException;void setBinaryStream(int paramaterIndex, java.io.InputStream fin,int length) throws SQLException;void setCharacterStream(int paramaterIndex, java.io.Reader reader,int length) throws SQLException;void setUnicodeStream(int parameterIndex, InputStream x, int length)throws SQLException;Cincom ORDB JDBC Driver does not support date/time methods that take analternative calendar. The following methods are not supported if the calendarparameter is not the calendar for the current time zone:♦♦♦void setDate(int parameterIndex, java.sql.Date x, Calendar cal) throwsSQLException;void setTime(int parameterIndex, Time x, Calendar cal) throwsSQLException;void setTimestamp(int parameterIndex, Timestamp x, Calendar cal) throwsSQLException;Cincom ORDB JDBC Driver does not support storing of Blob and Clob data incolumns. You can store references to ordbGlo instances by using the setRefmethod. The following methods are not supported:♦♦void setBlob(int paramaterIndex, Blob x) throws SQLException;void setClob(int paramaterIndex, Clob x) throws SQLException;RefThe java.sql.Ref interface does not support the following methods:♦void setObject(Object value) throws SQLException;JDBC Developer's Guide, P25-9504-03 Page 80Chapter: 5. Cincom ORDB JDBC NotesSection: Supported JDBC 3.0 interfaces
ResultSetCincom ORDB JDBC Driver only supports ResultSets that areTYPE_FORWARD_ONLY cursors, and CONCUR_READ_ONLY concurrency, andCLOSE_AFTER_COMMIT_holdability. The following java.sql.ResultSet methodsare not supported:♦ boolean absolute(int row) throws SQLException;♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦void afterLast() throws SQLException;void beforeFirst() throws SQLException;void cancelRowUpdates() throws SQLException;void deleteRow() throws SQLException;boolean first() throws SQLException;int getRow() throws SQLException;void insertRow() throws SQLException;boolean isAfterLast() throws SQLException;boolean isBeforeFirst() throws SQLException;boolean isFirst() throws SQLException;boolean isLast() throws SQLException;boolean last() throws SQLException;void moveToCurrentRow() throws SQLException;void moveToInsertRow() throws SQLException;boolean previous() throws SQLException;void refreshRow() throws SQLException;boolean relative(int rows) throws SQLException;boolean rowDeleted() throws SQLException;boolean rowInserted() throws SQLException;boolean rowUpdated() throws SQLException;void setFetchSize(int rows) throws SQLException;All updateXXX methods.JDBC Developer's Guide, P25-9504-03 Page 81Chapter: 5. Cincom ORDB JDBC NotesSection: Supported JDBC 3.0 interfaces
- Page 30 and 31: Class ordbGloThe ordbjava.jdbc.ordb
- Page 32 and 33: prepare a statement that has an inp
- Page 34 and 35: get the first resort referenceordbj
- Page 36 and 37: Invoking database methodsYou can us
- Page 38 and 39: Creating custom Java classes for Ci
- Page 40 and 41: Annotated examples of custom mapped
- Page 42 and 43: The above constructor can be used b
- Page 44 and 45: class jaccommodations.javaThe follo
- Page 46 and 47: public void readSQL(SQLInput stream
- Page 48 and 49: Relating Java classes to database c
- Page 50 and 51: Controlling when custom mapping occ
- Page 52 and 53: Using the getAttributes method of t
- Page 54 and 55: 13 activities// 14 sounds_of_the_ca
- Page 56 and 57: }Statement stmt = conn.createStatem
- Page 58 and 59: In the previous example, the applic
- Page 60 and 61: ♦writeSQL() method. You must impl
- Page 62 and 63: Retrieving a collection and its ele
- Page 64 and 65: while (rset.next()) {// activities
- Page 66 and 67: ordbCollection rooms = null;while (
- Page 68 and 69: public static void main (String arg
- Page 70 and 71: insertValue(Object javaObj, int JDB
- Page 72 and 73: Example using the Array as input pa
- Page 74 and 75: create a new collection of seashore
- Page 76 and 77: 5. Cincom ORDB JDBC NotesIntroducti
- Page 78 and 79: ConnectionThe database does not sup
- Page 82 and 83: Cincom ORDB JDBC Driver does not su
- Page 84 and 85: SQLOutputThe Cincom ORDB JDBC Drive
- Page 86 and 87: JDBC and multi-threadingThe Cincom
- Page 88 and 89: Example: Disabling AutoCommit. The
- Page 90 and 91: setConnectPoolTimeout(long millisec
- Page 92 and 93: Logging JDBC callsThe Cincom ORDB J
- Page 94 and 95: Accessing JDBC samplesUse one of th
- Page 96 and 97: IndexAaccesing attribute values,exa
- Page 98: RResultSet objectclosing 23processi
ResultSet<strong>Cincom</strong> ORDB <strong>JDBC</strong> Driver only supports ResultSets that areTYPE_FORWARD_ONLY cursors, and CONCUR_READ_ONLY concurrency, andCLOSE_AFTER_COMMIT_holdability. The following java.sql.ResultSet methodsare not supported:♦ boolean absolute(int row) throws SQLException;♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦void afterLast() throws SQLException;void beforeFirst() throws SQLException;void cancelRowUpdates() throws SQLException;void deleteRow() throws SQLException;boolean first() throws SQLException;int getRow() throws SQLException;void insertRow() throws SQLException;boolean isAfterLast() throws SQLException;boolean isBeforeFirst() throws SQLException;boolean isFirst() throws SQLException;boolean isLast() throws SQLException;boolean last() throws SQLException;void moveToCurrentRow() throws SQLException;void moveToInsertRow() throws SQLException;boolean previous() throws SQLException;void refreshRow() throws SQLException;boolean relative(int rows) throws SQLException;boolean rowDeleted() throws SQLException;boolean rowInserted() throws SQLException;boolean rowUpdated() throws SQLException;void setFetchSize(int rows) throws SQLException;All updateXXX methods.<strong>JDBC</strong> <strong>Developer's</strong> <strong>Guide</strong>, P25-9504-03 Page 81Chapter: 5. <strong>Cincom</strong> ORDB <strong>JDBC</strong> NotesSection: Supported <strong>JDBC</strong> 3.0 interfaces