Can anyone shed some light on the proper settings for the following to use with JNDI datasources, mysql and Sun App Server 8.1 managed connection pooling? Just trying to get the tutorial working with a jndi ds. The settings I have below don’t work and generate class not found for the jndi.class. There also might be issues with my jndi.url.
session-factory
property name=”connection.datasource”>java:comp/env/jdbc/asterisk
property name=”jndi.url”>jdbc:mysql://localhost/asterisk
property name=”connection.username” root
property name=”connection.password” secret
property name=”dialect”
org.hibernate.dialect.MySQLDialect
property mapping resource=”com/genuitec/hibernate/EchoMessage.hbm.xml”
session-factory