Need suggestion for the piece of code for connecting to Oracle database . with this below code we are not able to connect to Oracle database . pls suggest .
{
driverName : function() {
//change to your DB driver
return 'oracle.jdbc.driver.OracleDriver';
//return 'com.mysql.jdbc.Driver';
},
connectionURL : function() {
//change to your DB JDBC URL
return 'jdbc:oracle://<DB_HOstname>:1521;DatabaseName=<DB_NAME>';
//return 'jdbc:mysql://<computername>:3306/<dbname>';
},
userName : function() {
//change to your DB username
return '<DB_Username>';
},
password : function() {
//change to your DB password
return '<DB_Password>';
},