Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import ballerinax/java.jdbc;
- public function main(string… args) {
- jdbc:Client customerDBEP = new ({
- url: "jdbc:mysql://localhost:3306/testdb",
- username: "root",
- password: "root"
- });
- var result = customerDBEP->select("SELECT firstname FROM student WHERE registration_id = " + args[0], ());
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement