Discussion:
[jboss-user] [JBoss Portal] - EPP 6.0 Beta - Database schema JCR & IDM mapping in source code & how/where PortletPreferences for Gadget getting persisted ?
Laxmikant Asawa
2013-03-26 05:08:34 UTC
Permalink
Laxmikant Asawa [https://community.jboss.org/people/alaxmikant] created the discussion

"EPP 6.0 Beta - Database schema JCR & IDM mapping in source code & how/where PortletPreferences for Gadget getting persisted ?"

To view the discussion, visit: https://community.jboss.org/message/804755#804755

--------------------------------------------------------------
Hi
In EPP 6.0 , how is 2 schema tables are mapped in source code to understand how personalized Dashboard getting persisted in DB ?
Second thing .. on personalized Dashboard with Gadgets, you can add customization on Gadget like ToDo Gadget adding own text and saving it ? Where this data is getting persisted ?

Updated standalone.xml to point to mySQL DB (seems working) but looking at configuration.properties where seems like Gadget perference are getting persisted in flat file ..  please help to understand is it correct & how mapping is done ?

# JCR
gatein.jcr.datasource.name=java:/jdbcjcr
gatein.jcr.datasource.dialect=auto

gatein.jcr.storage.data.dir=${gatein.jcr.data.dir}/values
gatein.jcr.cache.config=war:/conf/jcr/jbosscache/${gatein.jcr.config.type}/config.xml
gatein.jcr.cache.config.workspace.portal-system=war:/conf/jcr/jbosscache/${gatein.jcr.config.type}/config_portal-system.xml
gatein.jcr.lock.cache.config=war:/conf/jcr/jbosscache/${gatein.jcr.config.type}/lock-config.xml
gatein.jcr.index.data.dir=${gatein.jcr.data.dir}/lucene

gatein.jcr.index.cache.config=war:/conf/jcr/jbosscache/cluster/indexer-config.xml
gatein.jcr.jgroups.config=classpath:/jgroups/gatein-${gatein.default.jgroups.stack:udp}.xml
gatein.jcr.db-structure-type=isolated
gatein.jcr.workspace.default=portal-system
gatein.jcr.workspace.system=system

Many Thanks in advance ..
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/804755#804755]

Start a new discussion in JBoss Portal at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2011]
Loading...