I am using db2 as database and schema as abc, When i run the job it throws error that it is not able to find the table as admin.BATCH_JOB_INSTANCE, But i have created the table in...
Type: Posts; User: swarupashet; Keyword(s):
I am using db2 as database and schema as abc, When i run the job it throws error that it is not able to find the table as admin.BATCH_JOB_INSTANCE, But i have created the table in...
Is there any method in Writer where we can pass Byte Array for writing? Or it has to be string every time?
Following is the problem statement:
I need to write to a flat file , But the instead of writing all the information in plain text , I want to encode few pf the info in EBCDEIC format.
i.e. Lets...
Does writer has println() method? It is flat file writer.
I got it working by adding /r/n in the writer.write(); Thanks for replaying !!
I want to write file in a following format
header
row1
row2
row3
footer
With the help of headerCallback & footerCallback, i am able to achieve it , but the problem is , The flat file...
Thank You for your reply
Following is the validatior I am using :
<bean id="validator"
class="org.springframework.batch.item.validator.Sp ringValidator">
<property name="billingTransactionId">
<bean id="luhnValidator"...
Following is the validatior I am using :
<bean id="validator"
class="org.springframework.batch.item.validator.SpringValidator">
<property name="billingTransactionId">
<bean...
Thanks for your replay , I already looked at the example , And i am looking out for something with which i will be able to write to Database as well as to file. Can you provide me such an example?
How to write the composite writer which will write the flat file as well as update the database?
I am also facing the same problem , and i am using all release2 jars , can you please let me know wht can be the reason ? also which jar needs to be upgraded to 1.1 ?
I am getting following error :
org.springframework.dao.DataAccessResourceFailureException: Could not obtain sequence value; nested exception is com.ibm.db2.jcc.b.SqlException: DB2 SQL error:...
I am also having same problem .. can any one tell m ethe solution to it?:(