hsqldb

hsqldb plugin for eclipse

一曲冷凌霜 提交于 2019-12-11 05:06:31
问题 I want to add the eclipse plugin for HSQLdb. WHAT I DID : I have downloaded HSQLdb plugin from http://sourceforge.net/projects/hsqldb-plugin/files/ then i followed steps mentioned in a blog http://jobinwilson.blogspot.in/2010/05/adding-hsqldb-plugin-to-eclipse.html as 3.Unzip the HSQLDBPlugin zip,you will get two folders hsqldb.core and hsqldb.ui 4.Copy both the folders into ECLIPSE_HOME/plugins folder 5.Navigate to ECLIPSE_HOME/plugins/hsqldb.ui folder from command prompt/shell 6.run the

Maven and Hsqldb: org.hsqldb.HsqlException: Client driver version greater than '2.1.0.0' is required. HSQLDB server version is '2.3.4' (on mac)

醉酒当歌 提交于 2019-12-11 04:28:57
问题 What I want to do How to get maven/eclipse to point to 2.3.2 jar instead? Connect to the HSQL db via Java/jdbc (I assume I should be able to do this once I have solved the above) My settings It seems that my hsql server is using 2.3.4. However I do not see why my local Eclipse (the client) is using 2.1.0.0. I have set up maven and it seems to be pointing to the 2.3.2 jar. How my Eclipse package explorer looks Other things I have checked / done Updated my path variables in my bash_profile (

HSQLDB inmemory mode doesn't delete files on shutdown

微笑、不失礼 提交于 2019-12-11 04:24:47
问题 I'm using HSQLDB version 2.2.9 for testing purposes. When I create named in memory database, files aren't deleted after calling shutdown function. On my filesystem I have folder DBname.tmp and files DBname.lck, DBname.log, DBname.properties and DBname.script. As I understand documentation (http://hsqldb.org/doc/2.0/guide/dbproperties-chapt.html#dpc_connection_url) it shouldn't happened. For testing I'm using the following code: import java.io.IOException; import org.hsqldb.Server; import org

How can I get correctly displaced UTC timestamp from a unix timestamp in hsqldb

你离开我真会死。 提交于 2019-12-11 04:17:15
问题 In hsqldb the function TIMESTAMP ( ) returns a WITHOUT TIME ZONE timestamp which is adjusted to session's time zone before any further conversion. So lets say my session is at UTC+1 and I have a unix timestamp of 1364353339 (Wed, 27 Mar 2013 03:02:19 GMT, according to http://www.onlineconversion.com/unix_time.htm) coming from elsewhere. If I call: VALUES( TIMESTAMP( 1364353339 ) AT TIME ZONE INTERVAL '0:00' HOUR TO MINUTE ); which gives 2013-03-27 02:02:19.000000+0:00 . This has the correct

Exporting HSQLDB database with UTF-8 encoding

喜你入骨 提交于 2019-12-11 04:11:41
问题 I'm trying to export the GeoTools HSQL 2 database and load it back into HSQL 1 for a legacy system that needs the older database format. The tables include characters like the degree symbol. However, it's coming out as the escape sequence \u0080 rather the encoded character. I need to either fix that or have HSQL 1 import convert the escaped characters back into the correct encoding. e.g. cp modules/plugin/epsg-hsql/src/main/resources/org/geotools/referencing/factory/epsg/EPSG.zip /tmp cd

Using embedded database with Flyway and jOOQ in Maven for continuous integration

99封情书 提交于 2019-12-11 03:44:26
问题 So I'm really trying to do things 'right' with SQL that will break at compile time using flyway and jOOQ. To do this I need a database solution that can work on the continuous integration server with no access to any server-based database. Ultimately, I want to deploy this to Amazon so I need a solution that is mostly compatible with postgreSQL. HSQLDB's file protocol seems to fit that bill. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema

Is is safe to use HSQLDB for production? (JBoss AS5.1)

梦想与她 提交于 2019-12-11 03:43:00
问题 The JBoss developers warn against the use of HSQLDB as a persistent storage (see JBoss wiki). I am confused though, because HSQLDB appears to be used heavily in production. Especially, the above mentioned page seems to warn against the use of HSQLDB entirely and not against the use in conjunction with JBoss. Is it still not recommendable to use HSQLDB in JBoss (particularly, the bundled default datasource in Community JBoss 5.1)? *:We plan to use it in in-memory mode. 回答1: If your own link

How to connect HSQL (file based) with my android app?

拥有回忆 提交于 2019-12-11 03:23:46
问题 Hello I have a problem connecting my android app to HSQLDB. First question: Is there a specific android jar for HSQLDB that i should use or could I use any HSQL jar? Second question: If I can use the provided jar. How can I get the connection to work and what should I place in the Class.forName("") as I was getting a ClassNotFoundException error when using: Class.forName("org.hsqldb.jdbc.JDBCDriver") or Class.forName("org.hsqldb.jdbc.JDBCDriver").newInstance() ? Thank you. 回答1: I have been

Syntax issue with HSQL sequence: `NEXTVAL` instead of `NEXT VALUE`

♀尐吖头ヾ 提交于 2019-12-11 02:47:56
问题 I have webapps deployed on a Jetty server and connected to HSQLDB databases located on the HSQLDB server. I get this error when I try to create an entity: ERROR org.hibernate.util.JDBCExceptionReporter Unexpected token: NEXTVAL in statement [/* dynamic native SQL query */ SELECT nextval('campagne_sequence')] I initialize the sequence as follows: CREATE SEQUENCE PUBLIC.CAMPAGNE_SEQUENCE START WITH 1 INCREMENT BY 1 In my webapp, I set the Hibernate dialect with org.hibernate.dialect.HSQLDialect

HSQLDB: enable LOB compression for existing database

余生颓废 提交于 2019-12-11 02:19:57
问题 I'm using an embedded HSQLDB 2.3.2 instance to store XML documents as LOBs for a while in an application which has intermittent connection to wherever the documents are supposed to end. To limit HSQBDL's .lobs file size growth, I enabled LOB compression through the jdbc connection URL as mentioned in the documentation (using hsqldb.lob_compressed=true), but from what I've recently discovered this URL parameter has no effect whatsoever. If I understand the HSQLDB JDBC URL parsing code