I'm trying to access jbp_users table from jboss Portal database, but i get the 
following error:


  | org.hibernate.hql.ast.QuerySyntaxException: UserImpl is not mapped. [FROM 
UserImpl user WHERE 1 = 1  and  userName = :userName]
  | 

I putted a query string in my program to get a result.

I've noticed that the mapping file that corresponds to jbp_users tables is 
anonymous wrote : 
  | 
D:\jboss\jboss-portal-2.2.0-src\core\src\resources\portal-core-sar\conf\hibernate\user\domain.hbm.xml
  | 
and not UserImpl.hbm.xml.

I putted portal-core-lib.jar in the classpath of my program.

But still get the error.

Any help?

Thanks,
Pedro

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3938627#3938627

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3938627


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to