Reverse engineer MS-SQL table to entity, is this possible

Hi

Is it possible to reverse engineer a table within an existing database to a JPA Entity?

I found this posting on Stackoverflow mentioning that it is possible but this is for an older version of IntelliJ and I am using 13.1

http://stackoverflow.com/questions/3331174/intellij-idea-hibernate

Thanks
John

0
Avatar
Permanently deleted user

Thanks for your response Alexander

I do not seem to have the Persistance tool window option under View | Tool Windows. Is there a plugin I am suppose to install to get this option ?

Cheers
John

0

There are plugins to enable (they are all bundled in the installation of IDEA Ultimate): Persistence Frameworks Support and Database Support.

After that your module (in the project) needs so-called JPA facet. If it's not yet there, see Project tool window, module node, Add Frameworks Support command in the context menu.

Regards,
Alexander.

0
Avatar
Permanently deleted user

found it and added facet, got the window now, thanks Alexander.

0

请先登录再写评论。