> I think you're looking for DBDictionary.maxTableNameLength. It's
usually  
> set in the constructor for the DBDictionary class, ie in 
> OracleDictionary :

I have already set this property in my Dictionary, but somehow openjpa
is creating a table name which is too long and then trapping the error
itself during the getCreateTableSQL method.  Note the error text from
the sample Test output XML sent previously:

"Table name "PersistentMapHolder_testPCIntfKeyPCValue" is 40-character
long. The database allows maximum 32-character for a table name."

This has correctly identified that maxTableNameLength is 32, so do I
need to do something else to ensure that openjpa doesn't try to create a
Table object with a 40-character name?

Thanks

Alan

Reply via email to