added databasecomponent and now using Derby in the unit tests.
[utils] / support / general / src / test / java / org / wamblee / persistence / OracleDatabase.java
index a091dbcb1a58787372b1f01f522a98bd4606558a..6b82c6320770e63e8d40b40f65d5f38190f7efff 100644 (file)
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 package org.wamblee.persistence;
 
 import java.sql.Connection;
 import java.sql.SQLException;
 
 public class OracleDatabase implements Database {
-    
+
     public OracleDatabase() {
         super();
     }
 
-    public void start( ) throws Exception {
-       System.out.println("Oracle must be started externally");
+    public void start() {
+        System.out.println("Oracle must be started externally");
     }
 
-    public String getJdbcUrl( ) {
+    public String getJdbcUrl() {
         return null;
     }
 
-    public String getExternalJdbcUrl( ) {
+    public String getExternalJdbcUrl() {
         return null;
     }
 
-    public String getDriverClassName( ) {
+    public String getDriverClassName() {
         return null;
     }
 
-    public String getUsername( ) {
+    public String getUsername() {
         return null;
     }
 
-    public String getPassword( ) {
+    public String getPassword() {
         return null;
     }
 
-    public Connection createConnection( ) throws SQLException {
+    public Connection createConnection() throws SQLException {
         return null;
     }
 
-    public void stop( ) throws Exception {
+    public void stop() {
         System.out.println("Oracle must be stopped externally");
     }