Forums Register Login

keep getting error: More than one row with the given identifier was found: 000001, for class

+Pie Number of slices to send: Send
message: More than one row with the given identifier was found: 000001, for class com.highmark.fm.model.TeamModel

the thing is I want multiple rows with the same primary key returned.....



also tried this (saw in another forum somewhere) to no avail...



I also tried using the @ManyToOne above the code, to no avail....here is my sql...(I am returning into a List in my code)...any help is really appreciated


Thanks!

God is a comedian playing for an audience that is afraid to laugh - Voltair. tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 2101 times.
Similar Threads
EJBQL and its return type
Unable to use @NamedQuery in a session bean?
Select an entity object in a NamedQuery
OrderBy
OneToOne Relation Exception
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 06:40:36.