If you want to use the DatabaseMetaData methods from inside ij, you can use the table functions attached to this issue: https://issues.apache.org/jira/browse/DERBY-3973

Hope this helps,

I looked threw the wrapper very briefly. I will check it again today. Are you shore that scripts request column name for constraints? I will see later. John