google Analytics

Thursday, August 12, 2010

JNDI lookup for buildng Hibernate Session factory from datasource

<bean id="defaultDS" class="org.springframework.jndi.JndiObjectFactoryBean">
<property name="jndiName">
<value>java:defaultDS</value>
</property>
</bean>
--Default Datasource is JNDI lookup, created in Weblogic,JBOss or any App Server

No comments:

Post a Comment