From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-
bounces@xxxxxxxxxxxx] On Behalf Of JK
Sent: Tuesday, June 21, 2011 3:23 PM
Subject: JT400 - MCH1210 when refreshing Squirrel
I?m having two problems configuring Squirrel which may or may not be
related. Recent installs of Java (ver 1.6.0_21) JTOPEN (7.4) and
Squirrel (3.2.1). I?m able to set the current lib via the jdbc connect
string and run SQL statements in Squirrel just fine. Connect string =
The Object Tree isn?t being populated, though, and without that function
I?m still chained to the green-screen tools. I?ve experimented with the
Driver Properties ?database name? and ?Libraries? to no positive effect.
a) The Object Tree shows the main object categories: ALIAS,
SYSTEM_TABLE, TABLE, VIEW, etc, but each is category is empty. When I
select ?Connect database and refresh schema table? from the alias
properties, the log file records an MCH1210 error.
?2011-06-21 16:33:26,281 [AWT-EventQueue-1] ERROR
net.sourceforge.squirrel_sql.client.session.SessionManager - Failed to
get allowed Schemas java.sql.SQLException: [MCH1210] Receiver value too
small to hold result.
b) When I select one of the categories (say TABLE) and attempt to
?Refresh Item? or ?Refresh Tree and Cache?, the log file records a
?2011-06-21 17:09:46,046 [AWT-EventQueue-1] ERROR
Error loading uncached tables java.sql.SQLException: [SQL0199] Keyword
BY not expected. Valid tokens: < > = <> <= !< !> != >= ¬< ¬> ¬= IN IS
NOT LIKE BETWEEN.?
Is this a JT400 thing or is there some combination of Driver Properties
that I haven?t twigged to yet?
This Java novice has about reached the limits of his knowledge ? any
assistance would be appreciated!
This is the Java Programming on and around the IBM i (JAVA400-L) mailing
list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/java400-l.
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.