Reverse engineer MS-SQL table to entity, is this possible Follow
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
Please sign in to leave a comment.
Maybe this help page can answer: http://www.jetbrains.com/idea/webhelp/mapping-by-database-schema.html
Regards,
Alexander.
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
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.
found it and added facet, got the window now, thanks Alexander.