[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.

This thread has been viewed 662 times.

All times above are in ranch (not your local) time.
The current ranch time is
Oct 19, 2018 03:07:49.