public static void Constants.setBaseDir(String baseDir) throws IOException.
whats faster, stringBuffer.append.append.append or buff.append buff.append...
System property h2.baseDir (default: empty meaning current working directory).
maybe replace StringBuffer with own class (StringCreator)
Can be set to ~ (meaning the user directory) or any directory (is created if it does not yet exist).
java -Dh2.baseDir=/tmp/data org.h2.tools.Server
System.setProperty would work as well, needs to be set before connecting to any database.
Test with newest Hibernate
storages should be an inthashmap
SELECT * FROM DUAL WHERE 'a_z' LIKE '%=_%' ESCAPE '=';
Test with newest Hibernate
SELECT * FROM DUAL WHERE 'a_z' LIKE '%\_%';
-- SET client_encoding = 'UTF8';
-- SET client_encoding = 'UTF8';
-- SET check_function_bodies = false;
-- SET check_function_bodies = false;
-- SET client_min_messages = warning;
-- SET client_min_messages = warning;
-- CREATE PROCEDURAL LANGUAGE plperl;
-- CREATE PROCEDURAL LANGUAGE plperl;
-- CREATE PROCEDURAL LANGUAGE plpgsql;
-- CREATE PROCEDURAL LANGUAGE plpgsql;
--SET search_path = public, pg_catalog;
--SET default_tablespace = '';
--SET default_tablespace = '';
--SET default_with_oids = false;
--SET default_with_oids = false;
--id serial NOT NULL,
pg_catalog with views
pg_catalog with views
...
@@ -123,12 +117,10 @@ The unique object identifier of a row. PostgreSQL automatically adds this 4-byte
...
@@ -123,12 +117,10 @@ The unique object identifier of a row. PostgreSQL automatically adds this 4-byte
ctid (tuple identifier)
ctid (tuple identifier)
The identifier which describes the physical location of the tuple within the database. A pair of numbers are represented by the ctid: the block number, and tuple index within that block.
The identifier which describes the physical location of the tuple within the database. A pair of numbers are represented by the ctid: the block number, and tuple index within that block.
make sure INDEX_LOOKUP_NEW = is true by default.
make sure INDEX_LOOKUP_NEW = is true by default.
Test Console (batch, javaw, different platforms)
Test Console (batch, javaw, different platforms)
test with openoffice (metadata changes)
test with openoffice (metadata changes)
set read-committed as the default
set read-committed as the default
testHalt
testHalt
...
@@ -200,8 +192,6 @@ CREATE TABLE TEST( ID BIGINT PRIMARY KEY, CREATED TIMESTAMP);
...
@@ -200,8 +192,6 @@ CREATE TABLE TEST( ID BIGINT PRIMARY KEY, CREATED TIMESTAMP);
INSERT INTO TEST VALUES(1, '2007-01-01 00:00:00');
INSERT INTO TEST VALUES(1, '2007-01-01 00:00:00');