Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is the Persistence tool window in Intellij IDEA 15?

I want to generate model Class from mysql database, but I cannot find the persistence tool window which is easily searched in IDEA 14.

like image 329
zhongwei Avatar asked Dec 20 '15 02:12

zhongwei


1 Answers

If you haven't included JavaEE Persistance when you created your project as @Freek de Bruijn suggested, you can go into:

File - > Project Structure - > Modules -> + -> "JPA"

That will enable persistence under Tool windows as well if, like me, you checked out your project from version control. Took me quite a bit of time to find that setting actually.

like image 131
0x6C38 Avatar answered Sep 19 '22 12:09

0x6C38