[Logo]
Forums Register Login
Package aqttribute for hibernate mapping file
Guys,

Why do we need a package attribute to be specified for the hibernate mapping file?
The package attribute is optional, you don't need to use it.

If you do it and you have unqualified classes named in you mapping file they are assumed to be in the named package.
 

Originally posted by Paul Sturrock:
The package attribute is optional, you don't need to use it.

If you do it and you have unqualified classes named in you mapping file they are assumed to be in the named package.



Thanks! I got the idea now.
A feeble attempt to tell you about our stuff that makes us money
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA


This thread has been viewed 628 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jul 22, 2018 18:20:52.