Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: JdbcTemplate.queryForList returns oracle.sql.TIMESTAMP ?

  1. #11
    Join Date
    Aug 2004
    Location
    Toronto, Canada
    Posts
    736

    Default

    Quote Originally Posted by SuperMario
    I noticed there is a new release 1.1.1 of springframework.
    Is there a solution for my described problem in this release ?

    In the changlog there is this text:
    "JdbcTemplate uses Commons Collections LinkedMap (if available, on JDK <= 1.4) for mapping result rows in lists
    "

    Can you post some code, if this "Commons Collections LinkedMap" is the solution for me ?
    No, the change above is just an optimization for a JDK 1.3 environment, in the case that commons-collections is available.
    Colin Sampaleanu
    SpringSource - http://www.springsource.com

  2. #12
    Join Date
    Sep 2004
    Location
    Copenhagen, Denmark
    Posts
    113

    Default

    I am going to try to fix the Oracle date issues in queyForList though. We should be able to detect this Oracle class and do a getTimestamp instead. I'll post something when I have some code comitted - probably 1.1.2 release.
    Is it possible to add a JIRA for this to not forget it?

  3. #13
    Join Date
    Aug 2004
    Posts
    1,104

    Default

    I have fixed this - it is now in CVS. This fix applies to queryForList and queryForObject. Oracle TIMESTAMP columns will now be returned as java.sql.Timestamp objects.
    Thomas Risberg
    SpringSource by Pivotal
    http://www.springsource.org

  4. #14
    Join Date
    Sep 2004
    Posts
    7

    Default

    Cool, thanks.

    I'm looking forward to the next release of SpringFramework.

    Best Regards,
    Mario

Similar Threads

  1. Forms
    By sherihan in forum Web
    Replies: 4
    Last Post: Oct 2nd, 2006, 06:24 AM
  2. Hibernate Axis OpenSessionViewFilter problem
    By ByronSpringBean in forum Data
    Replies: 0
    Last Post: Jul 22nd, 2005, 01:03 PM
  3. Replies: 7
    Last Post: May 2nd, 2005, 10:45 AM
  4. _target1 always returns zero
    By mark in forum Web
    Replies: 0
    Last Post: Feb 24th, 2005, 05:05 PM
  5. Replies: 6
    Last Post: Nov 25th, 2004, 07:28 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •