Forum Discussion

kpatnala's avatar
kpatnala
New Contributor
7 years ago

Storing each document into database table.. [xmlformatter --> generic jdbc insert]

Hi,

i’m getting following error when executing “Generic Jdbc insert” snap.
i have 2 data values that need to be inserted in 2 column table.
mapper gives me col1, col2 each having list of 3 values.
col1 = [a,b,c] and col2 = [{…},{…},{…}]

Error:

Unable to construct CREATE TABLE statement

Resolution:

Please provide valid input data.

Reason:

No column value or value of supported column type in the input view

Hide Details…

Generic JDBC - Insert[8b34190d-aaef-4b59-9743-ae23ea997132 – 8b07adcd-0232-4ca0-ac49-6041bbf26870]
com.snaplogic.snap.api.SnapDataException: Unable to construct CREATE TABLE statement

Thanks,
Kiran