context = JAXBContext.newInstance(ObjectFactory.class);
final Unmarshaller unmarshaller = context.createUnmarshaller();
unmarshaller.setSchema(null);
final SqlResourceDefinition definition = ((JAXBElement<SqlResourceDefinition>) unmarshaller
.unmarshal(inputStream)).getValue();
final SqlBuilder sqlBuilder = Factory.getSqlBuilder();
sqlResource = new SqlResourceImpl(resName, definition, Factory.getSqlResourceMetaData(
resName, definition, sqlBuilder), sqlBuilder, new ArrayList<Trigger>());
sqlResources.put(resName, sqlResource);
} catch (final JAXBException exception) {
throw new SqlResourceFactoryException("Error unmarshalling SQL Resource "