Java,代码生成和持久性框架 [英] Java, Code Generation, and Persistence Frameworks
本文介绍了Java,代码生成和持久性框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有任何Java代码生成持久性框架?
是数据库第一而不是对象模型第一?
我知道这在Java世界里可能是异端,我只想知道是否存在这样的框架。
Are there any Java code generation persistence frameworks? Something that is "database first" rather than object model first? I know this is probably heresy in the Java world, I'd just like to know if any frameworks like this exist.
我更喜欢.NET人这些天。所以在.NET边工具,如.NET Tiers或CSLA。
I'm more of a .NET guy these days. So on the .NET-side tools like .NET Tiers or CSLA come to mind.
推荐答案
肯定,hibernate和netbeans例如可以逆向工程数据库。您可能想查看:
sure, hibernate and netbeans for example can reverse engineering a database. You may be want to look at:
- Hibernate工具;网站在维护
- netbeans,使用最新版本的netbeans,您可以从JDBC连接创建JPA实体
- Hibernate Tools; site in maintenance
- netbeans, with recent version of netbeans you can create JPA entities from a JDBC connection
我的2美分。
这篇关于Java,代码生成和持久性框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文