-
Notifications
You must be signed in to change notification settings - Fork 538
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #358 from teamjft/master
Advanced subqueries content section from Gorm grails doc 2.5.0 content has been added to latest GORM documentation
- Loading branch information
Showing
2 changed files
with
75 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
h3. Purpose | ||
|
||
The create-hibernate-cfg-xml command will create a hibernate.cfg.xml file for custom Hibernate mappings. | ||
|
||
h3. Examples | ||
|
||
{code} | ||
grails create-hibernate-cfg-xml | ||
{code} | ||
|
||
h3. Description | ||
|
||
Creates a hibernate.cfg.xml file in the grails-app/conf/hibernate directory. You can add <mapping> elements there to reference annotated Java domain classes, classes mapped by hbm.xml files, or hbm.xml files containing <database-object> elements defining custom DDL that's not supported by GORM. | ||
|
||
Usage: | ||
|
||
{code} | ||
grails create-hibernate-cfg-xml | ||
{code} | ||
|
||
Fired Events: | ||
|
||
* CreatedFile - When the file is created |