| createquery [message #390515] |
Wed, 22 July 2009 03:29  |
Enrico Messages: 82 Registered: July 2009 |
Member |
|
|
Hi all,
I get an error when I try to create a query:
Query query = entityManager.createQuery(sql);
......
query.setParameter(i++, property1);
query.setParameter(i++, property2);
.....
my sql string is:
"select this from CfgEntity as this where this.idCfg=? and this.cfgName=?"
The errors in the createQuery call are:
line 1:53 mismatched character ' ' expecting set '1'..'9'
line 1:72 mismatched character '<EOF>' expecting set '1'..'9'
Any helps?
BR,
Enrico
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01548 seconds