openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <ppod...@apache.org>
Subject Re: injected entityManager is not compatible with OpenJPAEntityManager
Date Mon, 25 Aug 2008 14:44:31 GMT

Hi,
  Instead of 
     OpenJPAEntityManager oem = (OpenJPAEntityManager) em;
  try
    OpenJPAEntityManager oem = OpenJPAPersistence.cast(em);



-- 
View this message in context: http://n2.nabble.com/problem-when-persist-object-using-JOINED-inhertitance-under-1.1.0-tp580291p781619.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.


Mime
View raw message