Earlier, we discussed how JBoss portal server uses databases internally for various functions. Now let's see how it uses Hibernate to work with the database, to store configuration information, session or state information, persist preferences, and other data.
For practically all of the database interactions, JBoss portal uses Hibernate internally for persistence and ORM functionality. The portal server's Hibernate configuration are stored in the directory
$JBOSS_PORTAL_HOME/server/default/deploy/ jboss-portal.sar/conf/hibernate .
Separate Hibernate configurations and mapping files can be found for portal instance, portal, portlet, user, and workflow functions of the ...