These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: org.hibernate.MappingException
PostPosted: Mon Oct 16, 2006 3:13 am 
Newbie

Joined: Thu Aug 03, 2006 1:05 am
Posts: 1
Hi,

I ma getting "org.hibernate.MappingException" please find below my scenario

Code:
  I have deployed jasper reporting tool in Web sphere and tried load the aplication  but i am getting  this error  "

An association from the table file_resource refers to an unmapped class: boolean
org.hibernate.MappingException: An association from the table file_resource refers to an unmapped class: boolean
   at org.hibernate.cfg.Configuration.secondPassCompileForeignKeys(Configuration.java:1134) "



I am new to hibernate Please help me rgarding this.

Please find Stact trace as follows
Code:
[10/16/06 11:56:43:835 IST] 00000013 SystemErr     R org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.MappingException: An association from the table file_resource refers to an unmapped class: boolean
org.hibernate.MappingException: An association from the table file_resource refers to an unmapped class: boolean
   at org.hibernate.cfg.Configuration.secondPassCompileForeignKeys(Configuration.java:1134)
   at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1052)
   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1168)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 16, 2006 2:04 pm 
Beginner
Beginner

Joined: Tue Oct 10, 2006 3:23 am
Posts: 33
You have a foreign key to a boolean property or something.
Did you confuse a simple property with a manytoone?
post your mapping

[rate if this helps]


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.