Good day to all;
I have some experience with Hibernate under Tomcat and I'm now switching to JBoss, but I'm having some troubles deploying the .har file.
Can somebody please help me?
Hibernate version:
3.x (comes with JBoss 4.0.3 SP1)
Mapping documents:
Subscriber.hbm.xml
Code:
name="com.tu.core.Subscriber"
[...]
<property
name="status"
type="com.tu.core.persistence.SubscriberStatusHUserType"
update="true"
insert="true"
column="SubStatus"
/>
[...]
SubscriberStatusHUserType is a class that implements UserType.
Full stack trace of any exception that occurs:Code:
ObjectName: jboss.har:service=Hibernate
State: FAILED
Reason: org.hibernate.MappingException: Could not determine type for: com.tu.core.persistence.SubscriberStatusHUserType, for columns: [org.hibernate.mapping.Column(SubStatus)]
Name and version of the database you are using:
Intersystem Cache 5
The point is that SubscriberStatusHUserType.class is in the .har file, I double and trippled checked, it's there. I also tried to create a .jar file with all the .class and add it to the JBoss classpath, but that didn't work neither.
Am I missing something? Why can't it find a class that is in the har?
Best regards
domyalex