You could also use different mapping files for specific databases, like

package.jdo
package-mssql.orm (8000)
package-derby.orm (8192)

In the pmf set the value: javax.jdo.option.Mapping=mssql

And make sure you dont store data larger than 8182, otherwise it will get
truncated or fail to insert (as happened before)

Quoting "Brian E. Fox" <[EMAIL PROTECTED]>:

> [accidentally sent previously to maven list]
>
> I submitted a patch a while ago to make continuum compatible with sql
> server. It simply reduces the size of fields that where 8192 to 8000
> bytes. Is this acceptable to commit?
> http://jira.codehaus.org/browse/CONTINUUM-697
>
> Thanks,
> Brian
>



Reply via email to