Announcement Announcement Module
Collapse
No announcement yet.
About the schema name for default table of spring batch Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • About the schema name for default table of spring batch

    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 abc.BATCH_JOB_INSTANCE

    How to configure the schema for the batch default tables?

    i tried following :

    <bean id="jobRepository"
    class="org.springframework.batch.core.repository.s upport.JobRepositoryFactoryBean">
    <!--<property name="isolationLevelForCreate" value="ISOLATION_DEFAULT" />-->
    <property name="dataSource" ref="dataSource" />
    <property name="transactionManager" ref="transactionManager" />
    <property name="databaseType" value="db2"/>
    <property name="tablePrefix" value="ABC.BATCH_"/>
    </bean>



    Please let me know the mistake i am making ?
Working...
X