[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.
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards



All times above are in ranch (not your local) time.
The current ranch time is
Dec 15, 2017 03:23:50.