Spring + iBatis // Part 2 // Database Properties
In the JDeveloper IDE, right click on the resources folder in your project structure (applications navigator window). Select “New…” from the window and “File” from the general category. Name the new file “database.properties”.
database.username=username database.password=password database.class=oracle.jdbc.OracleDriver database.url=jdbc:oracle:thin:@host:port:sid
Place the above in the file (substitute values in italics) and save your project.
Advertisement
Categories: iBATIS, Java Language, Spring
config, database, iBATIS, Oracle, properties, Spring, tutorial
