Skip to Content
author's profile photo Former Member
Former Member

Error in SQLJ..Please guide :(

Hello All,

Am new to SQLJ and am implementing the first practise project from pdf called "<i><b>Gettng Started with Relational Persistence</b></i>".

Am at the step wherein The <i>Data Access Interface has been implemented using SQLJ</i> but am getting these 2 errors at this step:

1. <b>SQLJ: The connecttion "ctx" does not have a Java type</b>.

2. <b>SQLJ: The context type must e defined explicitly</b>.

Please help me resolve these errors.

Awaiting Reply.

Thanks & Warm Regards,

Ritu

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 22, 2006 at 01:00 PM

    Hi,

    Read the contents under "Open SQL/SQLJ" in,

    http://help.sap.com/saphelp_nw04/helpdata/en/50/e48de299e7e94cb3caa9f7db1bc10b/frameset.htm

    Hope this helps.

    Regards

    Srinivasan T

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 22, 2006 at 04:26 PM

    Hi ritu,

    sorry to disturb this thread.

    I dont have a solution. Unfortunately I may burden you with a question.

    I was trying to pick up persistence too.

    When I reached Creating the SQLJ Connection Context I need to have a data source right?

    I made a data dict. project before that. So i added by dict. proj. to an enterprise application project and tried to deploy the ear file.

    Is that the right way to do it?

    thanks.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.