This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
I'm joining two tables, Document table and oword_Service_Code table on the column called service_code. The thing is that I can have a service_code that exists in the document table but not in the oword_Service_Code table. This is causing me to get javax.persistence.EntityNotFoundException errors.
This is how I'm joining the two tables...
Should I be adding some annotation that would avoid this error?