I\'ve created a class to manage my connection as follows:
class DB(object): def __init__(self): JHOME = jpype.getDefaultJVMPath() # ojdbc path should