On Thu, Nov 19, 2009 at 9:34 AM, Amit Puri <[email protected]> wrote:
> Hi All > > I am using Geronimo 2.1.4 that incorporates OpenJPA 1.2.1. In one of my > application, I am getting "NoResultException" from some query. After that > my > Transaction is rolling back and it gave exception there. I dont want it to > roll back, Please helping me by giving any pointer. > > I don't know if this is the best way, but you could query.getResultList() instead and either find nothing or the first and only item in the list. -- Daryl Stultz _____________________________________ 6 Degrees Software and Consulting, Inc. http://www.6degrees.com mailto:[email protected]
