Search:

Type: Posts; User: Siva Krishna; Keyword(s):

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    21,393

    Invalid column index error : Fixed

    Figured out the issue.

    getJdbcTemplate().query(sql, queryParams, rowmapper) is not working correctly when I pass strings into query params for "?". So, I substitued the string values directly in...
  2. Replies
    4
    Views
    21,393

    Getting Invalid column index error

    Hello,

    I'm trying to retrieve some values from DB but I'm getting error message. Can you please help me.

    Here are the details.

    SQL Query :

    SELECT PHYS_RESR_ID, NOTE_TEXT,...
  3. How to migrate Entity beans to Spring?

    Hello,

    We are using few Entity beans in our project. Our management decided to migrate all EJBs to Spring. Is there any standard/best way for this?

    Please let me know.

    Regards
    Siva.
  4. you can create Calendar instance like this... ...

    you can create Calendar instance like this...


    <bean id="actualDate" class="java.util.Calendar" factory-method="getInstance"/>
  5. Replies
    4
    Views
    1,048

    use depends-on="b" attribute in the bean...

    use depends-on="b" attribute in the bean declaration of "a" as below. With this first bean "b" is created and gets injected into bean "a".



    <bean id="a" class="com.siva.A" depends-on="b">
    ...
  6. If I were you, I'll keep the application context...

    If I were you, I'll keep the application context files in WAR.
  7. Replies
    12
    Views
    9,933

    Hello, I got almost similar requirement,...

    Hello,

    I got almost similar requirement, making the schedulers as DB driven, and handled it in the following way.

    I created a new UI that takes start time & interval time and saves them in DB. ...
  8. For updating the properties you can use...

    For updating the properties you can use BeanPostProcessor.
  9. Replies
    5
    Views
    12,333

    I'm using Spring 2.5.5 and am able to set the...

    I'm using Spring 2.5.5 and am able to set the boolean prooperty value.

    Here is the example code.


    <bean id="booleanTest" class="com.siva.BooleanTest">
    <property name="booleanValue">...
  10. Hello Oleksandr, Thanks for your reply. ...

    Hello Oleksandr,

    Thanks for your reply.

    Actually I don't have access to DB, only DBA can create those jobs. So, I want to reschedule the jobs using Spring.

    is there any way to create a...
  11. How to update beans in clustered environment?

    Hello,

    I'm using spring scheduler to execute Oracle PL/SQL procedures, giving the cron expression in XML file. The task is to make the scheduler time as DB driven, instead of XML. I've create a...
Results 1 to 11 of 11