提交 37143363 authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 3905753d
......@@ -142,10 +142,12 @@ Features
<br /><a name="limitations"></a>
<h2>Limitations</h2>
<p>
For the list of limitations, please have a look at the road map page at:
<a href="http://groups.google.com/group/h2-database/web/roadmap">
http://groups.google.com/group/h2-database/web/roadmap
</a>.
</a>
</p>
<br /><a name="comparison"></a>
<h2>Comparison to Other Database Engines</h2>
......@@ -250,6 +252,8 @@ http://groups.google.com/group/h2-database/web/h2-in-use
</a>
</p>
<br /><a name="connection_modes"></a>
<h2>Connection Modes</h2>
<p>
The following connection modes are supported:
</p>
......@@ -815,6 +819,7 @@ IGNORECASE=TRUE to the database URL (example: jdbc:h2:test;IGNORECASE=TRUE).
</p>
<h3>Compatibility Modes</h3>
<p>
For certain features, this database can emulate the behavior of specific databases. Not all features or differences of those
databases are implemented. Currently, this feature is mainly used for randomized comparative testing
(where random statements are executed against multiple databases and the results are compared).
......
......@@ -46,7 +46,7 @@ public class TempFileDeleter {
public static void deleteUnused() {
// Mystery: I don't know how QUEUE could get null, but two independent
// people reported NullPointerException here - if somebody understands
// how it could happend please report it!
// how it could happen please report it!
// Setup: webapp under Tomcat, exception occurs during undeploy
while (QUEUE != null) {
Reference ref = QUEUE.poll();
......
......@@ -34,10 +34,10 @@ public class TestTransaction extends TestBase {
s1.execute("create table b (name varchar(100) not null, a integer, primary key(name), foreign key(a) references a(id))");
Connection c2 = getConnection("transaction");
c2.setAutoCommit(false);
s1.executeUpdate("insert into A(code) values('un cod')");
s1.executeUpdate("insert into A(code) values('one')");
Statement s2 = c2.createStatement();
try {
s2.executeUpdate("insert into B values('un B', 1)");
s2.executeUpdate("insert into B values('two', 1)");
error("Unexpected success");
} catch (SQLException e) {
checkNotGeneralException(e);
......
......@@ -58,12 +58,12 @@ public class TestPreparedStatement extends TestBase {
private void testTempView(Connection conn) throws Exception {
Statement stat = conn.createStatement();
PreparedStatement prep;
stat.execute("CREATE TABLE TEST(FLD INT PRIMARY KEY)");
stat.execute("CREATE TABLE TEST(FIELD INT PRIMARY KEY)");
stat.execute("INSERT INTO TEST VALUES(1)");
stat.execute("INSERT INTO TEST VALUES(2)");
prep = conn.prepareStatement("select FLD FROM "
+ "(select FLD FROM (SELECT FLD FROM TEST WHERE FLD = ?) AS TBL2 "
+ "WHERE TBL2.FLD = ?) AS TBL3 WHERE TBL3.FLD = ?");
prep = conn.prepareStatement("select FIELD FROM "
+ "(select FIELD FROM (SELECT FIELD FROM TEST WHERE FIELD = ?) AS T2 "
+ "WHERE T2.FIELD = ?) AS T3 WHERE T3.FIELD = ?");
prep.setInt(1, 1);
prep.setInt(2, 1);
prep.setInt(3, 1);
......
......@@ -89,7 +89,7 @@ public class TestMVCC extends TestBase {
// referential integrity problem
s1.execute("create table a (id integer identity not null, code varchar(10) not null, primary key(id))");
s1.execute("create table b (name varchar(100) not null, a integer, primary key(name), foreign key(a) references a(id))");
s1.execute("insert into a(code) values('un cod')");
s1.execute("insert into a(code) values('one')");
try {
s2.execute("insert into b values('un B', 1)");
error("Unexpected success");
......
/*
* Copyright 2004-2007 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package org.h2.test.unit;
import org.h2.test.TestBase;
......
......@@ -513,4 +513,6 @@ framework constructing architectural jmatter workgroup upgraded naked stopper sk
opensource atlassian hhh establish pawel nice italiano ucchino paolo italian pier shorter although
uklinux credential crypt kerberos redferni routine reopen tmp configured replicating wraps jre
webtest einstellung redirects endless ran gives replication lxabcdef asf packages replayed jspa
\ No newline at end of file
russian backward alexahin vlad ffffffffffff bfff ffffffff webapp undeploy initializer brasil uncached slowing translating uploaded
llc computing oliver road
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论