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

Documentation.

上级 d64f9ca9
...@@ -1431,7 +1431,7 @@ and call the method <code>FileSystem.register</code> before using it. ...@@ -1431,7 +1431,7 @@ and call the method <code>FileSystem.register</code> before using it.
<p> <p>
For input streams (but not for random access files), URLs may be used in addition to the registered file systems. For input streams (but not for random access files), URLs may be used in addition to the registered file systems.
Example: <code>jar:file:///c:/temp/example.zip!/org/example/nested.csv</code>. Example: <code>jar:file:///c:/temp/example.zip!/org/example/nested.csv</code>.
To read a stream from the classpath, use the prefix <code>classpath:</code>, as in To read a stream from the classpath, use the prefix <code>classpath:</code>, as in
<code>classpath:org/h2/samples/newsfeed.sql</code>. <code>classpath:org/h2/samples/newsfeed.sql</code>.
</p> </p>
......
...@@ -18,7 +18,11 @@ Change Log ...@@ -18,7 +18,11 @@ Change Log
<h1>Change Log</h1> <h1>Change Log</h1>
<h2>Next Version (unreleased)</h2> <h2>Next Version (unreleased)</h2>
<ul><li>Issue 277: JaQu didn't correctly convert a CLOB column to a String. <ul><li>CSVREAD / CSVWRITE: instead of setting the options one by one,
all options can be combined into a space separated key-value pairs.
</li><li>CSVREAD / CSV tool: there is a new option "lineCommentCharacter" to set or disable line comments.
For H2 version 1.2, the default is '#' (as before). For H2 version 1.3, line comments are disabled by default.
</li><li>Issue 277: JaQu didn't correctly convert a CLOB column to a String.
</li><li>./build.sh testNetwork could block if there was a network configuration problem. </li><li>./build.sh testNetwork could block if there was a network configuration problem.
</li><li>Reading input streams from the classpath is now supported. Example: </li><li>Reading input streams from the classpath is now supported. Example:
RUNSCRIPT FROM 'classpath:org/h2/samples/newsfeed.sql'. RUNSCRIPT FROM 'classpath:org/h2/samples/newsfeed.sql'.
...@@ -30,7 +34,7 @@ Change Log ...@@ -30,7 +34,7 @@ Change Log
</li><li>TCP Server: a base directory with a prefix with a database name with prefix didn't work as expected </li><li>TCP Server: a base directory with a prefix with a database name with prefix didn't work as expected
(this only applies to non-disk and wrapped file systems). (this only applies to non-disk and wrapped file systems).
</li><li>Version 1.3: when re-running the same query so that the previous result was re-used, </li><li>Version 1.3: when re-running the same query so that the previous result was re-used,
and if the result set was large so that it was stored externally (in a temp file or in a temp table), and if the result set was large so that it was stored externally (in a temp file or in a temp table),
then reading rows from both result sets resulted in an exception or wrong behavior. then reading rows from both result sets resulted in an exception or wrong behavior.
</li><li>A new sample application that shows how to create </li><li>A new sample application that shows how to create
a read-only database in a zip file where the database file is split into multiple smaller parts. a read-only database in a zip file where the database file is split into multiple smaller parts.
......
...@@ -131,7 +131,7 @@ See <a href="advanced.html#limits_limitations">Limits and Limitations</a>. ...@@ -131,7 +131,7 @@ See <a href="advanced.html#limits_limitations">Limits and Limitations</a>.
<h3 id="reliable">Is it Reliable?</h3> <h3 id="reliable">Is it Reliable?</h3>
<p> <p>
That is not easy to say. It is still a quite new product. A lot of tests have been written, That is not easy to say. It is still a quite new product. A lot of tests have been written,
and the code coverage of these tests is higher than 80% for each package. and the code coverage of these tests is higher than 80% for each package.
Randomized stress tests are run regularly. But there are probably still Randomized stress tests are run regularly. But there are probably still
bugs that have not yet been found (as with most software). Some features are known bugs that have not yet been found (as with most software). Some features are known
to be dangerous, they are only supported for situations where performance is more important to be dangerous, they are only supported for situations where performance is more important
......
...@@ -69,7 +69,7 @@ Welcome to H2, the Java SQL database. The main features of H2 are: ...@@ -69,7 +69,7 @@ Welcome to H2, the Java SQL database. The main features of H2 are:
var e = 'at '; var e = 'at ';
var f = '.&#99;&#111;&#109;'; var f = '.&#99;&#111;&#109;';
var g = 'h2database'; var g = 'h2database';
document.write(d + c + '<!-- x -->' + e + '<span style="display:none"> (no sp<!-- -->am please) </span>' + g + f); document.write(d + c + '<!-'+'- x -' + '->' + e + '<span style="display:none"> (no sp<!-'+'- -'+'->am please) </span>' + g + f);
//--> //-->
</script> </script>
</p> </p>
......
...@@ -47,10 +47,10 @@ See also <a href="build.html#providing_patches">Providing Patches</a>. ...@@ -47,10 +47,10 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
</li></ul> </li></ul>
<h2>Priority 1</h2> <h2>Priority 1</h2>
<ul><li>Bugfixes <ul><li>Bugfixes.
</li><li>Test if out of disk space can corrupt a database. </li><li>Test if out of disk space can corrupt a database.
</li><li>More tests with MULTI_THREADED=1 </li><li>More tests with MULTI_THREADED=1 (and MULTI_THREADED with MVCC).
</li><li>Server side cursors </li><li>Server side cursors.
</li></ul> </li></ul>
<h2>Priority 2</h2> <h2>Priority 2</h2>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -74,7 +74,7 @@ public class ConditionInSelect extends Condition { ...@@ -74,7 +74,7 @@ public class ConditionInSelect extends Condition {
return ValueBoolean.get(false); return ValueBoolean.get(false);
} }
public Value getValueSlow(LocalResult rows, Value l) { private Value getValueSlow(LocalResult rows, Value l) {
boolean hasNull = false; boolean hasNull = false;
boolean result = all; boolean result = all;
boolean hasRow = false; boolean hasRow = false;
......
...@@ -35,13 +35,13 @@ public class ClobTest extends TestBase { ...@@ -35,13 +35,13 @@ public class ClobTest extends TestBase {
Db db = Db.open("jdbc:h2:mem:", "sa", "sa"); Db db = Db.open("jdbc:h2:mem:", "sa", "sa");
db.executeUpdate(MessageFormat.format(create, "VARCHAR(255)")); db.executeUpdate(MessageFormat.format(create, "VARCHAR(255)"));
db.insertAll(StringRecord.getList()); db.insertAll(StringRecord.getList());
testSimpleUpdate(db, "VARCHARs fail"); testSimpleUpdate(db, "VARCHAR fail");
db.close(); db.close();
db = Db.open("jdbc:h2:mem:", "sa", "sa"); db = Db.open("jdbc:h2:mem:", "sa", "sa");
db.executeUpdate(MessageFormat.format(create, "TEXT")); db.executeUpdate(MessageFormat.format(create, "TEXT"));
db.insertAll(StringRecord.getList()); db.insertAll(StringRecord.getList());
testSimpleUpdate(db, "CLOBs fail because of single quote artifacts"); testSimpleUpdate(db, "CLOB fail because of single quote artifacts");
db.close(); db.close();
} }
......
...@@ -666,4 +666,6 @@ projection managing observer misuse windowed discriminator abort familiar rice ...@@ -666,4 +666,6 @@ projection managing observer misuse windowed discriminator abort familiar rice
reachable mind develop disposition extras arithmetics readwrite syncable reachable mind develop disposition extras arithmetics readwrite syncable
requeried requery closable curr outdated market accurate borg theis welford requeried requery closable curr outdated market accurate borg theis welford
ooq exceeded eye hannibal stels garringer czech prevention propagate ooq exceeded eye hannibal stels garringer czech prevention propagate
compromise portion compromise portion nodded rapping door stealing napping artifacts lore
\ No newline at end of file pondered curious muttered quaint chamber nearly unwrapped flows weary volume
tapping gently dreary wrapping tis moger udt
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论