-
Mar 21st, 2012, 03:35 PM
#1
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 POJO. 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 help
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules