File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

multiple SQL statements for InitSQL (JDBC pool)

 
R. Heydenreich
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I have the connection pool configured so that it changes the DB session. Additionally, I want to put another statement. But I don't know how I can do this. Which separator char is needed? At the moment it looks like the following:

(Init SQL SQL ALTER SESSION SET CURRENT_SCHEMA=anotherschema; SQL ALTER SESSION SET CURSOR_SHARING=SIMILAR

This does *NOT* work! If I remove the second statement and the semicolon it works fine. How can I write it correctly?

TIA,
Ralf.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic