Thanks for your reply - when I run a plain java program using Main class (like creating a connection, have the Insert query defined and use preparedstatementobject.executeUpdate(),
it works fine - the data is getting inserted into Hive.
When I do the same through Spring batch using databaseItemWriter in an XML file, I face this issue saying
PreparedStatementCallback; uncategorized SQLException for SQL [ whatever the Hive sql statements I provide here ]; SQL state [null]; error code ; Method not supported; nested exception is java.sql.SQLException: Method not supported]
Do you recommend any way to write data from an XML file to HIVE - as I was trying to implement through Spring batch. Just want to know if there is any better alternative - Thanks.