To create a new DB connection into iReport
- 選擇 "Window" and select "Services" 去開著 "Services" 視窗
- 選擇 "Databases" in "Services" , 然後 right click and select "New Connection"
- 選擇 "New Driver" for "Name"
- 加 ojdbc14.jar
- 輸入 User Name, Password 和 JDBC URL
To Add data source from existing DB connection
- 選擇 Report datasources
- Click "New"
- Select Database JDBC connection
- And then input the correct information.