Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by pjeypal

  1. pjeypal

    Script to drop packages

    A simple one.I need a script to drop all packages in a schema where name starts with 'T_%'
  2. pjeypal

    Creating a user which is an exact copy of an existing user in a databs

    Hi For testing purposes i need to create a schema in an oracle database which is an exact copy of an existing schema in the same database. Which is the simplest way to do this? Is there any command Thanks PJ
  3. pjeypal

    Closing a URL Connection

    Thanks a lot!! Wangdong
  4. pjeypal

    Closing a URL Connection

    I have an application which opens a URL connection and i found that even after completing the operation the session is hanging and not getting closed Any suggestions import java.net.URLConnection; import java.net.URL; import java.io.IOException; import java.util.HashMap; import...
  5. pjeypal

    Closing a URL Connection

    Is there any way to edit this now?
  6. pjeypal

    Closing a URL Connection

    I have an application which opens a URL connection and i found that even after completing the operation the session is hanging and not getting closed Any suggestions import java.net.URLConnection; import java.net.URL; import java.io.IOException; import java.util.HashMap; import...
  7. pjeypal

    Error when executing a java program

    Hi The lang package is by default imported into the class. Therefore the issue is something else. I tried with the import statement but still the same error
  8. pjeypal

    Error when executing a java program

    I am trying to compile this class import java.sql.*; class JdbcTest1 { public static void main (String[] args) { try { // Step 1: Load the JDBC driver. Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); // Step 2: Establish the...
  9. pjeypal

    Refresh connection to database every 5 seconds through a java program

    Any idea why this error C:\>javac JdbcTest.java JdbcTest.java:14: cannot resolve symbol symbol : variable currentThread location: class java.lang.Thread Thread.currentThread.sleep(2000); ^ 1 error C:\>
  10. pjeypal

    Refresh connection to database every 5 seconds through a java program

    This is the script import java.sql.*; class JdbcTest1 { public static void main (String[] args) { try { // Step 1: Load the JDBC driver. Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); // Step 2: Establish the connection to...
  11. pjeypal

    Refresh connection to database every 5 seconds through a java program

    Thanks for all the replies Actually what i need to do is connect to an oracle database, wait for 2 secs and then disconnect (This need to be done only once).
  12. pjeypal

    Refresh connection to database every 5 seconds through a java program

    Thanks Dian for your reply I need to launch the connection every 5 secs. Is this possible?
  13. pjeypal

    Refresh connection to database every 5 seconds through a java program

    Hi I am writing a small java program to connect every 5 seconds via the jdbc-odbc bridge driver. Is there any option to refresh connection every 5 secs? Thanks in advance

Part and Inventory Search

Back
Top