dennisbyrne wrote:
erik_svensson wrote:
There are several entries with the same primary key.
What do you mean by "entries"? If you mean rows, check the database and make sure your "primary key" is actually a primary key.
PK values are unique.
I mean columns.
There are two primary keys and the player_id is one of them.
The thing is, is that the result set is the correct size. The columns in the result set, however, are all the first column found. In fact, it's the same object. (ie if I do list.get(0) == list.get(1) it evaluates to true).