Search:

Type: Posts; User: vbforums; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.04 seconds.

  1. 1. Due to environment requirements we have to use...

    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...
  2. Below is the datasource For...

    Below is the datasource


    For weblogic deployed environment
    <bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean" destroy-method="close">
    <property...
  3. I have modified the bean definition but still I...

    I have modified the bean definition but still I get the same error




    <bean id="dataSourceExt" class="org.springframework.batch.item.database.ExtendedConnectionDataSourceProxy">
    <property...
  4. Below is that configuration

    Below is that configuration


    <bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean" destroy-method="close">
    <property name="jndiName" value="jdbc/name" />
    </bean>
    ...
  5. Check out the XML configuration on this post ...

    Check out the XML configuration on this post


    http://forum.springsource.org/showthread.php?109250-Need-help-in-resolving-UncategorizedSQLException
  6. 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...
  7. Replies
    1
    Views
    641

    Is it true that the only way to distinguish two...

    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....
  8. Replies
    3
    Views
    1,418

    (1)Below is the complete path...

    (1)Below is the complete path
    org.springframework.batch.item.support.CompositeItemProcessor
    (2) Check the process method on this class
    (3) It is CompositeItemProcessor
  9. Replies
    2
    Views
    810

    File Writing - New File on writeFooter

    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,...
  10. Dave, can you please throw some light on this?

    Dave, can you please throw some light on this?
  11. Hi Dave, Below is the complete Job...

    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">...
  12. Getting session closed error when using JpaPagingItemReader

    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...
  13. Replies
    1
    Views
    675

    jdbcTemplate maximum no. of statements

    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[]>();...
  14. Replies
    1
    Views
    607

    I prefer the Option 1. You should build the...

    I prefer the Option 1. You should build the appropriate business object and validate it upfront.
  15. Challenging question - AND condition in ON clause

    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...
  16. Replies
    7
    Views
    2,507

    Currently the DML is happening. The only change...

    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...
  17. Replies
    7
    Views
    2,507

    Below is my transaction configuration ...

    Below is my transaction configuration



    <bean id="oraSessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
    <property name="dataSource" ref="projDataSource" />...
  18. Replies
    7
    Views
    2,507

    @Transactional not working

    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...
  19. Use the below line of code to get the user ...

    Use the below line of code to get the user

    SecurityContextHolder.getContext().getAuthentication()
  20. Replies
    0
    Views
    815

    controlling drop down list values

    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...
  21. Replies
    22
    Views
    6,880

    Chudak, Thanks for this excellent posting. ...

    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...
  22. Yep, I have created the below JIRA issue for this...

    Yep, I have created the below JIRA issue for this

    http://jira.springframework.org/browse/BATCH-924
  23. Dave, Thanks for your response. Below is the...

    Dave,

    Thanks for your response. Below is the configuration of my Job and in which I am using existing Spring Validators



    <bean id="personReader"...
  24. Thanks for your response and guidance Dave. I...

    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...
  25. Agreed, this resolves the issue of NULL child...

    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...
Results 1 to 25 of 32
Page 1 of 2 1 2