File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Abstract Persistence Schema in EJB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Abstract Persistence Schema in EJB" Watch "Abstract Persistence Schema in EJB" New topic
Author

Abstract Persistence Schema in EJB

naveen babu
Greenhorn

Joined: Nov 10, 2004
Posts: 8
what is the Abstract Persistence Schema in Comtainer Managed Persistencs EJB.What is the use of it.
Sree Nivas
Ranch Hand

Joined: Jul 24, 2003
Posts: 95
This is part of an entity bean's deployment descriptor, the abstract schema defines the bean's persistent fields and relationships. The term abstract distinguishes this schema from the physical schema of the underlying data store. In a relational database, for example, the physical schema is made up of structures such as tables and columns.

You specify the name of an abstract schema in the deployment descriptor. This name is referenced by queries written in the Enterprise JavaBeans Query Language (EJB QL). For an entity bean with container-managed persistence, you must define an EJB QL query for every finder method (except findByPrimaryKey). The EJB QL query determines the query that is executed by the EJB container when the finder method is invoked.

regards
Sree Nivas
naveen babu
Greenhorn

Joined: Nov 10, 2004
Posts: 8
Thanx Sir,I'll post my other doubts in the near future


regards
NaveenBabu.A
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Abstract Persistence Schema in EJB