Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
2c6cde93
提交
2c6cde93
authored
10月 09, 2008
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
An OSGi BundleActivator is included in org.h2.util.
上级
b6405241
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
1020 行增加
和
1004 行删除
+1020
-1004
changelog.html
h2/src/docsrc/html/changelog.html
+2
-2
_docs_en.utf8.txt
h2/src/docsrc/text/_docs_en.utf8.txt
+335
-332
_docs_ja.utf8.txt
h2/src/docsrc/text/_docs_ja.utf8.txt
+335
-332
_docs_en.properties
h2/src/docsrc/textbase/_docs_en.properties
+334
-333
MANIFEST.MF
h2/src/main/META-INF/MANIFEST.MF
+1
-1
DbDriverActivator.java
h2/src/main/org/h2/util/DbDriverActivator.java
+7
-1
Build.java
h2/src/tools/org/h2/build/Build.java
+5
-2
dictionary.txt
h2/src/tools/org/h2/build/doc/dictionary.txt
+1
-1
没有找到文件。
h2/src/docsrc/html/changelog.html
浏览文件 @
2c6cde93
...
@@ -19,8 +19,8 @@ Change Log
...
@@ -19,8 +19,8 @@ Change Log
<h2>
Next Version (unreleased)
</h2>
<h2>
Next Version (unreleased)
</h2>
<ul><li>
OSGi meta data is included in the manifest file.
<ul><li>
OSGi meta data is included in the manifest file.
An OSGi BundleActivator is included: it loads the database driver when starting the bundle,
An OSGi BundleActivator is included: it loads the database driver when starting the bundle,
and unloads it when stopping the bundle.
and unloads it when stopping the bundle.
</li><li>
The default value for MAX_MEMORY_UNDO to 50000.
</li><li>
The default value for MAX_MEMORY_UNDO to 50000.
</li><li>
For alias columns, ResultSetMetaData.getTableName() and getColumnName() now
</li><li>
For alias columns, ResultSetMetaData.getTableName() and getColumnName() now
return the real table and column name in the default mode.
return the real table and column name in the default mode.
...
...
h2/src/docsrc/text/_docs_en.utf8.txt
浏览文件 @
2c6cde93
差异被折叠。
点击展开。
h2/src/docsrc/text/_docs_ja.utf8.txt
浏览文件 @
2c6cde93
差异被折叠。
点击展开。
h2/src/docsrc/textbase/_docs_en.properties
浏览文件 @
2c6cde93
差异被折叠。
点击展开。
h2/src/main/META-INF/MANIFEST.MF
浏览文件 @
2c6cde93
...
@@ -5,7 +5,7 @@ Implementation-Version: ${version}
...
@@ -5,7 +5,7 @@ Implementation-Version: ${version}
Build-Jdk: ${buildJdk}
Build-Jdk: ${buildJdk}
Created-By: ${createdBy}
Created-By: ${createdBy}
${mainClassTag}
${mainClassTag}
Bundle-Activator: org.h2.
tools
.DbDriverActivator
Bundle-Activator: org.h2.
util
.DbDriverActivator
Bundle-Name: H2 Database Engine
Bundle-Name: H2 Database Engine
Bundle-Vendor: H2 Group
Bundle-Vendor: H2 Group
Bundle-Version: ${version}
Bundle-Version: ${version}
...
...
h2/src/main/org/h2/
tools
/DbDriverActivator.java
→
h2/src/main/org/h2/
util
/DbDriverActivator.java
浏览文件 @
2c6cde93
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* (http://h2database.com/html/license.html).
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
* Initial Developer: H2 Group
*/
*/
package
org
.
h2
.
tools
;
package
org
.
h2
.
util
;
import
org.osgi.framework.BundleActivator
;
import
org.osgi.framework.BundleActivator
;
import
org.osgi.framework.BundleContext
;
import
org.osgi.framework.BundleContext
;
...
@@ -15,10 +15,16 @@ import org.osgi.framework.BundleContext;
...
@@ -15,10 +15,16 @@ import org.osgi.framework.BundleContext;
*/
*/
public
class
DbDriverActivator
implements
BundleActivator
{
public
class
DbDriverActivator
implements
BundleActivator
{
/**
* Start the bundle. This will load the database driver.
*/
public
void
start
(
BundleContext
bundleContext
)
{
public
void
start
(
BundleContext
bundleContext
)
{
org
.
h2
.
Driver
.
load
();
org
.
h2
.
Driver
.
load
();
}
}
/**
* Stop the bundle. This will unload the database driver.
*/
public
void
stop
(
BundleContext
bundleContext
)
{
public
void
stop
(
BundleContext
bundleContext
)
{
org
.
h2
.
Driver
.
unload
();
org
.
h2
.
Driver
.
unload
();
}
}
...
...
h2/src/tools/org/h2/build/Build.java
浏览文件 @
2c6cde93
...
@@ -103,6 +103,7 @@ public class Build extends BuildBase {
...
@@ -103,6 +103,7 @@ public class Build extends BuildBase {
File
.
pathSeparator
+
"ext/servlet-api-2.4.jar"
+
File
.
pathSeparator
+
"ext/servlet-api-2.4.jar"
+
File
.
pathSeparator
+
"ext/lucene-core-2.2.0.jar"
+
File
.
pathSeparator
+
"ext/lucene-core-2.2.0.jar"
+
File
.
pathSeparator
+
"ext/slf4j-api-1.5.0.jar"
+
File
.
pathSeparator
+
"ext/slf4j-api-1.5.0.jar"
+
File
.
pathSeparator
+
"ext/org.osgi.core-1.2.0.jar"
+
File
.
pathSeparator
+
System
.
getProperty
(
"java.home"
)
+
"/../lib/tools.jar"
;
File
.
pathSeparator
+
System
.
getProperty
(
"java.home"
)
+
"/../lib/tools.jar"
;
FileList
files
;
FileList
files
;
if
(
clientOnly
)
{
if
(
clientOnly
)
{
...
@@ -319,7 +320,8 @@ public class Build extends BuildBase {
...
@@ -319,7 +320,8 @@ public class Build extends BuildBase {
"/../lib/tools.jar"
+
"/../lib/tools.jar"
+
File
.
pathSeparator
+
"ext/slf4j-api-1.5.0.jar"
+
File
.
pathSeparator
+
"ext/slf4j-api-1.5.0.jar"
+
File
.
pathSeparator
+
"ext/servlet-api-2.4.jar"
+
File
.
pathSeparator
+
"ext/servlet-api-2.4.jar"
+
File
.
pathSeparator
+
"ext/lucene-core-2.2.0.jar"
,
File
.
pathSeparator
+
"ext/lucene-core-2.2.0.jar"
+
File
.
pathSeparator
+
"ext/org.osgi.core-1.2.0.jar"
,
"-subpackages"
,
"org.h2"
,
"-subpackages"
,
"org.h2"
,
"-exclude"
,
"org.h2.test.jaqu:org.h2.jaqu"
});
"-exclude"
,
"org.h2.test.jaqu:org.h2.jaqu"
});
...
@@ -330,7 +332,8 @@ public class Build extends BuildBase {
...
@@ -330,7 +332,8 @@ public class Build extends BuildBase {
"-classpath"
,
System
.
getProperty
(
"java.home"
)
+
"/../lib/tools.jar"
+
"-classpath"
,
System
.
getProperty
(
"java.home"
)
+
"/../lib/tools.jar"
+
File
.
pathSeparator
+
"ext/slf4j-api-1.5.0.jar"
+
File
.
pathSeparator
+
"ext/slf4j-api-1.5.0.jar"
+
File
.
pathSeparator
+
"ext/servlet-api-2.4.jar"
+
File
.
pathSeparator
+
"ext/servlet-api-2.4.jar"
+
File
.
pathSeparator
+
"ext/lucene-core-2.2.0.jar"
,
File
.
pathSeparator
+
"ext/lucene-core-2.2.0.jar"
+
File
.
pathSeparator
+
"ext/org.osgi.core-1.2.0.jar"
,
"-subpackages"
,
"org.h2"
,
"-subpackages"
,
"org.h2"
,
"-exclude"
,
"org.h2.test.jaqu:org.h2.jaqu"
,
"-exclude"
,
"org.h2.test.jaqu:org.h2.jaqu"
,
"-package"
,
"-package"
,
...
...
h2/src/tools/org/h2/build/doc/dictionary.txt
浏览文件 @
2c6cde93
...
@@ -564,4 +564,4 @@ strictly greg germany abbreviates frontends cleversafe payload cloneable
...
@@ -564,4 +564,4 @@ strictly greg germany abbreviates frontends cleversafe payload cloneable
scripting jaks reconnected serverlist safes somewhere anzo war contacts helpful
scripting jaks reconnected serverlist safes somewhere anzo war contacts helpful
implies looping cataloguing mapper frees javaw geographic borges grass
implies looping cataloguing mapper frees javaw geographic borges grass
somehow marcio groove roy gis matt targeted brazil dig opt deregister
somehow marcio groove roy gis matt targeted brazil dig opt deregister
classname recaptcha
classname recaptcha
unload unloaded unloads activator
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论