开发者

Is there a Eclipse plugin for Spring JDBCTemplate code generation? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

Closed 9 years ago.

开发者_StackOverflow社区 Improve this question

I am planing to use Spring JDBCTemplate for all my database needs. I wanted to know if there is a Eclipse plugin which will take a data base table and auto generate -

  1. The domain model POJOs
  2. DAO Classes

I know such a tool already exists for hibernate(http://www.hibernate.org/subprojects/tools.html). Is there a similar plugin which will help me auto generate Spring JDBCTemplate classes?


The Telosys Tools Eclipse plugin is designed for this kind of job.

You can generate your Java (POJO) classes from the database with the basic templates and you can also create your own template (a Velocity file) to generate your DAO classes

See http://www.telosys.org/


The Telosys Tools its powerful, when your choice is jdbcTemplate not ORM, you write your code for CRUD Operation per Model. If your have a lot of Model you have a lot of code for do the same things that's you need Code Gen.


I did a lot of research around this and now i know that there is no Eclipse plugin for my purpose.


QueryDSL has good support for JDBC and generates Entities for you automatically, however: I don't know how that would go together with JdbcTemplate, as QueryDSL "wants" to use its own object query "language" (Java-based).

It also integrates nicely with Eclipse.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜