| Connection to JNDI datasource [message #482398] |
Wed, 26 August 2009 08:52 |
Eclipse User |
|
|
|
Hi. I've got a JNDI datasource that connects to an Oracle 10g instance for a JBoss Seam app. I've copied the file to my local JBoss' default instance (/default/deploy/). I'm using Eclipse and was wondering if there's a way to get Eclipse (Ganymede, ver. 3.4.1) to recognize the datasource. I've modified the components.xml and persistence.xml files, but when I right-click the project and view Properties, it doesn't show an option for pointing to the JNDI data source.
And then the New - Seam Generate Entities option on the project doesn't work, either. It only lets me create a new database connection which doesn't seem to have any options for JNDI. Is there a way to get Eclipse to recognize the JNDI datasource and use it to generate entities? Thanks.
|
|
|
Powered by
FUDForum. Page generated in 0.04287 seconds