Give it a try and just include @..@ variables. It should be interesting to see whether it works and how they are quoted.
Otherwise removing the limit: I was just guessing about the 4000 byte limit, it sounds quite reasonable though :) Can someone confirm? If it is the dreaded varchar2(4000) limit, then Nima should file an enhancement request and that can be picked up for 5.1.