[ 
https://issues.apache.org/jira/browse/VELOCITY-599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613249#action_12613249
 ] 

Will Glass-Husain commented on VELOCITY-599:
--------------------------------------------

Ok, this is a pain. rs.getClob() is not supported with hsqldb  (which we use 
for unit testing). It throws a SQLException.

 I really don't want to write a full fledged database compatibility layer.  
Maybe it would be enough to have a config flag to choose between 
"getAsciiStream", "getBinaryStream", and "getClob"?  I guess we should write a 
pluggable strategy class.

WILL





> DataSourceResourceLoader doesn't support UTF8
> ---------------------------------------------
>
>                 Key: VELOCITY-599
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-599
>             Project: Velocity
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: 1.5
>         Environment: WindowsServer2003 R2, 
> Oracle10g(10.2.0,UTF8characterSet),  jdk1.5.0_12
>            Reporter: markchen
>
> If templates are stored in the database instead of files,the characters 
> retrived becomes garbled.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to