'Create a JDBC url from a :class:`~sqlalchemy.engine.url.URL`'

def _create_jdbc_url(self, url):

    return ('jdbc:%s://%s%s/%s' % (self.jdbc_db_name, url.host, (((url.port is not None) and (':%s' % url.port)) or ''), url.database))
