jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From quipere <jquip...@hotmail.com>
Subject session.importXML transactional
Date Thu, 26 Oct 2006 09:06:27 GMT


Is session.importXML supposed to be transactional?

When I do something like this

try {
    session.importXML("somePath", someStream,
} catch(ValueFormatException vfe) {
    //collect exception but proceed with nextfile


When a valueformat is thrown, half of the xml untill the source of the
valueformat,  is stored in JCR because of the session.save(). Shouldn't it
be transactional so no nodes are persisted when a exception is thrown?
View this message in context: http://www.nabble.com/session.importXML-transactional-tf2512772.html#a7007568
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

View raw message