01.02.2013 Views

Publishing Reports to the Web - Downloads - Oracle

Publishing Reports to the Web - Downloads - Oracle

Publishing Reports to the Web - Downloads - Oracle

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Adding Your Own PDS<br />

Running Report trace with Result set info<br />

2003/4/7 5:26:6:996] Debug 50103 (jdbcpds): JDBCDataSource : execute : replace<br />

lexical columns withactual string for <strong>the</strong> query<br />

[2003/4/7 5:26:6:996] Debug 50103 (jdbcpds): JDBCDataSource : execute : run Query<br />

[2003/4/7 5:26:6:996] Debug 50103 (jdbcpds): JDBCExecuteQuerySource :<br />

getOutputFromDatabase : START<br />

[2003/4/7 5:26:6:996] Debug 50103 (jdbcpds): JDBCExecuteQuerySource :<br />

getOutputFromDatabase: start Query string<strong>to</strong> be submitted select * from reports<br />

[2003/4/7 5:26:7:6] Debug 50103 (jdbcpds): JDBCExecuteQuerySource :<br />

getOutputFromDatabase : check connection<br />

[2003/4/7 5:26:7:6] Debug 50103 (jdbcpds): JDBCExecuteQuerySource :<br />

getOutputFromDatabase : QSource Id: 4<br />

[2003/4/7 5:26:7:6] Debug 50103 (jdbcpds): JDBCExecuteQuerySource :<br />

getOutputFromDatabase : Query source is SQL query<br />

[2003/4/7 5:26:7:6] Debug 50103 (jdbcpds): JDBCExecuteQuerySource:executeQuery<br />

Start<br />

[2003/4/7 5:26:7:6] Debug 50103 (jdbcpds): executeQuery prepareStatement select *<br />

from reports<br />

[2003/4/7 5:26:7:6] Debug 50103 (jdbcpds): executeQuery : bind parameters set for<br />

<strong>the</strong> query<br />

[2003/4/7 5:26:7:6] Debug 50103 (jdbcpds): executeQuery : JDBC Query executed<br />

[2003/4/7 5:26:7:387] Debug 50103 (jdbcpds): JDBCExecuteQuerySource :<br />

getOutputFromDatabase : Query result col 0 test col 1 10<br />

[2003/4/7 5:26:7:387] Debug 50103 (jdbcpds): JDBCExecuteQuerySource:executeQuery<br />

Start<br />

[2003/4/7 5:26:7:387] Debug 50103 (jdbcpds): executeQuery prepareStatement select<br />

* from reports<br />

[2003/4/7 5:26:7:387] Debug 50103 (jdbcpds): executeQuery : bind parameters set<br />

for <strong>the</strong> query<br />

[2003/4/7 5:26:7:387] Debug 50103 (jdbcpds): executeQuery : JDBC Query executed<br />

[2003/4/7 5:26:7:767] Debug 50103 (jdbcpds): JDBCDataSource : execute : query<br />

execution over andresulset object is com.oracle.ias.jdbc.base.BaseResultSet@56c3cf<br />

[2003/4/7 5:26:7:767] Debug 50103 (jdbcpds): JDBCDataSource : execute : END<br />

8.5 Adding Your Own PDS<br />

8.5.1 Registering <strong>the</strong> PDS<br />

<strong>Oracle</strong> <strong>Reports</strong> has exposed <strong>the</strong> PDS API and also contains an RSDK tu<strong>to</strong>rial<br />

(http://otn.oracle.com/products/reports/apis/index.html) that<br />

describes in detail how <strong>to</strong> implement or cus<strong>to</strong>mize your own PDS. Using this API, you<br />

can implement an unlimited number of PDSs <strong>to</strong> access any kind of data sources that<br />

you have.<br />

The main tasks you must perform <strong>to</strong> add your PDS are:<br />

■ Registering <strong>the</strong> PDS<br />

■ Configuring <strong>the</strong> jdbcpds.conf File<br />

■ Installing Your PDS JAR Files<br />

■ Installing <strong>the</strong> Driver’s JAR Files<br />

Register your PDS with <strong>the</strong> preferences file <strong>to</strong> make it available <strong>to</strong> <strong>Reports</strong> Builder and<br />

<strong>Oracle</strong>AS <strong>Reports</strong> Services.<br />

8-20 <strong>Oracle</strong> Application Server <strong>Reports</strong> Services <strong>Publishing</strong> <strong>Reports</strong> <strong>to</strong> <strong>the</strong> <strong>Web</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!