Intellij Idea的Java CRUD类生成器 [英] Java CRUD class generator for Intellij Idea

查看:461
本文介绍了Intellij Idea的Java CRUD类生成器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法使用IntelliJ IDE IDE在Spring MVC中自动生成Hibernate Entity的CRUD类?我发现了一些在NetBeans中生成的可能性,我也需要类似于Intellij的东西。 Thx提前为您提供帮助。

生成JSF2 CRUD的 - 我可以自动为任何实体创建bean和xhtml吗?




转到:设置> IDE设置>文件和代码模板如下:



然后当你创建一个新的类时,你可以选择你想使用的模板:




Is there a way to automaticaly generate CRUD class for Hibernate Entity in Spring MVC using the IntelliJ Idea IDE? I found some possibility to generate in NetBeans, I would need something similar for Intellij too. Thx in advance for your help.

Generate JSF2 CRUD's - Can I create the bean and xhtml automatically for any entity?

解决方案

You can create your own templates in IntelliJ IDEA:

Go to: Settings > IDE Settings > File and Code Templates as below:

And then when you create a new class you can just select the template that you would like to use:

这篇关于Intellij Idea的Java CRUD类生成器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆