i am using postgres-ds.xml i pasted copy of that <local-tx-datasource> <jndi-name>jdbc/ejb20-containerManaged-AccountHome</jndi-name> <connection-url>jdbc:postgresql://localhost:5432/POS</connection-url> <driver-class>org.postgresql.Driver</driver-class> <user-name>postgres</user-name> postgres <!-- sql to call when connection is created <new-connection-sql>some arbitrary sql</new-connection-sql> -->
<!-- sql to call on an existing pooled connection when it is obtained from pool <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql> --> <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) --> <type-mapping>PostgreSQL</type-mapping> </local-tx-datasource> View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883307#3883307 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883307 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user