1. Due to environment requirements we have to use the WebLogicJtaTransactionManager. I have checked the documentation Spring supports using them. If this caused issue we can change it.
2. I am...
Type: Posts; User: vbforums; Keyword(s):
1. Due to environment requirements we have to use the WebLogicJtaTransactionManager. I have checked the documentation Spring supports using them. If this caused issue we can change it.
2. I am...
Below is the datasource
For weblogic deployed environment
<bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean" destroy-method="close">
<property...
I have modified the bean definition but still I get the same error
<bean id="dataSourceExt" class="org.springframework.batch.item.database.ExtendedConnectionDataSourceProxy">
<property...
Below is that configuration
<bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean" destroy-method="close">
<property name="jndiName" value="jdbc/name" />
</bean>
...
Check out the XML configuration on this post
http://forum.springsource.org/showthread.php?109250-Need-help-in-resolving-UncategorizedSQLException
Hi,
I am getting the below error when executing the spring batch job
ERROR [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] step.AbstractStep - Encountered...
Is it true that the only way to distinguish two JobInstances created from the same Job is via the JobInstance's JobParameters? TRUE.
Yes, you can include a job unique identifier as a parameter....
(1)Below is the complete path
org.springframework.batch.item.support.CompositeItemProcessor
(2) Check the process method on this class
(3) It is CompositeItemProcessor
Hi,
I am writing a large file using Spring Batch. Once writing is complete, I have to write a new file which tells the summary of the primary file. I don't know the file name of this summary file,...
Dave, can you please throw some light on this?
Hi Dave,
Below is the complete Job configuration. Yes, I meant the start of second transaction in the step
<batch:job id="tJob" job-repository="jobRepository">
<batch:step id="pFile">...
Hi,
I am getting the below error message when using the JpaPagingItemReader
03-10 15:41:16 ERROR [main] step.AbstractStep - Exception while closing step execution resources...
Hi,
what is the maximum number of SQL statements that I can successfully execute in a Spring jdbcTemplate batchUpdate function.
List<Object[]> sqlParamValList = new ArrayList<Object[]>();...
I prefer the Option 1. You should build the appropriate business object and validate it upfront.
Hi,
select * from table_a a
left outer join table_b b on b.pk_column_id=a.pk_column_id
where a.column_x='criteria'
to do this I know we can add a code like this in Criteria...
Currently the DML is happening. The only change that we did updating the @Transactional(readOnly=true) to @Transactional(readOnly=false) on a single datamanger. This datamanger was used only by our...
Below is my transaction configuration
<bean id="oraSessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
<property name="dataSource" ref="projDataSource" />...
Hi,
We are in the process of upgrading the Spring 2.5.6 to 3.0.5. Ours is a good working code base in 2.5.6 and we are using the
@Transactional(readOnly=false) on the business manager methods...
Use the below line of code to get the user
SecurityContextHolder.getContext().getAuthentication()
Hi,
I would like to limit the content of a drop down on a JSP/JSTL page based on the user security role. Each of the drop down values are tagged with the appropriate security roles
What is the...
Chudak,
Thanks for this excellent posting.
Can you please explain in your framework how you are capturing the errors which is happening during file processing and providing that errors back to...
Yep, I have created the below JIRA issue for this
http://jira.springframework.org/browse/BATCH-924
Dave,
Thanks for your response. Below is the configuration of my Job and in which I am using existing Spring Validators
<bean id="personReader"...
Thanks for your response and guidance Dave. I will go this route.
If this checking is in-built in the batch framework its a nice to have else we have to build a class for each of our batch...
Agreed, this resolves the issue of NULL child object.
Another problem that I see is, lets say class A mapped to tableA and class B mapped to tableB, if all the parameters of class B is null in the...