MountainClimb / datanucleus-appengine

Automatically exported from code.google.com/p/datanucleus-appengine
0 stars 0 forks source link

Positional parameters don't work (JPQL) #128

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
User reported a regression between 1.2.1 and 1.2.2.  Still broken in 1.2.5

List<Book> result =  em.createQuery("select b from " + Book.class.getName()
+ " b where isbn=?1").setParameter(1, "isbn").getResultList();

Original issue reported on code.google.com by max.r...@gmail.com on 15 Sep 2009 at 2:42

GoogleCodeExporter commented 8 years ago
Unfortunately the only workaround is to use named params instead of positional 
params.

Original comment by max.r...@gmail.com on 15 Sep 2009 at 2:42

GoogleCodeExporter commented 8 years ago

Original comment by max.r...@gmail.com on 15 Sep 2009 at 2:55

GoogleCodeExporter commented 8 years ago
Issue 131 has been merged into this issue.

Original comment by max.r...@gmail.com on 25 Sep 2009 at 8:59

GoogleCodeExporter commented 8 years ago

Original comment by max.r...@gmail.com on 26 Jan 2010 at 12:19

GoogleCodeExporter commented 8 years ago
Hi,

Has this issue been resolved ?

Thanks
Seb

Original comment by sebnou...@gmail.com on 20 Apr 2010 at 11:34

GoogleCodeExporter commented 8 years ago
This bug is not fixed in datanucleus-appengine-1.0.5.final (SDK 1.3.1) nor 
datanucleus-
appengine-1.0.6.final (SDK 1.3.3.1) 

Original comment by mcaslavsky@gmail.com on 18 May 2010 at 9:37