Apache Empire-db 2.3.0發布
Apache Empire-db 2.3.0 發布了,這是 Empire-db 從孵化階段畢業后***發行的版本,現在 Empire-db 的首頁地址為:
該版本主要改進內容:
- 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 修復。
Apache Empire-db 是一個開源的關系型數據持久化組件,能夠實現數據庫無關的動態查詢定義,簡便的數據讀取和更新。與其它持久化組件相比 如:Hibernate、TopLink、iBATIS或JPA實現,Empire-db更注重編譯期類型安全,減少冗余,開發效率的改進。 Empire-db所有的數據庫實體都通過動態bean進行管理,因此允許在運行期改變數據模型。
Maven
在項目中使用的Apache empire-DB 的POM文件應添加下面的依賴:
- <dependency>
- <groupId>org.apache.empire-db</groupId>
- <artifactId>empire-db</artifactId>
- <version>2.3.0</version>
- </dependency>
使用Apache empire DB-Struts2的擴展,在您的項目添加以下依賴項目的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
【編輯推薦】