RDBMS : Datastore Schema API

JDO/JPA are APIs for persisting and retrieving objects to/from datastores. They don't
provide a way of accessing the schema of the datastore itself (if it has one). In the
case of RDBMS it is useful to be able to find out what columns there are in a table, or
what data types are supported for example. DataNucleus Access Platform provides an
API for this.

The first thing to do is get your hands on the DataNucleus StoreManager and from
that the StoreSchemaHandler. You
do this as follows

As you can see from the javadocs for RDBMSTypesInfo
we can access the JDBC types information via the "children". They are keyed by
the JDBC type number of the JDBC type (see java.sql.Types).
So we can just iterate it