3 Replies Latest reply on Nov 24, 2005 2:05 PM by Koen Aers

    HSQLDB 1.8 + SELECT * FROM SYSTEM_TABLES not working

    lucio piccoli Newbie

      hi all,

      i am using jboss-4.0.3RC1 with HSQLDB 1.8.

      When deploying my apps now it complains about executing the 'select * from system_tables'. In HSQLDB1.8 the system tables moved into the information_schema and can on;t be address with the schema prefix. Fine so where does JBOSS get the config from for the select * from system_Tables. I check the hibernate HSQLdialect but there is no mention of the system_Tables.

      where is the config to change this erroneous sql?

      any help appreciated


      2005-08-05 10:07:19,964 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Using properties: {user=sa, password=--hidden--}
      2005-08-05 10:07:19,980 DEBUG [org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory] Starting failed jboss:service=KeyGeneratorFactory,type=HiLo
      org.jboss.deployment.DeploymentException: Error while checking if table aleady exists HILOSEQUENCES; - nested throwable: (java.sql.SQLException: Table not found in statement [SELECT * FROM SYSTEM_TABLES])
       at org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.tableExists(SQLUtil.java:1002)
       at org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory.dropTableIfExists(HiLoKeyGeneratorFactory.java:308)
       at org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory.startService(HiLoKeyGeneratorFactory.java:211)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:267)