guywzg opened a new issue, #14576:
URL: https://github.com/apache/grails-core/issues/14576

   Grails 3.3.3
   annotated Java classes in Sources:main/java 
   grails-app/conf/hibernate/hibernate.cfg.xml
   
   ```
   <hibernate-configuration>
       <session-factory>
           <mapping package="ks.nms.test"/>
           <mapping class='ks.nms.test.Person'/>
       </session-factory>
   </hibernate-configuration>
   ```
   
   def person = new Person(name: "Tester")
   person.save()
   
   It's not woking with hibernate.cfg.xml
   --No signature of method: ks.nms.test.Person.save() is applicable for 
argument types: ()
   why ???
   
   > WARNING: Your issue report will be closed if the issue report is 
incomplete and does not include an example. Make sure the below tasks not 
completed!
   
   > NOTE: If you are unsure about something and the issue is more of a 
question a better place to ask questions is on Stack Overflow 
(http://stackoverflow.com/tags/grails) or Slack 
(http://slack-signup.grails.org). DO NOT use the issue tracker to ask questions.
   
   ### Task List
   
   - [ ] Steps to reproduce provided
   - [ ] Stacktrace (if present) provided
   - [ ] Example that reproduces the problem uploaded to Github
   - [ ] Full description of the issue provided (see below)
   
   ### Steps to Reproduce
   
   1. TODO
   2. TODO
   3. TODO
   
   ### Expected Behaviour
   
   Tell us what should happen
   
   ### Actual Behaviour
   
   Tell us what happens instead
   
   ### Environment Information
   
   - **Operating System**: TODO
   - **GORM Version:** TODO
   - **Grails Version (if using Grails):** TODO
   - **JDK Version:** TODO
   
   ### Example Application
   
   - TODO: link to github repository with example that reproduces the issue
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to