This is the first time I'm using clover.
The user case is like this:
I Import data from a tab delimetered file and want to store this data in a db table.
One of the rows should have a value which is the same for
each data file.
For example for file a.dat is 1 for b.dat is 2 etc.
This value is not taken from the input file.
I thought to use properties for this (perhaps cloverFields="..;TheProperty")
I don't know if this is possible.
Is there any way to achieve this?
The user case is like this:
I Import data from a tab delimetered file and want to store this data in a db table.
One of the rows should have a value which is the same for
each data file.
For example for file a.dat is 1 for b.dat is 2 etc.
This value is not taken from the input file.
I thought to use properties for this (perhaps cloverFields="..;TheProperty")
I don't know if this is possible.
Is there any way to achieve this?
-
It can't be used like that.
But you can use DBOutputTable where
you specify full update statement, then Property can be used - like this:
update mytable (a,b,c,d....) values(?,?,?,?,'${TheProperty}')
And use cloverFields to specify which clover field's value is going to replace which placeholder - "?"
David.
Please sign in to leave a comment.
Comments 1