Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new DB("corporation").open("com.mysql.jdbc.Driver", "jdbc:mysql://localhost/test", "root", "p@ssw0rd");
- new DB("university").open("oracle.jdbc.driver.OracleDriver", "jdbc:oracle:thin:@localhost:1521:xe", "activejdbc", "activejdbc");
- @DbName("corporation")
- public class Employee extends Model {}
- ...
- @DbName("university")
- public class Student extends Model {}
Add Comment
Please, Sign In to add comment