mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-12 22:41:35 +00:00
#2436 - SQL Update doesn't handle named parameters for array types in Postgres
This commit is contained in:
1 parent
9af64f61f7
commit
07f9bf98c3
10 files changed
+80
-5
No files matched your search
@@ -335,7 +335,7 @@ public class TestDbArray_basic extends BaseTestCase {
|
||||
// javax.persistence.PersistenceException:
|
||||
// ERROR: syntax error at or near "$2"
|
||||
SqlUpdate update2 = DB.sqlUpdate("UPDATE earray_bean SET phone_numbers = :pns")
|
||||
.setParameter("pns", phNumbers);
|
||||
.setArrayParameter("pns", phNumbers);
|
||||
update2.execute();
|
||||
|
||||
found = DB.find(EArrayBean.class, bean.getId());
|
||||
|
||||
Reference in new issue
Block a user