In EJB, where is the mapping of database table and entity beans done? I am using Jboss, and from what I have read, the mapping should be somewhere in jbosscmp-jdbc.xml. But I dont have that file in my project.
Actually I have a project in which I have to make some enhancements, and I have deployed the code in my local machine. And surprisingly, without the required mapping file, it is able to do all the database related operations. Is there any other file or any other way in which we can mention it? OR maybe I am looking at the wrong place.
I have only 2 files in my META-INF folder. ejb-jar.xml which defines all the ejbs used and jboss.xml which maps the ejb with the jndi name. Nowhere do I find a mention of the database mapping with the Entity Beans.