Feature #5157 - Improving SQL useful tools.
Feature #5157 - Wiring new media model into EJB and extra Gallery application consumer.