File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Portals and Portlets and the fly likes Jboss portal server DB customaization query Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Reply Bookmark "Jboss portal server DB customaization query" Watch "Jboss portal server DB customaization query" New topic
Author

Jboss portal server DB customaization query

Minal Singh
Greenhorn

Joined: Jul 16, 2008
Posts: 2
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??
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jboss portal server DB customaization query
 
Similar Threads
problem saving with foreign key error
Foreign Key Constraint Fails
Error reading resource Hibernate
Many to Many Mapping: Link table not getting updated
Duplicate collection role mapping