提交 152e4944 authored 作者: Thomas Mueller's avatar Thomas Mueller

Improved docs.

上级 27d7b7d3
......@@ -52,7 +52,7 @@ $$A new version of H2 is available for <a href="http://www.h2database.com">downl
<br />
<b>Changes and new functionality:</b>
<ul><li>Java 1.5 is now required to run H2.
</li><li>Fulltext search: Data is no longer deleted and
</li><li>Fulltext search: data is no longer deleted and
re-inserted if there was no change.
</li><li>Microsoft Windows: when using the the installer, Vista wrote
"This program may not have installed correctly."
......@@ -113,7 +113,7 @@ $$A new version of H2 is available for <a href="http://www.h2database.com">downl
<ul><li>MERGE now returns 0 as the generated on update.
</li><li>A file system implementation can now be registered.
</li><li>The database file system is no longer included.
</li><li>EclipseLink: Added H2Platform.supportsIdentity().
</li><li>EclipseLink: added H2Platform.supportsIdentity().
</li><li>Connection pool: the login timeout is now 5 minutes.
</li></ul>
<b>Bugfixes:</b>
......@@ -231,7 +231,7 @@ $$A new version of H2 is available for <a href="http://www.h2database.com">downl
</li><li>The DbStarter now closes all connections to the configured database.
</li><li>Improved exception message when connecting to a just started server fails.
</li><li>Connection.isValid is a bit faster.
</li><li>H2 Console: The autocomplete feature has been improved a bit.
</li><li>H2 Console: the autocomplete feature has been improved a bit.
</li><li>When restarting a web application in Tomcat, an exception was thrown sometimes.
The root cause of the problem is now documented in the FAQ.
</li></ul>
......@@ -287,8 +287,8 @@ $$A new version of H2 is available for <a href="http://www.h2database.com">downl
<b>Changes and new functionality:</b>
<ul><li>The license change a bit: so far the license was modified to say
'Swiss law'. This is now changed back to the original 'US law'.
</li><li>CREATE DOMAIN: Built-in data types can now only be changed if no tables exist.
</li><li>DatabaseMetaData.getPrimaryKeys: The column PK_NAME now contains the
</li><li>CREATE DOMAIN: built-in data types can now only be changed if no tables exist.
</li><li>DatabaseMetaData.getPrimaryKeys: the column PK_NAME now contains the
constraint name instead of the index name (compatibility for PostgreSQL and Derby).
</li></ul>
<b>Bugfixes:</b>
......@@ -320,7 +320,7 @@ $$A new version of H2 is available for <a href="http://www.h2database.com">downl
</li><li>Natural join: the joined columns are not repeated any more.
</li><li>MySQL compatibility: support for := assignment.
</li><li>INSERT INTO TEST(SELECT * FROM TEST) is now supported.
</li><li>H2 Console: Columns are now listed for up to 500 tables.
</li><li>H2 Console: columns are now listed for up to 500 tables.
</li><li>H2 Console: support for the 'command' key.
</li><li>JaQu: the maximum length of a column can now be defined.
</li><li>The fulltext search documentation has been improved.
......
......@@ -33,11 +33,9 @@ public class TestMemoryUsage extends TestBase {
}
public void test() throws SQLException {
deleteDb("memoryUsage");
testCreateDropLoop();
testCreateIndex();
testClob();
deleteDb("memoryUsage");
testReconnectOften();
deleteDb("memoryUsage");
reconnect();
......@@ -49,6 +47,7 @@ public class TestMemoryUsage extends TestBase {
}
private void testCreateDropLoop() throws SQLException {
deleteDb("memoryUsage");
conn = getConnection("memoryUsage");
Statement stat = conn.createStatement();
for (int i = 0; i < 100; i++) {
......@@ -81,6 +80,7 @@ public class TestMemoryUsage extends TestBase {
if (config.memory || !config.big) {
return;
}
deleteDb("memoryUsage");
Connection conn = getConnection("memoryUsage");
Statement stat = conn.createStatement();
stat.execute("SET MAX_LENGTH_INPLACE_LOB 32768");
......@@ -121,6 +121,7 @@ public class TestMemoryUsage extends TestBase {
if (config.memory) {
return;
}
deleteDb("memoryUsage");
Connection conn = getConnection("memoryUsage");
Statement stat = conn.createStatement();
stat.execute("create table test(id int, name varchar(255))");
......@@ -146,8 +147,9 @@ public class TestMemoryUsage extends TestBase {
}
private void testReconnectOften() throws SQLException {
int len = getSize(1, 2000);
deleteDb("memoryUsage");
Connection conn1 = getConnection("memoryUsage");
int len = getSize(1, 2000);
printTimeMemory("start", 0);
long time = System.currentTimeMillis();
for (int i = 0; i < len; i++) {
......
......@@ -42,7 +42,7 @@ public class TestRights extends TestBase {
}
// public void testLowerCaseUser() throws SQLException {
// Documentation: For compatibility,
// Documentation: for compatibility,
// only unquoted or uppercase user names are allowed.
// deleteDb("rights");
// Connection conn = getConnection("rights");
......
......@@ -69,7 +69,7 @@ public class TestMvcc1 extends TestBase {
// updated rows) on commit
// TODO Prio 1: ScanIndex: never remove uncommitted data from cache
// (lost sessionId)
// TODO Prio 1: Test with Hibernate
// TODO Prio 1: test with Hibernate
// TODO Prio 2: if MVCC is used, rows of transactions need to fit in
// memory
// TODO Prio 2: write the log only when committed; remove restriction at
......
......@@ -315,7 +315,7 @@ public class TestSynth extends TestBase {
// stopImmediately = true;
// showLog = true;
// testRun(110600); // id=27 java.lang.Error: Results don't match:
// testRun(110600); // id=27 java.lang.Error: results don't match:
// original (0):
// System.exit(0);
......
......@@ -231,7 +231,7 @@ public class CheckTextFiles {
f.write(changed);
f.setLength(changed.length);
f.close();
System.out.println("CHANGED: File " + file.getName());
System.out.println("CHANGED: " + file.getName());
}
}
line = 1;
......
......@@ -594,4 +594,4 @@ ops jopr googlegroups fletcher prefer djava expires fffe polish articles
attachment transiently cleanup dbsnmp olapsys wmsys tsmsys outln ctxsys mddata
ordsys ordplugins mgmt dmsys exfsys mdsys sysman informtn textarray tmzone cdo
emf decompile streamed setmaxlengthinplacelob setcompresslob compressing
compressible subclass ints seeks kilobytes
\ No newline at end of file
compressible subclass ints seeks kilobytes capitalized sqlj psm sigmod acm
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论