没有任何数据可供显示
| 开源项目社区 | 当前位置 : |
|
| www.trustie.net/open_source_projects | 主页 > 开源项目社区 > struts2-persistenceplugin |
|
struts2-persistenceplugin
|
| 0 | 0 | 0 |
| 贡献者 | 讨论 | 代码提交 |
Persistence Plugin 0.7 Beta Released (17 jul 2009)Hibernate Validator validationDRY - Don't Repeat Yourself!
This feature allow the use of the fantastic Hibernate Validator Framework with very simple use of annotations in your Actions.
More about Hibernate Validator at http://www.hibernate.org/412.html
Hibernate Core Sessions injectionThe Open Session in View pattern made easy
This feature provides an Interceptor that open and sets in the value stack a Hibernate Core Session and closes (or not) this after the results are rendered.
No code lines need to be added. Only one annotation or one XML (or .properties) line needed.
This feature follows the concepts in http://www.hibernate.org/43.html
Full Hibernate Plugin users know well this feature.
JPA Entity Manager injection"EJB3 like" Entity Manager usage
This feature provides an Interceptor that open and sets in the value stack a JPA Entity Manager and closes (or not) this after the results are rendered.
No code lines need to be added. Only one annotation or one XML (or .properties) line needed.
Hibernate/JPA Transactions injectionTransactions by request
This feature provides an Interceptor that opens and sets in the value stack a Transaction and commit this after the results are rendered for the client if a rollback method was not invoked.
No code lines need to be added to manage Hibernate/JPA transactions in Struts 2 projects. Only 01 (one) annotation or 01 (one) XML (or .properties) line needed.
Persistence configuration management Web ToolManage and reload your JPA/Hibernate Core configurations without reload your web content
This feature provides an WEB front-end tool for view and reload your JPA/Hibernate Core configurations.
Yout can provide this tool in your context with public access or protect this by 2 ways: IPs/Hosts list or HTTP Autentication.
标签:
