I’ve just ran into another one of those great errors that tend to take way to long time to solve.
16:45:04,220 WARN JDBCExceptionReporter:100 - SQL Error: -62, SQLState: SOO10 16:45:04,221 ERROR JDBCExceptionReporter:101 - Invalid argument in JDBC call: parameter index out of range: 7
All I did was persisting an object with entityManager.persist(entry).
And I could just not find anything wrong with my JPA-mappings that looked like this:
@Basic
private String login;
@Basic
private String name;Well’ at least they looked like that in the class that I was working on.
Turned out that I already had a mapped private variable called name higher up in the class hierarchy.
Note to self, inheritance is the devil…
No comments yet.