Irrespective of which database is used, I need to list all database tables in Liferay Portal Server. Any hint?
I could get SessionFactory and session but after that I could not get hint what to do.
SessionFactory sessionFactory = (SessionFactory) PortalBeanLocatorUtil.locate("liferaySessionFactory");
Can someone point me to a direction?
Edit: I need to read the complete list of tables and their fields in my custom built portlet.