/*
* Utility function to get the catalog info from hibernate config.
*/
private String getCatalog() {
IActionResource hibernateConfigRes = ( (HQLConnectionAction) getActionDefinition() ).getHibernateConfigResource();
String catalog = null;
String resAddress = null;
if ( hibernateConfigRes != null ) {
String resName = this.applyInputsToFormat( hibernateConfigRes.getName() );
IActionSequenceResource resource = getResource( resName );
resAddress = resource.getAddress();
if ( resAddress != null ) {
catalog = this.applyInputsToFormat( resAddress );
}