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

EJB QL how to create the update Query in webdynpro ejb?

Hi all

I 'm now prefer to create an Update query in the entity bean,

under the EJB Methode there are folders like this: Create Method / Finder Methode / Home Method / Select Method.

where can i create the Update query and how about the syntax

Like this: update <table-name> b set b.status = 'done' where b.ID like ?1 ???(this query is invalide)

Edited by: bo wang on Mar 13, 2008 3:57 AM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Mar 14, 2008 at 04:38 AM

    Hi,

    U can create the update query in business methods.

    steps:

    Click on folder Business Methods.

    Than click on add button below.

    then specify any para meter or return type if required.

    Click on save.

    This method will be added in the implimentation tab.

    go on the implementation tab and write update query between @@begin

    @@end block of that method

    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.