Home » Developer & Programmer » JDeveloper, Java & XML » SQLJ with CMP EJB
SQLJ with CMP EJB [message #127144] Sat, 09 July 2005 00:56
vikassheelgupta
Messages: 2
Registered: June 2005
Location: delhi
Junior Member

hello sir
i am using CMP EJB with SQLJ but my problem is when i use this code
I write this code in jsp page to check the login .

#sql public context DefaultContext;

SafeCon sa=new SafeCon();
ctxx =sa.init();
#sql [ctxx] {
select distinct * from login where acc0=:uname and acc1=:upassword
};
then it will give the illegal charcter error on # line
and malformed error so can u pls tell me how to solve it
i am using jdeveloper
thanks alot

  • Attachment: loginnow.jsp
    (Size: 1.01KB, Downloaded 1339 times)
Previous Topic: Importing data from XML into database fiels
Next Topic: Importing/Exporting data from relational DB in XML
Goto Forum:
  


Current Time: Fri Apr 19 02:16:17 CDT 2024