Apache Empire-db 2.3.0發(fā)布
Apache Empire-db 2.3.0 發(fā)布了,這是 Empire-db 從孵化階段畢業(yè)后***發(fā)行的版本,現(xiàn)在 Empire-db 的首頁(yè)地址為:
該版本主要改進(jìn)內(nèi)容:
- Allow specification of delete action for each DBRelation (ON DELETE CASCADE)
- Extend Record and Column interfaces by Record.isReadOnly() and Column.validate() methods
- Simplify use of DBCommand:DBCommandParam class
- Allow expression based indexes
- Allow to specify the character column length in bytes (Non-Unicode) or
- chars (Unicode) for DDL generation
以及大量的 bug 修復(fù)。
Apache Empire-db 是一個(gè)開源的關(guān)系型數(shù)據(jù)持久化組件,能夠?qū)崿F(xiàn)數(shù)據(jù)庫(kù)無(wú)關(guān)的動(dòng)態(tài)查詢定義,簡(jiǎn)便的數(shù)據(jù)讀取和更新。與其它持久化組件相比 如:Hibernate、TopLink、iBATIS或JPA實(shí)現(xiàn),Empire-db更注重編譯期類型安全,減少冗余,開發(fā)效率的改進(jìn)。 Empire-db所有的數(shù)據(jù)庫(kù)實(shí)體都通過動(dòng)態(tài)bean進(jìn)行管理,因此允許在運(yùn)行期改變數(shù)據(jù)模型。
Maven
在項(xiàng)目中使用的Apache empire-DB 的POM文件應(yīng)添加下面的依賴:
- <dependency>
- <groupId>org.apache.empire-db</groupId>
- <artifactId>empire-db</artifactId>
- <version>2.3.0</version>
- </dependency>
使用Apache empire DB-Struts2的擴(kuò)展,在您的項(xiàng)目添加以下依賴項(xiàng)目的POM文件:
- <dependency>
- <groupId>org.apache.empire-db</groupId>
- <artifactId>empire-db-struts2</artifactId>
- <version>2.3.0</version>
- </dependency>
下載地址:http://empire-db.apache.org/downloads/latest.htm
【編輯推薦】