Is there any function in IntelliJ that allows me to generate simple POJO class from database tables (currently using PSQL)? I saw some similar example in Eclipse using "hbm2java".
Yes, it's possible to generate simple POJOs from Database Tables in IntelliJ.
Just follow this instruction:
Hope this helps. - Tested on IntelliJ 2019.1