File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ Execute 1000 SELECT statements against a DB and map the data returned to a POJO.
2929If any plugin requires a DataManager you just need to download and install it. Usually it will be enough. Also, you can
3030configure some database settings in config.yml file, that plugin will create in ` plugins ` folder.
3131
32- ## How to create your JDBI database
32+ ## How to create your Sql2o database
3333
3434Firstly we recommend to read [ * Sql2o Documentation* ] ( https://www.sql2o.org )
3535
@@ -72,8 +72,8 @@ import me.hteppl.data.Database;
7272public class Main {
7373
7474 public static void main (String [] args ) {
75- MyDatabase db = new MyDatabase ();
76- db. getHandle (). createQuery(... );
75+ Database db = new MyDatabase ();
76+ db. getConnection (). createQuery(... );
7777 }
7878}
7979```
You can’t perform that action at this time.
0 commit comments