Here in this code <id name="id" type="int"> the type has been mentioned as int ,a java primitive whereas we are supposed to use Hibernate predefined types and the value of the type attribute should have been "integer" but the above code works fine.
What's the reason behind that ? Is using the hibernate types optional and we can use the java primitives instead?
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads