-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
bugSomething isn't workingSomething isn't working
Description
- We can cexecute sql using DataSource and Connection Now. We should not allow users to come through connection as it should be internal to the library to manage connections.
new SqlBuilder("SELECT id, title, directed_by FROM movie WHERE id = ?")
.param(generatedId)
.queryForOne(this::mapRow)
.execute(dataSource);
Where as below should not be supported
new SqlBuilder("SELECT id, title, directed_by FROM movie WHERE id = ?")
.param(generatedId)
.queryForOne(this::mapRow)
.execute(connection);
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working