You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacopo Cappellato (JIRA)" <ji...@apache.org> on 2010/04/19 15:00:58 UTC
[jira] Commented: (OFBIZ-3245) Sandbox: Integrating The New
Conversion Framework Into The Entity Engine
[ https://issues.apache.org/jira/browse/OFBIZ-3245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12858481#action_12858481 ]
Jacopo Cappellato commented on OFBIZ-3245:
------------------------------------------
Adrian,
unfortunately I didn't find time to test your patch.
However, I don't know if it helps or not, it seems that the Oracle error has been resolved by my customer with the following patch:
+ public static class OracleTIMESTAMPToTimestamp extends AbstractConverter<oracle.sql.TIMESTAMP, java.sql.Timestamp> {
+ public OracleTIMESTAMPToTimestamp() {
+ super(oracle.sql.TIMESTAMP.class, java.sql.Timestamp.class);
+ }
+
+ public java.sql.Timestamp convert(oracle.sql.TIMESTAMP obj) throws ConversionException {
+ try {
+ return obj.timestampValue();
+ } catch (Exception e) {
+ throw new ConversionException(e);
+ }
+ }
+ }
+
> Sandbox: Integrating The New Conversion Framework Into The Entity Engine
> ------------------------------------------------------------------------
>
> Key: OFBIZ-3245
> URL: https://issues.apache.org/jira/browse/OFBIZ-3245
> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Adrian Crum
> Assignee: Adrian Crum
> Priority: Minor
> Attachments: conversion.patch, conversion.patch, conversion.patch, conversion.patch, conversion.patch, conversion.patch, conversion.patch, conversion.patch
>
>
> This issue contains a patch intended for evaluation before it is committed. See comments for details.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.