tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cocorossello <cocorosse...@gmail.com>
Subject Re: JtaEntityManager GC
Date Mon, 19 Feb 2018 22:33:37 GMT
Romain, one question. You said that if I was using it outside a transaction I
should clear myself the entityManager.

But looking at the JtaEntityManager it does nothing in that case:

    public void clear() {
        if (!extended && !isTransactionActive()) {
            return;
        }
        ....
    }

How can I clear the entityManager?



--
Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html

Mime
View raw message