Announcement Announcement Module
Collapse
No announcement yet.
How do I set the name of the stored procedure in the database using StoredProcedure a Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How do I set the name of the stored procedure in the database using StoredProcedure a

    How do I set the name of the stored procedure in the database using StoredProcedure after creating.

    I don't want to use the Constructor for the Spring JDBC StoredProcedure Object that I have to pass in the datasource and the name.

    protected StoredProcedure(DataSource ds, String name)
    ds - DataSource to use throughout the lifetime of this object to obtain connections
    name - name of the stored procedure in the database

    This is due to trying to use AOP. So I want to use the Constructor without them and then call setDataSource on the StoredProcedure but how do I then set the name?

    hmm please hel[p
Working...
X