return valueClass;
}
private static void parseValueProperty(final XMLStreamReader reader, final Map<String, JDBCValuePropertyMetaData> properties) throws XMLStreamException {
String propertyName = null;
final JDBCValuePropertyMetaData metaData = new JDBCValuePropertyMetaData();
for (Element element : children(reader)) {
switch (element) {
case PROPERTY_NAME: {
propertyName = getElementText(reader);
break;
}
case COLUMN_NAME: {
metaData.setColumnName(getElementText(reader));
break;
}
case NOT_NULL: {
metaData.setNotNul(Boolean.parseBoolean(getElementText(reader)));
break;
}
case JDBC_TYPE: {
metaData.setJdbcType(getJdbcTypeFromName(getElementText(reader)));
break;
}
case SQL_TYPE: {
metaData.setSqlType(getElementText(reader));
break;
}
default: {
throw unexpectedElement(reader);
}