This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JDBC and the fly likes Current Schema doesnt work for procedure access Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Current Schema doesnt work for procedure access" Watch "Current Schema doesnt work for procedure access" New topic
Author

Current Schema doesnt work for procedure access

jaspal singh
Ranch Hand

Joined: Sep 15, 2005
Posts: 54
Hi,

I am using WAS 6 with db2.

I've used currentSchema i.e deafault schema property in Datasource for JDBC connectiion pooling.

However this doesent work while accessing any procedure.

I've to explicity provide e.g. call Schema.xyzProce

Any suggestions as why this is happening.

Thanks,
Jass


Teach me the art of forgetting, for I always remember wat I have forgotten.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10268
    
    8

Triplicate (not duplicate) thread.
http://www.coderanch.com/forums/
http://www.coderanch.com/t/307465/JDBC/java/Current-Schema-doesnt-work-procedure
http://www.coderanch.com/t/79654/Websphere/Current-Schema-doesnt-work-procedure


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30356
    
150

Originally posted by jaspal singh:
However this doesent work while accessing any procedure.

What does "doesn't work" mean? Do you get an error message? exception? does the code silently fail?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
Consider Paul's rocket mass heater.
 
subject: Current Schema doesnt work for procedure access