Announcement Announcement Module
Collapse
No announcement yet.
DataSource in JBoss with JdbcTemplate? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • DataSource in JBoss with JdbcTemplate?

    Hi,

    How I create one I date source I catch of the JBoss to use in a JdbcTemplate?

    Regards,

  • #2
    You use a JndiObjectFactoryBean object:

    <bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryB ean">
    <property name="jndiName"><value>jdbc/MyDataSource</value></property>
    </bean>

    Comment

    Working...
    X