I'm having an issue with Spring Data JPA positional parameters on Google AppEngine.
The basic infrastructure with repositories works nicely btw.
Calling above defined findByUsernameStartingWith method causes the following exception:Code:public interface UserRepository extends JpaRepository<User, Long>, JpaSpecificationExecutor<User> { User findByUsername(String username); Page<User> findByUsernameStartingWith(String username, Pageable pageable); }
Code:Numbered parameter syntax starting ? but isnt followed by numeric!; nested exception is javax.persistence.PersistenceException: Numbered parameter syntax starting ? but isnt followed by numeric!
So it seems the queries contain ? but not something like ?1
Is this true how Spring Data JPA works?
I found this related ticket on GAE http://code.google.com/p/googleappen...detail?id=1724 which states that positional parameters need position indication.
Any idead?


Reply With Quote