Hi , thanks.
The file name isn't a job parameter.
the file name is in properties file.
<beans:bean name="coItemReader"
class="org.springframework.batch.item.file.FlatFileItemReader">
......
Type: Posts; User: marwan; Keyword(s):
Hi , thanks.
The file name isn't a job parameter.
the file name is in properties file.
<beans:bean name="coItemReader"
class="org.springframework.batch.item.file.FlatFileItemReader">
......
Hi,
I want to move the csv file to error directory or sucess directrory.
Solution :
1. developp a Tasklet
2. Use JobExecutionListener (test the status of job execution)
In the both...
Okey thanks for reply.
so in Spring batch how can i validate a cron expression ?
the cas of use :
We enter the cron expression in html form. so we need to validate it befor lauching scheduler...
Hi,
I use a quartz validator expression :
CronExpression.isValidExpression(cronExpression)
the problem some expression cron is valid in "org.quartz.CronExpression" point of view but when i...
Hello,
Spring batch give us a possibilty of error recovery.
You can restart your job spring batch it continues execution where the previous
run stopped .
And look sample in :
...
You must creat metadata manually.
All scripts are located in the spring batch jar .
spring-batch-core-2.1.5.RELEASE\org\springframework\batch\core :
schema-mysql.sql
schema-drop-mysql.sql
...
So this is not related with spring batch.
you built a simple DAO and you could'nt see any of the expected exception.
first Unique constraint sure is a runtime exception.
second we need more...
Can you give us the xml spring batch configuration .
in anyway look below step configuration :
<step id="myStep">
<tasklet>
<chunk reader="ItemReader" writer="ItemWriter"...
thanks for your help.
i will try by creating Properties object.
Whene we schedule our jobs , and the trigger fire , the first class executed is com.batch.JobLauncherDetails :
<beans:bean...
thank you very muchhhhh
Plz Dave you don't have any suggestion about my post : Put some parameters for my jobs ? it's urgent for me now
yes thanks i did'it manualy
i need help about this subject .
i didn't find how to do that !
http://static.springsource.org/downloads/nightly/release-download.php?project=BATCH
Finally , i found samples of parallel job in
spring-batch-2.1.5.RELEASE-no-dependencies.jar :)
so the best way to see all samples is looking in test package :...
Any suggestion plz ?
Hi
I use historisation Spring batch in Oracle database.
As you know the historisation give us only number of skiped lines.
TABLE BATCH_STEP_EXECUTION (
STEP_EXECUTION_ID NUMBER(19,0) NOT...
sorry i didn't find the sample PARALLEL in any spring source project.
i am developping a sample , when i got it finished i am going to send it to you.
Thanks for your reply.
Question 1 : externalise cron expression in database instead of properties file ?
my configuration xml :
<beans:bean id="entityCronTrigger"...
I think the solution is make some Listener on step execution, job execution ... ?
but how can i use JobParameter to configure JobInstance ?
The most important thing for my case is to externalise...
Hi,
Now i am using with successful spring batch 2.1.5.
i defined all my jobs in xml spring configuration.
i have Main class in my project that start scheduler :
public static void...
Hi
i have a example made using spring batch 1.1.0 and i want to migrate it to 2.1.5.
there is a way to do that ?
1. migrating xml configuration
2. classes , implementation
i want to use...
Hi,
i ' m looking for a spring batch Parallel sample.
in the official doc is mentionned that they have made an sample
using Parallel flow....
hi,
nor
i didn't find samples about parallel
thx
sorry but id did'nt find any sample named Parallel in source file: spring-batch-2.1.5.RELEASE-no-dependencies.
below the content of...