Hi,
I am getting the error "nested exception is org.hibernate.service.jndi.JndiException: Unable to lookup JNDI name" while using hibernate with spring for
jboss.
hibernate -config is
<hibernate-configuration>
<session-factory >
<property name="connection.pool_size">10</property>
<property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
<property name="connection.datasource">ScionDS</property>
<property name="show_sql">true</property>
<property name="hbm2ddl.auto">create</property>
<mapping class="com.tms.efc.configuratoradmin.entity.Employee" />
</session-factory>
</hibernate-configuration>
application-context is
<bean id="sessionFactory" class="org.springframework.orm.hibernate4.LocalSessionFactoryBean">
<property name="configLocation" value="classpath:config/hibernate-config.xml"/>
</bean>
I have configured the data soucre on jboss.
Thanks