Com.ibm.db2.jcc.a.sqlexception executequery method cannot be used for update
Well, it turns out the latest JDBC driver does in fact support it! Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Helping communities build their own LTE networks. Podcast Making Agile work for data science. Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Related Hot Network Questions.
Question feed. When using db2 its making entry in meta tables. As per this chart , your driver version 4. I run your job as is and it completes as shown in below logs. I have DB2 database and six Spring batch meta data tables ready. Also, I have verified that point 1 is invalid as I don't get any errors even if target read table is empty. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams?
Collectives on Stack Overflow. Learn more. Method executeQuery cannot be used for update. Asked 4 years, 7 months ago. Active 2 months ago. Viewed 9k times. SpringBatchDbReadApplication : No active profile set, falling back to default profiles: default AnnotationConfigApplicationContext : Refreshing org.
This will result in a failure to process annotations such as Autowired, Resource and PostConstruct within the method's declaring Configuration class. Add the 'static' modifier to this method to avoid these container lifecycle issues; see Bean javadoc for complete details.
SimpleStepHandler : Executing step: [step1] AbstractStep : Encountered an error executing step step1 in job jobakaj org. ItemStreamException: Failed to initialize the reader at org. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Helping communities build their own LTE networks. Podcast Making Agile work for data science.
Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Related