String stateStr = "INSERT INTO DISCRETECHARSTATE(DISCRETECHARSTATE_ID, VERSION, DESCRIPTION, NOTES, PHYLOCHAR_ID, SYMBOL) VALUES(default, 0, ?, ?, ?, ?)";
PreparedStatement stateBatch = pCon.prepareStatement(stateStr);
for (MatrixColumnJDBC columnJDBC : columns) {
stateBatch.clearBatch();
DiscreteChar phyloChar = (DiscreteChar) columnJDBC.getPhyloChar();
// Need to test: symbolChar is shared for the matrix.
if (phyloChar.getId() == null) {
ps.setString(1, phyloChar.getDescription()); // phylochar description