Three forms of JBoss for EJB QL extensions

Source: Internet
Author: User
Tags jboss


Three forms of JBoss for EJB QL extensions


Author:sam sha
email:sam_sha@sina.com.cn
Date:2004-3-18


The EJB 2.0 specification provides a way to describe the entity Bean lookup, which is called an EJB QL. The EJB QL is similar to SQL, but it has been modified to support the EJB concept, and many features have been cut to make it easy to implement on many EJB servers.
In version 2.0, support is limited. An EJB query only supports select,from,where three clauses.
Examples: MySQL table news, followed by this table for example.
News
{
ID Int (4)
Title varchar (100)
Content text
IssueDate Date
}

EJB QL General Usage: "Select OBJECT (p) from enewscmp as P WHERE p.id =? 1"

Corresponds to the CMP entity Bean, named ENEWSCMP.

Because of the limited functionality of EJB QL, such as not even an order by, some EJB servers have expanded the EJB QL functionality.

JBoss for </

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.