Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes EJB and other Java EE Technologies and the fly likes <entity-mappings> tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "<entity-mappings> tag" Watch "<entity-mappings> tag" New topic
Author

<entity-mappings> tag

Padma Priya
Ranch Hand

Joined: Feb 01, 2007
Posts: 113
Hi all,

In Which xml file does the tag <entity-mappings> go in EJB3.0.

With Regards
Deepthi.
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3019
    
  35

It's orm.xml
But why gonna use that XML approach in EJB 3.0 ?


Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
Padma Priya
Ranch Hand

Joined: Feb 01, 2007
Posts: 113
Hi,

Thanks for the prompt reply. But i just wanted to see the concept of overring the annotations in my code by specifying in the ORM.xml file.

With Regards
Deepthi

 
Consider Paul's rocket mass heater.
 
subject: <entity-mappings> tag
 
Similar Threads
Hibernate Mapping for id
Exception when starting off with struts
JPA - need help with query
Add constraints to table with Hibernate.
Oracle Datasource Configuration in JBOSS