hi experts,
created one webdynpro application which connect to Oracle database, directly without webservices and ejbs.
my code is as follows:
Connection con = null;
Statement stmt = null;
DataSource ds=null;
ResultSet rs=null;
try
{
InitialContext x = new InitialContext();
ds = (DataSource)x.lookup("jdbc/datadb");
con = ds.getConnection();
stmt = con.createStatement();
rs = stmt.executeQuery("INSERT INTO APPLICANTDTLS1(APPLICANTID,APPFIRSTNAME,APPMIDDLENAME) VALUES ('1234','SSS','YYY') ");
}
catch(Exception e)
{
}
since there was no error , but when i see the database no record was inserted
so how can i find out where i want wrong.
could anyone help me on this issue