public static Boolean save(Entry entry, String collectionName) {
        
        if(entry == null) return false;
        
        MongoCollection collection = getJongo().getCollection(collectionName);
        
        Boolean dirty = false;
        
        Integer id = entry.getId();
        
        IdTracker tracker = null;
        
        if(id == -1) {
            tracker = getNextId(collection);
            
            entry.setId(tracker.getNextId());
                        
            dirty = true;
        }
        
        Long now = System.currentTimeMillis();
        
        entry.setUpdateDate(new Date(now));
        
        WriteResult result = collection.save(entry);
        
        if(!result.getLastError().ok())
            return false;
        
        
        if(dirty)
            result = updateId(tracker,collection);

        
        return result.getLastError().ok();
    }