JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Use Agile By Default
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile Access more options (Alt+g)
  • Create Issue
  • Mule
  • MULE-491

Improve JdbcConnector to delegate calls to the ORM layer

  • Agile Board
  • More Actions
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.2
  • Fix Version/s: 1.4.1
  • Component/s: Transport: JDBC
  • Labels:
    None
  • Similar Issues:
    None

Description

Let the JdbcConnector delegate its select/insert/update operations to the DAO. This way we can solve issues with JMS MessageFormatExceptions, when result is mapped to types unsupported by JMS ObjectMessage's type system, and also provide a way to call stored procedures.

Issue Links

relates to

Patch submission - User code to be reviewed and incorporated into the product. MULE-714 Support read queries for outbound JDBC

  • Minor - Minor loss of function, or other problem where easy workaround is present.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Bug - A problem which impairs or prevents the functions of the product. MULE-761 JdbcMessageDispatcher failure when performing a query with null parameters

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions
  • Commits
  • Source
  • Builds
Hide
Permalink
Ross Mason added a comment - 23/Jun/06 12:54 PM

Hey Andrew, any news on this? It's a cool feature

Show
Ross Mason added a comment - 23/Jun/06 12:54 PM Hey Andrew, any news on this? It's a cool feature
Hide
Permalink
Travis Carlson added a comment - 29/Aug/06 12:07 PM

Something I've been looking into lately is leveraging the Spring JDBC abstraction layer:
http://today.java.net/pub/a/today/2006/05/09/why-spring-jdbc.html

http://static.springframework.org/spring/docs/2.0.x/reference/jdbc.html

It's got quite a bit of functionality (including, of course, stored procedure calls), good documentation, improved exception handling, hides the details of JDBC calls and would shield Mule from any API version differences/changes.

For Oracle users, it's got some interesting Oracle-specific functionality as well:
http://www.oracle.com/technology/pub/articles/marx_spring.html

Show
Travis Carlson added a comment - 29/Aug/06 12:07 PM Something I've been looking into lately is leveraging the Spring JDBC abstraction layer: http://today.java.net/pub/a/today/2006/05/09/why-spring-jdbc.html http://static.springframework.org/spring/docs/2.0.x/reference/jdbc.html It's got quite a bit of functionality (including, of course, stored procedure calls), good documentation, improved exception handling, hides the details of JDBC calls and would shield Mule from any API version differences/changes. For Oracle users, it's got some interesting Oracle-specific functionality as well: http://www.oracle.com/technology/pub/articles/marx_spring.html
Hide
Permalink
Alan Cassar added a comment - 06/Sep/07 06:33 AM

Hi all,
I am currently handling adding the feature to execute stored procedures to the current jdbc transport

Show
Alan Cassar added a comment - 06/Sep/07 06:33 AM Hi all, I am currently handling adding the feature to execute stored procedures to the current jdbc transport
Hide
Permalink
Alan Cassar added a comment - 06/Sep/07 09:18 AM

executing stored procedures is implemented in revision 8229

Show
Alan Cassar added a comment - 06/Sep/07 09:18 AM executing stored procedures is implemented in revision 8229
Hide
Permalink
Travis Carlson added a comment - 06/Sep/07 09:33 AM

Wow, that was simple! I think the problem used to be that the DBUtils lib didn't support stored procedures. Apparently now it does?

Show
Travis Carlson added a comment - 06/Sep/07 09:33 AM Wow, that was simple! I think the problem used to be that the DBUtils lib didn't support stored procedures. Apparently now it does?
Hide
Permalink
Alan Cassar added a comment - 07/Sep/07 04:51 AM

No clue on that, however I must say that most of the time was spent not adding JAVA code to Mule, but on research about stored procedurs, setting up SQL database and formulating stored procedures...

Show
Alan Cassar added a comment - 07/Sep/07 04:51 AM No clue on that, however I must say that most of the time was spent not adding JAVA code to Mule, but on research about stored procedurs, setting up SQL database and formulating stored procedures...
Hide
Permalink
Alan Cassar added a comment - 19/Sep/07 07:58 AM

should we rename this jira issue to Support for stored procedures and close it?

Show
Alan Cassar added a comment - 19/Sep/07 07:58 AM should we rename this jira issue to Support for stored procedures and close it?
Hide
Permalink
Andrew Perepelytsya added a comment - 19/Sep/07 08:54 AM

No, it's a bit different.

Show
Andrew Perepelytsya added a comment - 19/Sep/07 08:54 AM No, it's a bit different.
Hide
Permalink
Travis Carlson added a comment - 20/Sep/07 05:04 AM

Alan, you can create a new JIRA representing the stored procedures support, make it "related to" this one, and close it so that that gets into the release notes (and leave this one open).

Show
Travis Carlson added a comment - 20/Sep/07 05:04 AM Alan, you can create a new JIRA representing the stored procedures support, make it "related to" this one, and close it so that that gets into the release notes (and leave this one open).
Hide
Permalink
Andrew Perepelytsya added a comment - 04/Mar/08 07:28 AM

A MuleForge project is available with this functionality now: http://mule.mulesource.org/display/HIBERNATE/Home Initially targeted at Mule 1.4.1, thus the fix version set.

Show
Andrew Perepelytsya added a comment - 04/Mar/08 07:28 AM A MuleForge project is available with this functionality now: http://mule.mulesource.org/display/HIBERNATE/Home Initially targeted at Mule 1.4.1, thus the fix version set.

People

  • Assignee:
    Andrew Perepelytsya
    Reporter:
    Andrew Perepelytsya
Vote (3)
Watch (6)

Dates

  • Created:
    22/Nov/05 03:07 PM
    Updated:
    04/Mar/08 07:28 AM
    Resolved:
    04/Mar/08 07:28 AM

Agile

  • View on Board
  • Atlassian JIRA (v5.0.7#734-sha1:8ad78a6)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for MuleForge. Try JIRA - bug tracking software for your team.