FAQ - SQuirreL SQL Client.

 
 

FAQ - Plugins.

 
 

Answers - SQuirreL SQL Client.

How do I install SQuirreL SQL Client on Windows Vista?

Doug Lawry has reported that the following steps are required in order to install SQuirreL SQL Client on Windows Vista.

  1. Start "cmd.exe" using "Run as administrator"
  2. Change directory to the file location
  3. Run "java -jar squirrel-sql-2.5.1-install.jar"

I get a blank SQuirreL 2.4 window when running on Fedora Core while using Desktop Effects (Compiz) and Sun Java 1.5. What gives?

Andrew Melton has reported that disabling Desktop Effects (and using metacity) solved the problem. Furthermore, he also reports that after re-enabling Desktop Effects SQuirreL still renders correctly. Additionally, this Java bug seems at least related to if not the same problem.

What database systems does SQuirreL work with?

In theory SQuirreL should work with any DBMS that has a JDBC 2.0 driver. However not all drivers/DBMS's are fully complient with the JDBC 2.0 specification. People have reported SQuirreL working with the following:

Please send us an email if you have used SQuirreL successfully with other products.

Top


Which version of the JVM is SQuirreL compatible with?

Different versions of SQuirreL have different minimum JVM version requirements. The following table provides a summary of the version requirements:
SQuirreL VersionMinimum JVM Version
2.4+1.5
2.0 - 2.3.x1.4.2
1.1 Final1.3.1

Top


I get a "Segmentation fault" on Linux

Early versions of the Sun 1.3.0 VM on Linux throw a segmentation fault when running SQuirreL. Either update to the latest 1.3.1 VM or pass the -classic flag to the Java executable - i.e.

java -classic -cp...

Top


I get a "Login has timed out" error with Microsoft SQL Server

Early beta versions of the Microsoft type 4 JDBC driver had a bug which would cause this error when trying to connect. Go to the General Tab in the Global Preferences dialog and change the SQL Login Timeout to 0.

Top


I get a "Can't start a cloned connection while in manual transaction mode" error with Microsoft SQL Server

When connecting to Microsoft SQL Server with auto-commit off or changing auto-commit to false for an existing connection you may get this error. To stop it from occuring enable the 'selectmethod=cursor' driver property in the alias.

Top


I don't see an object tree with PostgreSQL

Versions of PostgreSQL prior to 7.1.3 didn't supply sufficent metadata to build the object tree in SQuirreL. A fix has been put into SQuirreL so that it would work with PostgreSQL 7.1.2.

Top


I get a "NullPointerException" at BaseSQLEntryPanel.java:23

This is a known problem with JDK1.3.0 on some platforms. Upgrade your Java version to 1.3.1 or better.

Top


Ingres reports "Error: contsbt: ca.edbc.util.EdbcEx: No MST is currently in progress, cannot declare another cursor." when I connect and nothing is listed under the schema name in the Object Tree

Right-click on the schema in the explorer and select refresh, objects should appear as normal.

Top

Informix reports "The specified table (schema.table) is not in the database" when trying to view the contents of a table in the current schema

This is a bug in earlier versions of the Informix JDBC driver and is known to be fixed in version 9.4 of Informix and version 2.21 of the Informix JDBC driver.

Top


I am using SQuirreL 2.x and when I connect to a database I get the following warning message:

	JRE/JDBC Version mismatch

	The driver being used ... is not JDBC N.N compliant. 
	You should consider getting a more recent version of this driver.
	

It's telling you that your JRE version is much newer than your driver's supported JDBC version. In general, it's hard to tell how well tested an older driver is with a newer JVM(1.4+). The odds are good that the newer JVM wasn't available when the older driver was written. So the warning message is there to let you know that you aren't getting the most efficient use from SQuirreL 2.x and your database driver. SQuirreL 2.x requires JVM 1.4 or higher so your choices are limited there. Upgrade your JDBC driver if possible - if not, then you can disable the warning. To disable it go to Global Preferences -> General and uncheck the checkbox next to Warning for JRE/JDBC Version Mismatch

Top

 
 

Answers - Plugins.

How do I write a plugin?

There is some information in the document plugins.html which you can find in the docs directory within your SQuirreL program directory. This document badly needs a lot of work and its on our todo list. You can also look at the existing plugins to see how they've done things.

If you have an idea for a plugin just send a message to the SQuirreL Developers list giving a brief description. This helps to ensure that two people don't develop the same plugin.

Top


What are these directories "Colin Bell" and "Johan Compagner" in the plugins directory?

Some people have reported these directories appearing when running JDK 1.3 on Windows 2000. It appears to be a problem with the Hotspot VM. Passing the -classic flag to the java executable fixes the problem - i.e.

java -classic -cp...

Top


I can't see any "Look and Feel" files.

This can be caused by the What are these directories "Colin Bell" and "Johan Compagner" in the plugins directory? problem.

Top

I get a java.lang.NoClassDefFoundError: org/w3c/dom/Node error when trying to validate SQL.

If you use the SQL Validator plugin with JDK 1.3 you will need a JAXP 1.1 XML compliant parser such as xml-xerces or the JAXP 1.1 reference implementation. Copy the jar files from your XML parser to the directory <squirrel-sql>/plugins/sqlval/lib. For xml-xerces this should be xerces.jar and for JAXP 1.1 reference implementation this should be crimson.jar and jaxp.jar.

Top