Does Weblogic server 8.1 support "LIMIT and OFFSET" in EJB QL?

hi,
Can any one tell me does 8.1 server support "limit" and "offset" keywords in EJB-QL?
I tried to define a finder method in the workshop with the following syntax:
@ejbgen:finder ejb-ql="SELECT OBJECT(o) from EmpBean OFFSET ?1 LIMIT ?2" generate-on="Local" signature="Collection findEmp(java.lang.Integer st,java.lang.Integer en)"
I get the following error
ERROR: ERROR: Error from ejbc: [EJB:011017]Error while reading 'META-INF/weblogic-cmp-rdbms-jar.xml'. The error was:
ERROR: Query:
     EJB Name: EmpBean
     Method Name: findEmp
     Parameter Types: (java.lang.Integer, java.lang.Integer)
SELECT OBJECT(o) from EmpBean OFFSET =>> 1 <<= LIMIT 2
EJB QL Parser Error.
39: unexpected token: 1
What am I doing wrong?
thanks

<p>I could not find any documentation that suggested LIMIT or OFFSET where supported. Some of our developers needed to use limit, in the end all I could suggest was using a dynamic query and setting the maximum number of results see here
.</p>
<p>
Hussein Badakhchani</br>
</p>

Similar Messages

  • Does Weblogic Server 5.1 supports RedHat Linux 6.2?

    Hello All,
    Does Weblogic Server 5.1 supports RedHat Linux 6.2?
    Best Regards,
    Samuel Yung
    [email protected]

    FYI.
    I am running RH 6.2 and Weblogic 5.10 with no problems.
    w/Apache 1.3.12
    Only using WL for EJBs and jdbc pool at this time. So your milage may vary.
    Michael Girdley wrote:
    No, not yet. Version 6.0 will.
    The platform support page for WebLogic Server is located at:
    http://www.weblogic.com/platforms/index.html
    This page has the latest and greatest information on the platforms that
    WebLogic is certified and supported on.
    Thanks,
    Michael
    Michael Girdley
    BEA Systems Inc
    "Samuel Yung" <[email protected]> wrote in message
    news:[email protected]..
    Hello All,
    Does Weblogic Server 5.1 supports RedHat Linux 6.2?
    Best Regards,
    Samuel Yung
    [email protected]
    /\/\i|<e
    Mike Kincer
    Solutions Developer/Engineer
    Atlas Commerce "ebusiness evolved"
    Office phone: +1-607-741-9988
    mailto:[email protected] [http://www.atlascommerce.com]

  • Does Weblogic Server 5.1 supports RedHat Linux 7?

    Does Weblogic Server 5.1 supports RedHat Linux 7?
    Thanx in advance.

    FYI.
    I am running RH 6.2 and Weblogic 5.10 with no problems.
    w/Apache 1.3.12
    Only using WL for EJBs and jdbc pool at this time. So your milage may vary.
    Michael Girdley wrote:
    No, not yet. Version 6.0 will.
    The platform support page for WebLogic Server is located at:
    http://www.weblogic.com/platforms/index.html
    This page has the latest and greatest information on the platforms that
    WebLogic is certified and supported on.
    Thanks,
    Michael
    Michael Girdley
    BEA Systems Inc
    "Samuel Yung" <[email protected]> wrote in message
    news:[email protected]..
    Hello All,
    Does Weblogic Server 5.1 supports RedHat Linux 6.2?
    Best Regards,
    Samuel Yung
    [email protected]
    /\/\i|<e
    Mike Kincer
    Solutions Developer/Engineer
    Atlas Commerce "ebusiness evolved"
    Office phone: +1-607-741-9988
    mailto:[email protected] [http://www.atlascommerce.com]

  • Does WebLogic Server 8.1 supports ejb2.1(timer service)

    1.does WebLogic Server 8.1(SP5) supports ejb2.1 (timer service)?
    2. does ejb 2.0 support timer service?

    Hi,
    1. No, EJB Timer support was added in WLS 9.0.
    2. No, EJB Timers were introduced in EJB 2.1.
    - Matt

  • Does Weblogic server 9.2 provide support for CRL checking

    Does Weblogic server 9.2 provide support for CRL checking?

    No, but you can create a custom CertPath provider for your own implementation.
    Mike
    Weblogic/J2EE Security Blog: http://monduke.com

  • Does BEAs WebLogic Server 8.x  support EJB 2.1?

    Does BEAs WebLogic Server 8.x support EJB 2.1? When it is Support?

    I know weblogic 8.1 is EJB 2.0
    "John Naranjo" <[email protected]> wrote:
    >
    Does BEAs WebLogic Server 8.x support EJB 2.1? When it is Support?

  • Does BEAs WebLogic Server 8.x  support JavaServer Faces?

    Does BEAs WebLogic Server 8.x support JavaServer Faces?

    I know weblogic 8.1 is EJB 2.0
    "John Naranjo" <[email protected]> wrote:
    >
    Does BEAs WebLogic Server 8.x support EJB 2.1? When it is Support?

  • Does Weblogic JDriver for Oracle support Oracle REFCURSOR?

     

    "R. W. Stavros" wrote:
    >
    BUT BE FORWARNED ... IF YOUR CONNECTION IS FROM A CONNECTION POOL ...
    YOU GET A WONDERFUL weblogic.jdbc.pool.ResultSet not a
    java.sql.ResultSet .... BEA wants you to believe its a featureI'm still interested in your position that a weblogic.jdbc.pool.ResultSet
    is not a java.sql.ResultSet. I get the impression you're very frustrated
    and I know that can cause one to make mistakes one normally wouldn't...
    Joe
    >
    Shiva Paranandi <[email protected]> wrote in message news:<[email protected]>...
    Yes, you have to specify it as java.sql.Types.OTHER and use the
    getObject() method to obtain it.
    Shiva.
    Chuan Li wrote:
    Does Weblogic JDriver for Oracle support Oracle REFCURSOR?
    Thanks.
    -Chuan
    PS: Folks: BEA WebLogic is expanding rapidly, with both entry and advanced positions
    for people who want to work with Java, XML, SOAP and E-Commerce infrastructure products.
    We have jobs at Nashua NH, Liberty Corner NJ, San Francisco and San Jose CA.
    Send resumes to [email protected]

  • Does Photoshop touch for Ipad2  support .eps and .cdr files ?

    Does Photoshop touch for Ipad2  support .eps and .cdr files ?

    Hi Contactketan,
    These are not support file formats within Photoshop Touch. You could convert to .jpeg or .psd through Photoshop or Corel.
    -Dave

  • Hibernate - limit and offset in select query

    Hi All
    is there any way to use limit and offset features of mysql in hibernate queries?
    For exmple I have 100 rows in my results. I want to display the results page by page. How can I select rows starting from a particular index (for example from 10 to 20 instead of starting at the first record). The 'setMaxRows()' function can limit the number of results, but how can I specify the offset ? Thanks in advance.
    regards
    boolee

    You could specify the offset with
    query.setFirstResult(offsett);
    The drawback is (at least with DB2) that the whole query will be executed anyway, however you save space on the Java side.

  • Does weblogic server 10.3.6 & 10.3.5 supported on oracle linux 5.8 ?

    I am trying to install weblogic server 10.3.6 on Oracle linux 5.8 (64-bit) platform. While creating domain , it does not take any input in password & conform password fields on "configure administrator username and password page". The field remains blank. I am stuck at this point and not able to create domain. The same issue is with weblogic 10.3.5 server. The java i used is jdk1.7 update 3 and jdk 1.6 update 27. In Both the cases i am not to create domain.
    Can anyone of you tell me if weblogic 10.3.6 is supported on Oracle linux 5.8 platform. If it is supported any idea how to resolve this issue?
    Thanks in advance,
    Padma

    Yes. Please refer
    System Requirements and Supported Platforms for Oracle WebLogic Server 10.3 ( xls)
    http://www.oracle.com/technetwork/middleware/ias/downloads/fusion-certification-100350.html

  • Does weblogic server supports JSP tag pooling

              We use lot of Custom Tags in our app, we want improve the performance of JSP pages.
              Does Weblogic JSP engine supports JSP Tag Pooling similar to what JASPER (Tomcat
              JSP Engine) supports.
              If not, is there any way to plug-in my own Tag Pooling classes into JSP Engine.
              Thanks
              Ramesh
              

    This type of questions are appropriate for the Forms discussion forum.
    raghu

  • Weblogic server 9.2 support for WS-Transaction

    Hi,
              Does Weblogic Server9.2 support WS-Transaction 1.1 ? The WL Server data sheet is not specific about the details of compliance. I am trying to find out if there is support for WS-Coordination, WS-Atomic Transaction and WS-Business Activity in Weblogic Server.
              We need to use the Aqualogic Service Bus 2.6 is a distributed WebService Transaction.

    As I know, the answer is "no".

  • Does weblogic server include an LDAP server

    We have Weblogic 5.1 app server in house and people are looking into LDAP
    servers.
    Does weblogic include an LDAP server? Is one available via an add on? If so
    what is the cost?
    Thanks,
    Bill

    No ... it supports LDAP for authentication purposes through its LDAP realm
    implementation, and many sites use Netscape Directory Server with WebLogic,
    but WebLogic doesn't include a directory server.
    Cameron Purdy
    Tangosol, Inc.
    http://www.tangosol.com
    +1.617.623.5782
    WebLogic Consulting Available
    "Bill Ennis" <[email protected]> wrote in message
    news:3a3fe0be$[email protected]..
    We have Weblogic 5.1 app server in house and people are looking into LDAP
    servers.
    Does weblogic include an LDAP server? Is one available via an add on? Ifso
    what is the cost?
    Thanks,
    Bill

  • Does weblogic server have Servlet chaining concept?

    I saw JRun which has the servlet chaining function. Does anyone know how to
              do it in the weblogic server?
              Thank you.
              li
              

    WLS does not support Servlet Chaining
              Kumar
              li wrote:
              > I saw JRun which has the servlet chaining function. Does anyone know how to
              > do it in the weblogic server?
              >
              > Thank you.
              >
              > li
              

Maybe you are looking for