Thanks. I got this to work. I can make the connection. However I'm getting a strange problem with the Iterator. After the query, Iterator.hasNext() returns true, but when I do Iterator.next() I get a java.util.NoSuchElementException.
Any idea what this could be? Thanks, Gaurav -----Original Message----- From: Lienhard, Andrew [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 3:00 PM To: '[EMAIL PROTECTED]' Subject: RE: Sample Oracle repository.xml I think you need to alter the dbalias and subprotocol params. This one works for us: <jdbc-connection-descriptor platform="Oracle" jdbc-level="1.0" driver="oracle.jdbc.driver.OracleDriver" protocol="jdbc" subprotocol="oracle" dbalias="thin:@serverName:1521:SID" username="username" password="passwd" -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 3:34 PM To: [EMAIL PROTECTED] Subject: Sample Oracle repository.xml Hi, Can someone send me their sample repository.xml to connect to an oracle database. The following is the repository.xml that I'm using. It gives me an error saying "java.sql.SQLException: Invalid Oracle URL specified" Thanks, Gaurav <jdbc-connection-descriptor platform="Oracle" jdbc-level="1.0" driver="oracle.jdbc.driver.OracleDriver" protocol="jdbc" subprotocol="Oracle" dbalias="jdbc:oracle:thin:@servername:1521:dger" username="username" password="password" /> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
