• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SQL Job

 
Arjunkumar Shastry
Ranch Hand
Posts: 986
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From DatabaseMetadata interface in java.sql package,is it possible to retrive the information about SQL jobs running on database server?table,stored procedures is possible but how to get SQL job info?

Thanks
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34695
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Arjunkumar,
No, you can't get the SQL jobs from DatabaseMetaData. If your database allows you to query a system table to get the SQL job list, you could run that query through JDBC.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic