public void convert() throws Exception {
Map<String, String> map = new HashMap<String, String>();
map.put(JdbcProfile.KEY_DRIVER, org.h2.Driver.class.getName());
map.put(JdbcProfile.KEY_URL, h2.getJdbcUrl());
ResourceProfile rp = toProfile(map);
JdbcProfile profile = JdbcProfile.convert(rp);
assertThat(profile.getResourceName(), is(rp.getName()));
assertThat(profile.getBatchPutUnit(), greaterThan(0L));
Connection conn = profile.openConnection();
try {
Statement stmt = conn.createStatement();
stmt.execute("INSERT INTO SIMPLE (VALUE) VALUES ('Hello, world!')");