O'Reilly logo

Advanced Java® EE Development with WildFly® by Deepak Vohra

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a properties file

  1. The Hibernate XML Mapping file defines the mapping of the persistence or class or classes with the relational database. The connection parameters used to connect to the database can be configured in a properties file or an XML configuration file, or both. To create a properties file, select File | New | Other. In the New wizard, select JBoss Tools Web | Properties File and click on Next, as shown in the following screenshot:
    Creating a properties file

    The New File Properties wizard gets started.

  2. Click on Browser for the Folder field to select a folder. In Folder Selection, select the jboss-hibernate | src | main | resources folder and click on OK ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required