Guest User

Untitled

a guest
Oct 22nd, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. package Data;
  2. import java.util.ArrayList;
  3. import java.util.List;
  4.  
  5. import Oracle.DBConnection;
  6.  
  7. public class Students {
  8.  
  9. public static void main(String[] args) {
  10. DBConnection.OpenConnection();
  11. String query = "SELECT * FROM STUDENT ORDER BY COUNTRY";
  12. Student[] students = DBConnection.ExecuteQuery(query);
  13. DBConnection.CloseConnection();
  14.  
  15. }
  16. }
Add Comment
Please, Sign In to add comment