In the schema for a project I specify the maximum size of all the fields.
Is there a way to get that information at runtime?
For instance, take the following schema table:
<table name="UserGameReview" javaName="UserGameReview" idMethod="none"
skipSql="true">
<column
name="id" javaName="Id" required="true" type="INTEGER"
size="10"/>
<column name="review" javaName="Review" required="false"
type="VARCHAR" size="500"/>
</table>
Is there a way, to do something like:
UserGameReviewPeer.getMaxSizeOfReview() or
UserGameReviewPeer.getMaxSize(UserGameReviewPeer.REVIEW)
such that that function would return 500 (because that's what's specified
in the schema).
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>