jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pradeepkudale <pradeepkud...@gmail.com>
Subject Re: AW: OCM : Not able to get the list of nodes added in current session
Date Fri, 30 Apr 2010 13:38:31 GMT

Thanks for your reply,

       I am having below functions in GenericJcrDaoImpl.

	public T execute(JcrMappingCallback callback) throws DataAccessException {
        return (T) jcrMappingTemplate.execute(callback);
	public T save(final T node) {		
		execute(new JcrMappingCallback() {
			public Object doInJcrMapping(ObjectContentManager manager) throws
JcrMappingException {
				return null;
		return node;

  and i am extending GenericJcrDaoImpl in my JcrFileNodeDaoImpl

 public class JcrFileNodeDaoImpl extends GenericJcrDaoImpl<JcrFileNode,
String> implements JcrFileNodeDao {


so it automatically calls the save method in GenericJcrDaoImpl.

Pradeep Kudale
View this message in context: http://jackrabbit.510166.n4.nabble.com/OCM-Not-able-to-get-the-list-of-nodes-added-in-current-session-tp2076858p2076930.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

View raw message