SPIDER uses Hibernate Tools API to do the database mapping. Hence after building the package
we would select the Mapping tab which does the database mapping.
The Hibernate Tools have several settings for mapping. In the template default of SPIDER, we have a standard configuration that addresses the majority of cases and eliminated the complexity of this task.
So before doing any build for mapping you should create a new package. So inside the project explorer right click on to the 'Java Resources:JavaSource' package.
Now select new / package. A new menu would pop up where you will have to create your own package. So create the new package as 'org.j2eespider.mypack' and click finish.
Now after that you have finished creating your new package you will have to build the mapping. So in the mapping tab we would select the new package that was created and then we will click build.
You should only select the package where the classes would be generated and then click 'build'.


