Stargazer wrote:
> On 05-Aug-2009 00:14, Jeff Schnitzer wrote:
>   
>> Resin 4.0.1 doesn't seem to work with Hibernate anymore
>>     
> Related: If you follow this http://wiki.caucho.com/Hibernate with Resin 
> 4.0.4 and Hibernate 3.3.2, you get the "unknown @PersistenceContext" 
> error you mention.
>   
That's fixed in 4.0.5, although it's more correct to use "unitName" for 
the @PersistenceContext because "name" is supposed to be the JNDI name.

So

  @PersistenceContext(unitName="test")
  EntityManager _em;

-- Scott
>
>
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest
>
>   



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to