InitialContext ic = new InitialContext();
DataSource ds = (DataSource)ic.lookup("java:comp/env/myDB");
Connection con = ds.getConnection();
Statement stmt = con.createStatement();
ResultSet rs = stmt.executeQuery( "select myfield from mytable");           <--
TransactionRollbackException Here

... Table not found: MYTABLE in statement [select myfield from mytable]

Table is there (I can manually query) and...

My DBA assures me that thin Oracle JDBC connections are established with proper
privledges.

I am using following config:

classes12.zip
org.jboss.minerva.xa.XADataSourceImpl

( I also tried this with prepared statements with the same results. )

Sorry for going on...
Does anyone hava an idea?




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to