Skip to content

H2数据库源代码学习研究(包括代码注释、文档、用于代码分析的测试用例)

Notifications You must be signed in to change notification settings

duzeng/H2-Research

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

项目用途

H2数据库源代码学习研究(包括代码注释、文档、用于代码分析的测试用例)

目录结构

  • my-docs: 综合文档

  • my-test: 用于代码分析的测试用例

  • h2: H2数据库的最新源代码,在源代码中附加了便于分析理解代码的注释

导入项目

  • 打开Eclipse,选择File -> Import -> Existing Projects into Workspace

运行或调试H2

  • 右击h2/test/my/test/MyServer.java文件,点Run As或Debug As -> Java Application

  • 如果出现"TCP server running ..."这样的提示就ok啦

测试

  • my.test包中的类几乎都可直接运行

Welcome to H2, the Java SQL database. Build Status

The main features of H2 are:

  1. Very fast, open source, JDBC API
  2. Embedded and server modes; in-memory databases
  3. Browser based Console application
  4. Small footprint: around 1.5 MB jar file size

More information: http://h2database.com

Features

H2 Derby HSQLDB MySQL PostgreSQL
Pure Java Yes Yes Yes No No
Memory Mode Yes Yes Yes No No
Encrypted Database Yes Yes Yes No No
ODBC Driver Yes No No Yes Yes
Fulltext Search Yes No No Yes Yes
Multi Version Concurrency Yes No Yes Yes Yes
Footprint (jar/dll size) ~1 MB ~2 MB ~1 MB ~4 MB ~6 MB

About

H2数据库源代码学习研究(包括代码注释、文档、用于代码分析的测试用例)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 92.5%
  • HTML 4.5%
  • PLSQL 2.4%
  • JavaScript 0.2%
  • CSS 0.1%
  • Batchfile 0.1%
  • Other 0.2%