Connection to Informix (1)

5 views
Skip to first unread message

Maurizio Scarpis

unread,
Dec 16, 2022, 10:36:11 AM12/16/22
to SQL Workbench/J - DBMS independent SQL tool
Hi Thomas.

The following log messages are warning only but is there a way to avoid them ?
May them move to other more critical problems ?
Thanks in advance
Maurizio

2022-12-16 16:31:52 INFO  Connected to: [Informix Dynamic Server], Database version info: [11.50.FC6], Database version number: [11.50], Driver version: [3.70.JC2], JDBC version: [3.70], ID: [WbWin-1 TAB-13]
2022-12-16 16:31:52 WARN  Could not get current schema from driver. Assuming schemas are not supported Receiver class com.informix.jdbc.IfxSqliConnect does not define or inherit an implementation of the resolved method 'abstract java.lang.String getSchema()' of interface java.sql.Connection.
java.lang.AbstractMethodError: Receiver class com.informix.jdbc.IfxSqliConnect does not define or inherit an implementation of the resolved method 'abstract java.lang.String getSchema()' of interface java.sql.Connection.
    at workbench.db.DbMetadata.getCurrentSchema(DbMetadata.java:1468)
    at workbench.db.WbConnection.getDisplayString(WbConnection.java:1446)
    at workbench.gui.components.ConnectionInfo._updateDisplay(ConnectionInfo.java:278)
    at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
    at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
    at java.base/java.security.AccessController.doPrivileged(Unknown Source)
    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

2 - Informix implementation of 

Thomas Kellerer

unread,
Dec 17, 2022, 12:52:31 PM12/17/22
to sql-wo...@googlegroups.com
It's not really a problem.
Currently getSchema() is called once after a connection is established and will not be called again if it results in an error.

This can not be turned off as of build 129, but I can certainly add a flag to prevent even the initial attempt to use it.

Thomas
Reply all
Reply to author
Forward
0 new messages