如何从sqlite db生成hibernate pojos?
我有 sqlite 数据库。我想获取它的实体和 hbm 文件。
我尝试了 NetBeans,它说该表没有主键。
尝试了 DB Importer eclipse 插件:表示输入不包含数据。
由于某种原因,Eclipse hibernate 工具仅生成一张表的代码。
它与 sqlite 接缝了一些奇怪的东西。因为我可以从其他数据库生成代码。 请给出一些想法,因为我的数据库有很多表。也许已经这样做的人可以帮助我?
i have sqlite db. i want to get entities and hbm files for it.
i tried NetBeans it says that table dont have primary keys.
tried DB Importer eclipse plugin: says input contained no data.
Eclipse hibernate tools generates code only for one table for some reason.
it seams its some weird thing with sqlite. beacause i can generate code from other dbs fine.
Please give some ideas, cuz my db has many tables. Maybe someone who did this already could help me?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
下面的链接提到了如何让hibernate工具生成多个表:
引用:
The following link mentions how to get hibernate tools to generate multiple tables:
To quote: