Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
c23dcee7
提交
c23dcee7
authored
7月 26, 2008
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
automate release process
上级
22f467ed
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
139 行增加
和
39 行删除
+139
-39
changelog.html
h2/src/docsrc/html/changelog.html
+1
-1
TestAll.java
h2/src/test/org/h2/test/TestAll.java
+7
-0
SamplesTest.java
h2/src/test/org/h2/test/jaqu/SamplesTest.java
+5
-6
Build.java
h2/src/tools/org/h2/build/Build.java
+4
-4
BuildBase.java
h2/src/tools/org/h2/build/BuildBase.java
+120
-26
SwitchSource.java
h2/src/tools/org/h2/build/code/SwitchSource.java
+1
-1
dictionary.txt
h2/src/tools/org/h2/build/doc/dictionary.txt
+1
-1
没有找到文件。
h2/src/docsrc/html/changelog.html
浏览文件 @
c23dcee7
...
...
@@ -17,7 +17,7 @@ Change Log
<h2>
Next Version (unreleased)
</h2>
<ul><li>
ORDER BY on tableName.columnName didn't work correctly if the column
name was also used as an alias.
name was also used as an alias.
</li><li>
H2 Console: The progress display when opening a database has been improved.
</li><li>
The error message when the server doesn't start has been improved.
</li><li>
Key values can now be changed in updatable result sets.
...
...
h2/src/test/org/h2/test/TestAll.java
浏览文件 @
c23dcee7
...
...
@@ -270,6 +270,13 @@ java org.h2.test.TestAll timer
/*
H2 databases need to have a file name prefix.
Probably the database should throw a meaningful exception
if the last element in the URL path is a slash (or backslash).
I will try to implement that for the next release.
Improved compatibility with DB2: support for FETCH .. ROWS
drop table test;
create table test(a int);
insert into test values(1);
...
...
h2/src/test/org/h2/test/jaqu/SamplesTest.java
浏览文件 @
c23dcee7
...
...
@@ -6,8 +6,8 @@
*/
package
org
.
h2
.
test
.
jaqu
;
//## Java 1.5 begin ##
import
java.math.BigDecimal
;
//## Java 1.5 begin ##
import
java.util.List
;
import
org.h2.jaqu.Db
;
...
...
@@ -179,13 +179,13 @@ public class SamplesTest extends TestBase {
/**
* A result set class containing the product name and price.
*/
//## Java 1.5 begin ##
public
static
class
ProductPrice
{
public
String
productName
;
public
String
category
;
public
Double
price
;
}
//## Java 1.5 begin ##
private
void
testAnonymousTypes3
()
throws
Exception
{
// var productInfos =
...
...
@@ -220,13 +220,13 @@ public class SamplesTest extends TestBase {
/**
* A result set class containing customer data and the order total.
*/
//## Java 1.5 begin ##
public
static
class
CustOrder
{
public
String
customerId
;
public
Integer
orderId
;
public
BigDecimal
total
;
}
//## Java 1.5 begin ##
private
void
testSelectManyCompoundFrom2
()
throws
Exception
{
// var orders =
...
...
@@ -280,18 +280,17 @@ public class SamplesTest extends TestBase {
long
count
=
db
.
from
(
new
Product
()).
selectCount
();
assertEquals
(
77
,
count
);
}
//## Java 1.5 end ##
//## Java 1.5 end ##
/**
* A result set class containing product groups.
*/
//## Java 1.5 begin ##
public
static
class
ProductGroup
{
public
String
category
;
public
Long
productCount
;
}
//## Java 1.5 begin ##
private
void
testGroup
()
throws
Exception
{
// var orderGroups =
...
...
h2/src/tools/org/h2/build/Build.java
浏览文件 @
c23dcee7
...
...
@@ -242,7 +242,7 @@ public class Build extends BuildBase {
mkdir
(
"docs/javadoc"
);
javadoc
(
new
String
[]
{
"-sourcepath"
,
"src/main"
,
"org.h2.jdbc"
,
"org.h2.jdbcx"
,
"org.h2.tools"
,
"org.h2.api"
,
"org.h2.constant"
,
"-doclet"
,
"org.h2.build.doclet.Doclet"
});
"-doclet"
,
"org.h2.build.doclet.Doclet"
});
copy
(
"docs/javadoc"
,
getFiles
(
"src/docsrc/javadoc"
),
"src/docsrc/javadoc"
);
}
...
...
@@ -250,8 +250,7 @@ public class Build extends BuildBase {
* Create the Javadocs of the implementation.
*/
public
void
javadocImpl
()
{
mkdir
(
"docs/javadocImpl"
);
mkdir
(
"docs/javadocImpl2"
);
javadoc
(
new
String
[]
{
"-sourcepath"
,
"src/main"
+
File
.
pathSeparator
+
"src/test"
+
File
.
pathSeparator
+
"src/tools"
,
...
...
@@ -263,7 +262,7 @@ public class Build extends BuildBase {
File
.
pathSeparator
+
"ext/servlet-api-2.4.jar"
+
File
.
pathSeparator
+
"ext/lucene-core-2.2.0.jar"
,
"-subpackages"
,
"org.h2"
,
"-exclude"
,
"org.h2.
build.*,org.h2.dev.*
"
});
"-exclude"
,
"org.h2.
test.jaqu:org.h2.jaqu
"
});
System
.
setProperty
(
"h2.interfacesOnly"
,
"false"
);
System
.
setProperty
(
"h2.destDir"
,
"docs/javadocImpl"
);
...
...
@@ -274,6 +273,7 @@ public class Build extends BuildBase {
File
.
pathSeparator
+
"ext/servlet-api-2.4.jar"
+
File
.
pathSeparator
+
"ext/lucene-core-2.2.0.jar"
,
"-subpackages"
,
"org.h2"
,
"-exclude"
,
"org.h2.test.jaqu:org.h2.jaqu"
,
"-package"
,
"-doclet"
,
"org.h2.build.doclet.Doclet"
});
copy
(
"docs/javadocImpl"
,
getFiles
(
"src/docsrc/javadoc"
),
"src/docsrc/javadoc"
);
...
...
h2/src/tools/org/h2/build/BuildBase.java
浏览文件 @
c23dcee7
差异被折叠。
点击展开。
h2/src/tools/org/h2/build/code/SwitchSource.java
浏览文件 @
c23dcee7
...
...
@@ -157,7 +157,7 @@ public class SwitchSource {
File
fileCopy
=
new
File
(
name
);
fileNew
.
renameTo
(
fileCopy
);
fileBack
.
delete
();
System
.
out
.
println
(
name
);
//
System.out.println(name);
}
}
...
...
h2/src/tools/org/h2/build/doc/dictionary.txt
浏览文件 @
c23dcee7
...
...
@@ -551,4 +551,4 @@ geocoder geocoding longitude estimating microarray latitude magnolia pfgrc
refill analyzers patches popular came growing indication arabic graphic toc
numbering goto outline makensis macro hyperlink dispatch setlocal wend
widows msgbox designer styles families uno soffice orphans stan ucb rem
pdfurl upate pagebreak
pdfurl upate pagebreak
ren echo
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论