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

--no commit message

--no commit message
上级 6a53cfa5
...@@ -486,6 +486,9 @@ You will be able to change the connection properties: ...@@ -486,6 +486,9 @@ You will be able to change the connection properties:
<tr><td>Password</td><td>sa</td><td>The database password.</td></tr> <tr><td>Password</td><td>sa</td><td>The database password.</td></tr>
</table> </table>
<p> <p>
To improve performance, please enable 'server side prepare' under Options / Datasource / Page 2 / Server side prepare.
</p>
<p>
Afterwards, you may use this data source. Afterwards, you may use this data source.
</p> </p>
......
...@@ -18,7 +18,14 @@ Change Log ...@@ -18,7 +18,14 @@ Change Log
<h1>Change Log</h1> <h1>Change Log</h1>
<h2>Next Version (unreleased)</h2> <h2>Next Version (unreleased)</h2>
<ul><li>- <ul><li>The database now tries to detect if the classloader or virtual machine has
almost shut down by checking if static final variables are set to null.
</li><li>Compatibility for MS SQL Server DATEDIFF(YYYY, .., ..)
</li><li>ResultSet.getObject for CLOB or BLOB will return a java.sql.Clob / java.sql.Blob object instead of
a java.io.Reader / java.io.InputStream as in version 1.0. This behavior can be changed using the system
property h2.returnLobObjects (true by default for version 1.1).
</li><li>The interface CloseListener has a new method 'remove' that is called when the trigger is dropped.
</li><li>Fulltext search: there was a memory leak when creating and dropping fulltext indexes in a loop.
</li></ul> </li></ul>
<h2>Version 1.1.103 (2008-11-07)</h2> <h2>Version 1.1.103 (2008-11-07)</h2>
......
...@@ -385,6 +385,7 @@ Of course, patches are always welcome, but are not always applied as is. Patches ...@@ -385,6 +385,7 @@ Of course, patches are always welcome, but are not always applied as is. Patches
</li><li>ANALYZE: For unique indexes that allow null, count the number of null. </li><li>ANALYZE: For unique indexes that allow null, count the number of null.
</li><li>AUTO_SERVER: support changing IP addresses (disable a network while the database is open). </li><li>AUTO_SERVER: support changing IP addresses (disable a network while the database is open).
</li><li>Avoid using java.util.Calendar internally because it's slow, complicated, and seems to be buggy. </li><li>Avoid using java.util.Calendar internally because it's slow, complicated, and seems to be buggy.
</li><li>Support TRUNCATE .. CASCADE like PostgreSQL.
</li></ul> </li></ul>
<h2>Not Planned</h2> <h2>Not Planned</h2>
......
...@@ -18,6 +18,8 @@ Tutorial ...@@ -18,6 +18,8 @@ Tutorial
<h1>Tutorial</h1> <h1>Tutorial</h1>
<a href="#tutorial_starting_h2_console"> <a href="#tutorial_starting_h2_console">
Starting and Using the H2 Console</a><br /> Starting and Using the H2 Console</a><br />
<a href="#console_settings">
Settings of the H2 Console</a><br />
<a href="#connecting_using_jdbc"> <a href="#connecting_using_jdbc">
Connecting to a Database using JDBC</a><br /> Connecting to a Database using JDBC</a><br />
<a href="#creating_new_databases"> <a href="#creating_new_databases">
...@@ -170,13 +172,6 @@ Multiple concurrent browser sessions are supported. As that the database objects ...@@ -170,13 +172,6 @@ Multiple concurrent browser sessions are supported. As that the database objects
the amount of concurrent work is limited by the memory available to the server application. the amount of concurrent work is limited by the memory available to the server application.
</p> </p>
<h3>Application Properties</h3>
<p>
Starting the server will create a configuration file in you local home directory called <code>.h2.server.properties</code>.
For Windows installations, this file will be in the directory <code>C:\Documents and Settings\[username]</code>.
This file contains the settings of the application.
</p>
<h3>Login</h3> <h3>Login</h3>
<p> <p>
At the login page, you need to provide connection information to connect to a database. At the login page, you need to provide connection information to connect to a database.
...@@ -229,6 +224,15 @@ If you don't have the icon (because you started it in another way), ...@@ -229,6 +224,15 @@ If you don't have the icon (because you started it in another way),
press [Ctrl]+[C] on the console where the server was started (Windows), press [Ctrl]+[C] on the console where the server was started (Windows),
or close the console window. or close the console window.
</p> </p>
<br /><a name="console_settings"></a>
<h2>Settings of the H2 Console</h2>
<p>
The settings of the H2 Console are stored in a configuration file
called <code>.h2.server.properties</code> in you user home directory.
For Windows installations, the user home directory is usually <code>C:\Documents and Settings\[username]</code>.
The configuration file contains the settings of the application and is automatically created when the H2 Console is first started.
</p>
<br /><a name="connecting_using_jdbc"></a> <br /><a name="connecting_using_jdbc"></a>
<h2>Connecting to a Database using JDBC</h2> <h2>Connecting to a Database using JDBC</h2>
......
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="210mm"
height="297mm"
id="svg2"
sodipodi:version="0.32"
inkscape:version="0.46"
sodipodi:docname="h2-logo.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape">
<defs
id="defs4">
<linearGradient
id="linearGradient3180">
<stop
style="stop-color:#0028ff;stop-opacity:1;"
offset="0"
id="stop3182" />
<stop
style="stop-color:#0004b1;stop-opacity:1;"
offset="1"
id="stop3184" />
</linearGradient>
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 526.18109 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="744.09448 : 526.18109 : 1"
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
id="perspective10" />
<inkscape:perspective
id="perspective2410"
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
inkscape:vp_z="744.09448 : 526.18109 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 526.18109 : 1"
sodipodi:type="inkscape:persp3d" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3180"
id="linearGradient3196"
x1="110.00508"
y1="461.41727"
x2="636.30145"
y2="461.41727"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-68.690373,-242.43661)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3180"
id="linearGradient2398"
gradientUnits="userSpaceOnUse"
x1="110.00508"
y1="461.41727"
x2="636.30145"
y2="461.41727"
gradientTransform="translate(-63.000294,82.315191)" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.49497475"
inkscape:cx="291.79875"
inkscape:cy="495.05695"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:window-width="1440"
inkscape:window-height="803"
inkscape:window-x="0"
inkscape:window-y="70"
showguides="true"
inkscape:guide-bbox="true"
inkscape:snap-global="true"
inkscape:object-paths="true"
objecttolerance="6">
<inkscape:grid
type="xygrid"
id="grid2408"
visible="true"
enabled="true" />
</sodipodi:namedview>
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Ebene 1"
inkscape:groupmode="layer"
id="layer1">
<rect
style="opacity:1;fill:#1021ff;fill-opacity:1;stroke:none;stroke-width:1.25;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect2416"
width="531.42859"
height="291.42856"
x="35.681995"
y="51.397469"
inkscape:export-filename="C:\data\h2database\h2\src\docsrc\images\text2418.png"
inkscape:export-xdpi="123.15"
inkscape:export-ydpi="123.15" />
<path
style="fill:url(#linearGradient3196);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.0010252px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 567.11059,95.135291 C 317.94601,125.92745 97.917928,208.10614 41.815218,342.82602 L 567.11059,342.82602 L 567.11059,95.135291 z"
id="path2400"
sodipodi:nodetypes="cccc"
inkscape:export-filename="C:\data\h2database\h2\src\docsrc\images\text2418.png"
inkscape:export-xdpi="123.15"
inkscape:export-ydpi="123.15" />
<image
xlink:href="h2-logo.png"
sodipodi:absref="C:\data\h2database\h2\src\docsrc\images\h2-logo.png"
width="530"
height="288"
transform="translate(40,717.36218)"
id="image2418" />
<path
style="font-size:204.59568787px;font-style:normal;font-weight:normal;line-height:125%;fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;font-family:Bitstream Vera Sans"
d="M 324.56121,174.83457 L 354.83099,174.83457 L 354.83099,224.28519 L 381.70415,224.28519 L 381.70415,174.83457 L 411.97392,174.83457 L 411.97392,308.20139 L 381.70415,308.20139 L 381.70415,252.75676 L 354.83099,252.75676 L 354.83099,308.20139 L 324.56121,308.20139 L 324.56121,174.83457 z M 467.91806,224.28519 L 438.64729,224.28519 C 438.64728,214.29526 439.06353,206.46975 439.89604,200.80863 C 440.72853,195.14773 442.46013,190.13608 445.09085,185.77365 C 447.72154,181.41146 451.75084,177.91496 457.17878,175.28412 C 462.60666,172.65355 469.05022,171.3382 476.50948,171.33806 C 488.83044,171.3382 498.28766,174.56831 504.88115,181.02839 C 511.47448,187.48872 514.77118,196.81274 514.77127,209.00045 C 514.77118,215.26096 513.50578,222.00422 510.97506,229.23025 C 508.44417,236.45644 504.64797,244.3985 499.58643,253.05646 L 483.20279,281.02853 L 510.07596,281.02853 L 510.07596,308.20139 L 433.95198,308.20139 L 477.50848,233.77571 C 482.83644,224.85138 485.50044,216.72616 485.5005,209.40005 C 485.50044,205.73715 484.70124,202.74014 483.10289,200.40903 C 481.50443,198.07814 479.50643,196.91264 477.10888,196.91253 C 473.31262,196.91264 470.83177,198.42779 469.66631,201.45799 C 468.50077,204.4884 467.91802,210.46576 467.91806,219.39008 L 467.91806,224.28519 z"
id="text2418"
inkscape:export-xdpi="123.15"
inkscape:export-ydpi="123.15" />
<rect
style="opacity:1;fill:#1021ff;fill-opacity:1;stroke:none;stroke-width:1.25;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect2390"
width="531.42859"
height="291.42856"
x="41.372082"
y="376.14926" />
<path
style="fill:url(#linearGradient2398);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.0010252px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 572.80066,419.8871 C 323.63606,450.67926 103.60801,532.85795 47.505298,667.57783 L 572.80066,667.57783 L 572.80066,419.8871 z"
id="path2392"
sodipodi:nodetypes="cccc" />
<text
xml:space="preserve"
style="font-size:204.59568787px;font-style:normal;font-weight:normal;line-height:125%;fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;font-family:Bitstream Vera Sans"
x="315.96561"
y="632.95319"
id="text2394"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan2396"
x="315.96561"
y="632.95319"
style="font-size:204.59568787px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;font-family:Tw Cen MT Condensed Extra Bold;-inkscape-font-specification:'Tw Cen MT Condensed Extra Bold,'">H2</tspan></text>
<text
xml:space="preserve"
style="font-size:40px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
x="606.09149"
y="858.4129"
id="text2401"><tspan
sodipodi:role="line"
id="tspan2403"
x="606.09149"
y="858.4129">png</tspan></text>
<text
xml:space="preserve"
style="font-size:40px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
x="602.0509"
y="535.16412"
id="text2405"><tspan
sodipodi:role="line"
id="tspan2407"
x="602.0509"
y="535.16412">font</tspan></text>
</g>
</svg>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论