提交 692c07f9 authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 85bdf3db
...@@ -18,7 +18,12 @@ Change Log ...@@ -18,7 +18,12 @@ Change Log
<h1>Change Log</h1> <h1>Change Log</h1>
<h2>Next Version (unreleased)</h2> <h2>Next Version (unreleased)</h2>
<ul><li>H2 Console: the language was reset to the browser language when disconnecting. <ul><li>ALTER TABLE could throw an exception "object already exists" in some cases.
</li><li>Views: in some situations, an ArrayIndexOutOfBoundsException
was thrown when using the same view concurrently.
</li><li>java.util.UUID is now supported in PreparedStatement.setObject and user defined Java functions.
ResultSet.getObject() returns a java.util.UUID when using the UUID data type.
</li><li>H2 Console: the language was reset to the browser language when disconnecting.
</li><li>H2 Console: improved Polish translation. </li><li>H2 Console: improved Polish translation.
</li><li>Server-less multi-connection mode: more bugs are fixed. </li><li>Server-less multi-connection mode: more bugs are fixed.
</li><li>The download page now included the SHA1 checksums. </li><li>The download page now included the SHA1 checksums.
......
...@@ -27,7 +27,7 @@ Microsoft .NET technology). The following JaQu code: ...@@ -27,7 +27,7 @@ Microsoft .NET technology). The following JaQu code:
</p> </p>
<pre> <pre>
Product p = new Product(); Product p = new Product();
List&lt;Product> soldOutProducts = List&lt;Product&gt; soldOutProducts =
db.from(p).where(p.unitsInStock).is(0).select(); db.from(p).where(p.unitsInStock).is(0).select();
</pre> </pre>
<p> <p>
...@@ -121,7 +121,7 @@ public class Test { ...@@ -121,7 +121,7 @@ public class Test {
private void testWhereSimple2() throws Exception { private void testWhereSimple2() throws Exception {
Product p = new Product(); Product p = new Product();
List&lt;Product> soldOutProducts = List&lt;Product&gt; soldOutProducts =
db.from(p). db.from(p).
where(p.unitsInStock).is(0). where(p.unitsInStock).is(0).
orderBy(p.productId).select(); orderBy(p.productId).select();
...@@ -129,7 +129,7 @@ public class Test { ...@@ -129,7 +129,7 @@ public class Test {
private void testWhereSimple3() throws Exception { private void testWhereSimple3() throws Exception {
Product p = new Product(); Product p = new Product();
List&lt;Product> expensiveInStockProducts = List&lt;Product&gt; expensiveInStockProducts =
db.from(p). db.from(p).
where(p.unitsInStock).bigger(0). where(p.unitsInStock).bigger(0).
and(p.unitPrice).bigger(3.0). and(p.unitPrice).bigger(3.0).
...@@ -138,7 +138,7 @@ public class Test { ...@@ -138,7 +138,7 @@ public class Test {
private void testWhereSimple4() throws Exception { private void testWhereSimple4() throws Exception {
Customer c = new Customer(); Customer c = new Customer();
List&lt;Customer> waCustomers = List&lt;Customer&gt; waCustomers =
db.from(c). db.from(c).
where(c.region).is("WA"). where(c.region).is("WA").
select(); select();
...@@ -146,7 +146,7 @@ public class Test { ...@@ -146,7 +146,7 @@ public class Test {
private void testSelectSimple2() throws Exception { private void testSelectSimple2() throws Exception {
Product p = new Product(); Product p = new Product();
List&lt;String> productNames = List&lt;String&gt; productNames =
db.from(p). db.from(p).
orderBy(p.productId).select(p.productName); orderBy(p.productId).select(p.productName);
} }
...@@ -159,7 +159,7 @@ public class Test { ...@@ -159,7 +159,7 @@ public class Test {
private void testAnonymousTypes3() throws Exception { private void testAnonymousTypes3() throws Exception {
final Product p = new Product(); final Product p = new Product();
List&lt;ProductPrice> productInfos = List&lt;ProductPrice&gt; productInfos =
db.from(p).orderBy(p.productId). db.from(p).orderBy(p.productId).
select(new ProductPrice() {{ select(new ProductPrice() {{
productName = p.productName; productName = p.productName;
...@@ -177,7 +177,7 @@ public class Test { ...@@ -177,7 +177,7 @@ public class Test {
private void testSelectManyCompoundFrom2() throws Exception { private void testSelectManyCompoundFrom2() throws Exception {
final Customer c = new Customer(); final Customer c = new Customer();
final Order o = new Order(); final Order o = new Order();
List&lt;CustOrder> orders = List&lt;CustOrder&gt; orders =
db.from(c). db.from(c).
innerJoin(o).on(c.customerId).is(o.customerId). innerJoin(o).on(c.customerId).is(o.customerId).
where(o.total).smaller(new BigDecimal("500.00")). where(o.total).smaller(new BigDecimal("500.00")).
...@@ -191,7 +191,7 @@ public class Test { ...@@ -191,7 +191,7 @@ public class Test {
private void testLength() throws Exception { private void testLength() throws Exception {
Product p = new Product(); Product p = new Product();
List&lt;Integer> lengths = List&lt;Integer&gt; lengths =
db.from(p). db.from(p).
where(length(p.productName)).smaller(10). where(length(p.productName)).smaller(10).
orderBy(1). orderBy(1).
...@@ -209,7 +209,7 @@ public class Test { ...@@ -209,7 +209,7 @@ public class Test {
private void testGroup() throws Exception { private void testGroup() throws Exception {
final Product p = new Product(); final Product p = new Product();
List&lt;ProductGroup> list = List&lt;ProductGroup&gt; list =
db.from(p). db.from(p).
groupBy(p.category). groupBy(p.category).
orderBy(1). orderBy(1).
......
...@@ -38,8 +38,10 @@ H2Sharp: ADO.NET interface for the H2 database engine</a> ...@@ -38,8 +38,10 @@ H2Sharp: ADO.NET interface for the H2 database engine</a>
<a href="http://geosysin.iict.ch/irstv-trac/wiki/H2spatial/Download"> <a href="http://geosysin.iict.ch/irstv-trac/wiki/H2spatial/Download">
H2 Spatial: spatial functions to H2 database</a> H2 Spatial: spatial functions to H2 database</a>
<h2>Blogs</h2> <h2>Blog Articles</h2>
<a href="http://blog.flexive.org/2008/12/05/porting-flexive-to-the-h2-database/"> <a href="http://sbdevel.wordpress.com/2009/06/15/efficient-sorting-and-iteration-on-large-databases">
Efficient sorting and iteration on large databases (2009-06-15)</a><br />
<a href="http://blog.flexive.org/2008/12/05/porting-flexive-to-the-h2-database">
Porting Flexive to the H2 Database (2008-12-05)</a><br /> Porting Flexive to the H2 Database (2008-12-05)</a><br />
<a href="http://blogs.sun.com/theaquarium/entry/h2_database_with_glassfish"> <a href="http://blogs.sun.com/theaquarium/entry/h2_database_with_glassfish">
H2 Database with GlassFish (2008-11-24)</a><br /> H2 Database with GlassFish (2008-11-24)</a><br />
...@@ -542,7 +544,7 @@ A GUI application that allows you to find users with similar bookmarks to the us ...@@ -542,7 +544,7 @@ A GUI application that allows you to find users with similar bookmarks to the us
<p><a href="http://www.springfuse.com"> <p><a href="http://www.springfuse.com">
Springfuse</a><br /> Springfuse</a><br />
Code generation For Spring, Spring MVC & Hibernate. Code generation For Spring, Spring MVC &amp; Hibernate.
</p> </p>
<p><a href="http://sqlorm.sourceforge.net/index.html"> <p><a href="http://sqlorm.sourceforge.net/index.html">
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论