The configuration file looks like:
database {
entry { id = 'batch@raw'
,dev = account { host = 'rawdev' , name = 'batch01', instance = 'raw' }
,test = account { host = 'rawtest', name = 'batch11', instance = 'raw' }
,prod = account { host = 'rawprod', name = 'batch21', instance = 'raw' }
},
entry { id = 'batch@staging'
,dev = account { host = 'stgdev' , name = 'batch02', instance = 'staging' }
,test = account { host = 'stgtest', name = 'batch12', instance = 'staging' }
,prod = account { host = 'stgprod', name = 'batch22', instance = 'staging' }
},
}