Sorry for that premature Post...

Anyway, the doBuild goes something like this:

       String string = new String("");
        Integer integer = new Integer(0);
        dbMap = TurbineDB.getDatabaseMap();
        byte[] blob = new byte[1];
        dbMap.addTable(getTable());
        TableMap tMap = dbMap.geTable(getTable());
.....
        tMap.addColumn( getToolkitFactory_BLOB(), blob, Integer.MAX_VALUE );


I've tried several different approaches, even initialising the byte[] size
with Interge.MAX_VALUE but that of course gives me an OutOfMemory error.
Otherwise I get the error from SQL Server JDBC saying "String or binary data
would be truncated".

Can someone point me to a resource, or file me in on how BasePeer/BLOB's
work together?

cheers,

Paul Smith

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to