Hello
how to get JDBC Connection in Seam Component (or in EJB)?
I don't need transaction, I need to only read some data
Have you run into problems with just using JNDI?
InitialContext initialContext = new InitialContext(); javax.sql.DataSource ds = (javax.sql.DataSource) initialContext.lookup(datasourcejndiname); Connection c = ds.getConnection();