Hi Alan,

I think you're looking for DBDictionary.maxTableNameLength. It's usually set
in the constructor for the DBDictionary class, ie in OracleDictionary :
 public OracleDictionary() {
        <snip>
        maxTableNameLength = 30;
        maxColumnNameLength = 30;
        maxIndexNameLength = 30;
        maxConstraintNameLength = 30;
        maxEmbeddedBlobSize = 4000;
        maxEmbeddedClobSize = 4000;
       <snip>
}

Adding something similar to your IngressDBDictionary should resolve the
problem.

Regarding running the tests running through maven is fine. You may need to
use the test-custom profile (unless you hack about with pom.xml).

Hope this helps,

-mike

On Thu, Jan 22, 2009 at 4:59 AM, Alan Raison <[email protected]>wrote:

>  Hi
>
>
>
> I have been writing a DBDictionary for the Ingres database and have been
> running the test cases.  Ingres supports 32 character table names, and this
> has been set in the dictionary.  However some tests have hit an error
> whereby the table name is too long for the database.
>
>
>
> I notice in the DBDictionary class there is a method called
> "getValidTableName" but this clearly isn't being used since it is trying to
> use a table name which is too long.  Other databases (such as Oracle) also
> have quite a short maximum length for table names, so this problem must be
> able to overcome, but I can't see anything in other Dictionary classes.
>
>
>
> Is there anything special I should be doing to run the tests?  I am
> currently running through mvn test.
>
>
>
> My draft DBDictionary class is attached along with a sample surefire report
> (with my username and password removed!)
>
> Alan
>
> *Alan Raison*
>
>
>

Reply via email to