def CreateJDBCProvider():
 try:
  server=AdminConfig.getid(‘/Server:server1/’)
  name = [‘name’, ‘Oracle JDBC Driver’]
  implementationclass= [‘implementationClassName’,’oracle.jdbc.pool.OracleConnectionPoolDataSource’]
  description = [‘description’, ‘Oracle JDBC Driver’]
  classpath = [‘classpath’, Path]
  jdbcAttrs = [name, implementationclass, description,classpath]

  sampleDataProvider = AdminConfig.create(‘JDBCProvider’, server, jdbcAttrs)
  AdminConfig.save()
                
 except:
  print ‘unable to create JDBC Provider’
  print ‘  ‘
  return
        
CreateJDBCProvider()