I knew I'd figure it out as soon as I posted.
hibernate.session_factory_name needs to be set in the persistence.xml file.
BTW -- I agree with the original poster that your problem is very likely a
ClassLoader
issue of some kind. I'm not sure how the persistence layer glues the two pieces
together, but, you can get a good indication of the ClassLoader loading the
Integer
for your bean using
static {
| System.out.println(Integer.class.getClassLoader());
| }
|
...in your bean class. It ought to be the primordial class loader loading
those classes....
[Of course, that won't help you know what the ClassLoader is for the other
end....]
Hope that helps,
-Dave
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904763#3904763
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3904763
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user