• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jboss portal server DB customaization query

 
Minal Singh
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I was trying out a small program where I add a new column in the existing table (jbp_users) which comes(gets created) with jboss portal server 2.6.4. and the database is in MS SQL Server2005.

I have created a new property "age" and have changed appropriate files to add this new property.

Files changed to add new property :
Identity.properties
profile.xhtml
viewProfile.xhtml
profile-config.xml
identity-ui-config.xml as per the reference document.

Now this newly added property goes to dynamic store (in table jbp_user_prop) and I want this property to get added as a column in the existing table jbp_users. So I tried to change domain.hbm.xml in

<jboss_home>/server/default/deploy/jboss-portal.sar/conf/hibernate/user

But the thing is , If I change domain.hbm.xml



I get exceptions saying that there is no getter/setter methods in org.jboss.portal.identity.db.HibernateUserImpl

Can I edit this file present in portal-identity-lib.jar?
What could be the solution??
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic