Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
Cannot set the string value (a) to parameter 1.
Migrateduser
Hi All,<br />
<br />
I was wondering if someone can help me with this issue. I'm quite sure this kind of question would have been answered before however I've tried searching the forums and its quite difficult to search for related strings, hence my posting.<br />
<br />
A little background. So far I've managed to get an oda hibernate driver successfully integrated with my app. I can pull out very simple result sets via the ui.<br />
eg <br />
<pre class='_prettyXprint _lang-auto _linenums:0'>From TokyoData</pre>
<br />
However, I'm not able to get parameters to work.<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>From TokyoData where TokyoId = ?</pre> <br />
where TokyoId is of type Long<br />
<br />
<br />
Here is error message below....<br />
Caused by: org.eclipse.birt.data.engine.odaconsumer.OdaDataException: Cannot set the decimal value (28,934) to parameter 1.<br />
IQuery.setBigDecimal( int parameterId, BigDecimal value )<br />
<br />
I've also tried other combinations, such as setting Parameters to String <br />
<br />
<br />
This is my second implementation. The first implementation was using a straight jdbc data source which did not have this issue.<br />
<br />
Would anyone be able to point me to the right direction or know of a link to a topic that had been answered previously.
Find more posts tagged with
Comments
There are no comments yet