[ic] DBD::JDBC may require HANDLE_ONLY for multiple tables

Daniel Browning db at kavod.com
Tue May 3 14:38:20 EDT 2005


If you are using DBD::JDBC (e.g. to access Business Basic/BBPRO via BBJ) and you
are getting errors whenever you define more than one table in Interchange, you
can work around the problem by setting HANDLE_ONLY and restricting yourself to 
the usage of query().

Errors you might get (in 5.3.x nightly from Sep 24, 2004) are:

Can't call method "close_table" on an undefined value at ...lib/Vend/Data.pm
line 498.

Can't call method "config" on an undefined value at ...lib/Vend/Table/DBI.pm
line 1985.

Getting DBD::JDBC to work for more than one table without the HANDLE_ONLY 
workaround is left as an exercise for the reader.  :)

The value of posting this message is dubious, since no one has ever mentioned
their use of DBD::JDBC; however, I'm using it, and at least one other person 
has mentioned their use of Business Basic.

-- 
Daniel Browning <db at kavod.com> - Kavod Technologies.  Random Fortune:
Good teaching is one-fourth preparation and three-fourths good theatre.
		-- Gail Godwin


More information about the interchange-users mailing list