Recipe 8Using the Build Property Files

Problem: You have to change your database connection properties in many files when the database changes

When you're using application servers such as BEA WebLogic, Oracle OAS, or IBM Websphere, modifying the configuration file where a database's connection properties are stored is usually difficult—especially when you need to connect to different databases. In addition, you don't want to change connection information in several property files because you're bound to overlook changing some files.

Solution

Extracting all your connection properties to a property file makes it easy to change database connection properties and any other properties you might need to set. To do this, you can use the build.properties ...

Get Recipes for Continuous Database Integration: Evolutionary Database Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.