282 APPENDIX B n HIBERNATE TOOLS APPENDIX B n HIBERNATE TOOLS
jdbc:hsqldb:file:exampledb;SHUTDOWN=true
sa
org.hibernate.dialect.HSQLDialect The Reverse Engineering and Code Generation Tools The last Hibernate Tools wizard is for the reverse engineering tool. This allows you to extract the schema information from the database into an XML file. Additional information can be added to this file using a tabbed control panel, which allows it to be used in the generation of source code using the Hibernate Code Generation tool (accessed separately from the wizard). This wizard is accessed from the File New Hibernate Reverse Engineering File menu option from within the Hibernate Console perspective. This then prompts you to specify a path and file name for the generated reverse engineering file. Select the default file name and location within the ToolsExample project. When you are done, you have the option of selecting either Finish or Next. If you select Finish, the wizard will assume that you want to use the details of all the tables in your database when creating the reverse engineering file. Alternatively, if you click Next, you have the opportunity to specify the individual tables and columns that should be included (as shown in Figure B-23). Figure B-23. Selecting the tables to reverse engineer
You need excellent and relaible webhost company to host your web applications? Then pay a visit to Inexpensive Web Hosting services.
This entry was posted
on Wednesday, September 19th, 2007 at 6:50 am and is filed under tomcat.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.