PabloEr / google-feedserver

Automatically exported from code.google.com/p/google-feedserver
Apache License 2.0
1 stars 0 forks source link

Unable to Insert/Update data in the DB #19

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. For the example.com/contact sample, If I try hitting 
localhost:8080/feedserver/example.com/contact/contact-insert-entry?<query 
parameters>, I get an error saying 

com.google.feedserver.adapters.FeedServerAdapterException:
--- The error occurred in conf/feedserver/sqlmap/contact.xml.
--- The error occurred while applying a parameter map.
--- Check the contact-get-entry-InlineParameterMap.
--- Check the parameter mapping for the 'value' property.
--- Cause: java.sql.SQLDataException: Invalid character string format for type 
INTEGER.

Am I missing some configuration here or is there a problem with the way I am 
calling it? If this works I intend to build an app on the GAE to get the data 
using the Feedserver. 

2. Upon Debugging found that It is always entering the retrieveEntry method in 
the IbatisAdapterWrapper and not createEntry
3.

What is the expected output? What do you see instead?
Should insert the data into the DB

What version of the product are you using? On what operating system?
trunk

Please provide any additional information below.

Original issue reported on code.google.com by ravikira...@gmail.com on 27 Nov 2012 at 8:39