Hey Everyone,

I'm new to Metamodel and I've run into an issue with integrating it into my 
project. When we fetch the schema for a Postgres or Oracle database, columns of 
NUMERIC type are being returned with a "precision" value that is accessible 
through Column.getColumnSize(). Unforunately, the "scale" value for the numeric 
field does not seem to be accessible. Ideally, there would be an additional 
method:  Column.getDecimalDigits(). This new method would return null in cases 
where it was either undefined or not applicable to the data type.

This seems like it would be a relatively straight-forward addition to the 
Column class and JdbcMetadataLoader.loadColumns(). Additionally, there would be 
a ripple effect on IQueryRewriter.rewriteColumnType() for handling CREATE TABLE 
operations.

This idea is similar to what is described in METAMODEL-8.  That issue is fairly 
general in nature, where this one is very specific. Should we add a new issue 
for it?

Is there any hope of squeezing this into version 5.0?


Tim Kingsbury




Reply via email to