Rich, Thanks for your reply. > What are you trying to do when you get these warning messages? I ignored the warning message and generated some entities. So the entities defined in previous persistence unit arised the following compile errors, "Class "xxxxx" is mapped, but is not included in any persistence unit" "Table "xxxxx" cannot be resolved"
> Can you please include the full warning message(s)? Warning message is just one sentence, "Multiple persistence units defined - only the first persistence unit will be recognized". > Are you using container managed or application managed? I am using application managed. Thanks, Alex,Huang ----- Original Message ----- From: "Rick Curtis" <[email protected]> To: <[email protected]> Sent: Thursday, November 18, 2010 10:13 PM Subject: Re: Work with multiple persistence unit. > What are you trying to do when you get these warning messages? Can you > please include the full warning message(s)? Are you using container > managed > or application managed? > > Thanks, > Rick
