Re: [Engine-devel] 3.3 scratch or upgraded installation must use Apache proxy (https://bugzilla.redhat.com/905754)

2013-05-17 Thread Sandro Bonazzola
Il 08/05/2013 21:18, Alon Bar-Lev ha scritto: Right. First, we need to support any installation not just rhel. Second, we can support only other well behaved products. Until recently we were not well behaved... well we still not fully because we do not have our own configurable URI

[Engine-devel] SQL procedure - row mapper

2013-05-17 Thread Sahina Bose
Hi all, In org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler , there's a map maintained for procedure name and SimpleJdbcCall. If I have the same procedure with different row mappers, this results in an error - because the map already contains a mapping for the procedure name but

Re: [Engine-devel] SQL procedure - row mapper

2013-05-17 Thread Laszlo Hornyak
Hi Sahina, Could you share more details what you are trying to do? A procedure always returns the same structure of data, so maybe it is more simple if you to return all the data you received from the plpgsql stored procedure and then just use the data mapped into the beans to build your own

Re: [Engine-devel] SQL procedure - row mapper

2013-05-17 Thread Sahina Bose
Hi Laszlo, I wanted a way to return a hook entity (GlusterHookEntity) as well as content of the hook. So had a single procedure getGlusterHookById(id UUID, includeContent BOOLEAN) but 2 dao methods getGlusterHook - returns GlusterHookEntity getGlusterHookContent - returns String (used a