[jboss-user] [Beginner's Corner] New message: "Re: java.lang.ClassCastException: org.hibernate.ejb.HibernatePersistence"

a a do-not-reply at jboss.com
Fri Jan 15 09:27:45 EST 2010


User development,

A new message was posted in the thread "java.lang.ClassCastException: org.hibernate.ejb.HibernatePersistence":

http://community.jboss.org/message/520307#520307

Author  : a a
Profile : http://community.jboss.org/people/Guestuser31

Message:
--------------------------------------------------------------
Hi
 
Yes I have a persistence.xml file which is as below:
 
 
<persistence xmlns="http://java.sun.com/xml/ns/persistence" version="1.0">
 
    <persistence-unit name="test" transaction-type="RESOURCE_LOCAL">
        <provider>oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider</provider>
 
        <class>com.talgentra.tallyman.domain.model.admin.ServerConfigImpl</class>
        <class>com.talgentra.tallyman.domain.model.admin.JobConfigImpl</class>
        <class>com.talgentra.tallyman.domain.model.admin.OperationLogConfigImpl</class>
        <class>com.talgentra.tallyman.domain.model.admin.OperationTaskConfigImpl</class>
        <class>com.talgentra.tallyman.domain.model.admin.ScheOperationConfigImpl</class>
 
        <properties>
            <property name="toplink.logging.level" value="INFO"/>
        </properties>
    </persistence-unit>
 
</persistence>
 
 
Hope this is what you wanted.
 
Thanks

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/520307#520307




More information about the jboss-user mailing list