@Test public void isRdbmsTest() { boolean rdbms = instance.isRdbms(Object.class.getName()); Assert.assertFalse(rdbms); rdbms = instance.isRdbms("com.ibm.db2.Driver"); Assert.assertTrue(rdbms); rdbms = instance.isRdbms("COM.ibm.db2.Driver"); Assert.assertTrue(rdbms); }
public boolean isRdbms(final String classType) { return classType.startsWith("com.ibm.db2") || classType.startsWith("COM.ibm.db2"); }
Db2RdbmsSpecifics implements RdbmsSpecifics { public boolean isRdbms(final String classType) { return classType.startsWith("com.ibm.db2") || classType.startsWith("COM.ibm.db2"); } }
Db2RdbmsSpecifics implements RdbmsSpecifics { public boolean isRdbms(final String classType) { return classType.startsWith("com.ibm.db2") || classType.startsWith("COM.ibm.db2"); }  }
Db2RdbmsSpecifics implements RdbmsSpecifics { public boolean isRdbms(final String classType) { return classType.startsWith("com.ibm.db2") || classType.startsWith("COM.ibm.db2"); }  boolean isRdbms(final String classType); DataRdbms getData(final Object object); String getTypeQuery(final String sql); int beginQuery(String sql, int index); String removeComment(final String sql); boolean isCaseSensitive(); }
Db2RdbmsSpecifics implements RdbmsSpecifics { public boolean isRdbms(final String classType) { return classType.startsWith("com.ibm.db2") || classType.startsWith("COM.ibm.db2"); }  boolean isRdbms(final String classType); DataRdbms getData(final Object object); String getTypeQuery(final String sql); int beginQuery(String sql, int index); String removeComment(final String sql); boolean isCaseSensitive();  }