mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1891 - Deprecate createSqlQuery() ... migrate to sqlQuery()
This commit is contained in:
@@ -68,7 +68,7 @@ public class TestEncrypt extends BaseTestCase {
|
||||
|
||||
DB.save(e);
|
||||
|
||||
SqlRow row = DB.createSqlQuery("select * from e_basicenc where id = :id")
|
||||
SqlRow row = DB.sqlQuery("select * from e_basicenc where id = :id")
|
||||
.setParameter("id", e.getId())
|
||||
.findOne();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user