Advertisement
Guest User

Untitled

a guest
Oct 14th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. import ballerinax/java.jdbc;
  2. public function main(string… args) {
  3. jdbc:Client customerDBEP = new ({
  4. url: "jdbc:mysql://localhost:3306/testdb",
  5. username: "root",
  6. password: "root"
  7. });
  8. var result = customerDBEP->select("SELECT firstname FROM student WHERE registration_id = " + args[0], ());
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement