Dashboard > Spider [en_US] > ... > Using J2EE Spider Editor > Mapping the database
Log In View a printable version of the current page. Portuguese English
Mapping the database
Added by Bruno Braga , last edited by Vijay Boregowda on May 17, 2008  (view change)
Labels: 
(None)


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.

'mapping_page' by J2EE Spider
Tags: guide
Taken on May 04, 2008

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'.

Powered by a free Atlassian Confluence Open Source Project License granted to J2EE Spider. Evaluate Confluence today.
Powered by Atlassian Confluence 2.7.1, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators