10.07.2015 Views

JDBC Developer's Guide - Supra - Cincom

JDBC Developer's Guide - Supra - Cincom

JDBC Developer's Guide - Supra - Cincom

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

* Database method.*/// The mapping tool generates java methods to expose database methods.public int overpriced( ) throws SQLException {String method_name = "overpriced";Object retVal;retVal = invokeMethod(method_name, null);return ((Integer)retVal).intValue();}/*** Database method.*/public int v5_overpriced( ) throws SQLException {String method_name = "v5_overpriced";Object retVal;retVal = invokeMethod(method_name, null);return ((Integer)retVal).intValue();}}<strong>JDBC</strong> <strong>Developer's</strong> <strong>Guide</strong>, P25-9504-03 Page 47Chapter: 4. <strong>Cincom</strong> ORDB ExtensionsSection: Creating custom Java classes for <strong>Cincom</strong> ORDB objects

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!