-
Bug
-
Resolution: Done
-
Major
-
jboss-fuse-6.2.1
-
None
-
%
-
The Camel Salesforce component contains the class "org.fusesource.camel.component.salesforce.api.dto.AbstractSObjectBase" which maps Salesforce object "base" fields to their corresponding Java type. Fields such as CreateDate, LastModifiedDate, SystemModStamp are typed with Joda DateTime; these fields in Salesforce are SOAP "xsd:dateTime", so the Java type mapping is appropriate. But the field LastActivityDate is typed with java.lang.String, which is not consistent with the Salesforce SOAP type "xsd:date" (see attached screen shot from Salesforce Workbench)
When using the Camel Salesforce Maven plugin to generate DTOs for database persistence, Hibernate fails because LASTACTIVITYDATE (type "String") cannot be persisted to Oracle DATE column. The error is not a surprise.
- causes
-
CAMEL-10143 Loading...