changeset 44 | 5d7d1adf387f |
parent 42 | 7f84f4de2893 |
child 45 | 7e24949b87b0 |
1.1 --- a/src/org/sonews/storage/impl/JDBCDatabaseProvider.java Tue Jun 07 09:23:34 2011 +0200 1.2 +++ b/src/org/sonews/storage/impl/JDBCDatabaseProvider.java Tue Jun 07 11:55:22 2011 +0200 1.3 @@ -35,7 +35,7 @@ 1.4 1.5 @Override 1.6 public boolean isSupported(String uri) { 1.7 - throw new UnsupportedOperationException("Not supported yet."); 1.8 + return uri.startsWith("jdbc:mysql") || uri.startsWith("jdbc:postgresql"); 1.9 } 1.10 1.11 @Override