Closed GoogleCodeExporter closed 8 years ago
SVN trunk enables this
Original comment by googleco...@yahoo.co.uk
on 18 Aug 2012 at 10:18
trying to get an entity with an int field as PK I get "Received a request to
find an object of type <myclass> identified by 2. This is not a valid
representation of a primary key for an instance of <myclass>".
I tried to look in the source and it seems to me that the
intOrLongToInternalKey method
in EntityUtils class should have also a case managing Integer, something like:
(..)
} else if (pkType.equals(Integer.class)) {
result = keyWithId.getId();
(..)
Original comment by finsacca...@gmail.com
on 19 Aug 2013 at 5:51
Original issue reported on code.google.com by
googleco...@yahoo.co.uk
on 18 Aug 2012 at 10:17