public static boolean supportsBatchUpdates(Connection con) {
		try {
			DatabaseMetaData dbmd = con.getMetaData();
			if (dbmd != null) {
				return dbmd.supportsBatchUpdates();
			}
		}
		catch (SQLException e) {
			throw new RuntimeException(e.getSQLState() 
					+ "\nCaused by\n"
					+ e.getCause(), e);
		}
		return false;
	}