posted 17 years ago
hello guys
my class have this definition for the variable that represents the composite key
thisi s the class that represents the composite key
i must declare @hibernate.id by exigence/demand of xdoclet , but no appear in the hbm.xml file, weird? or this is normal?
but i saw that xdoclet automatically creates this in the hbm.xml
how i conclude this??
well if i delete or comment thwse methods equals(Object o) and int hashCODE()
and try with xdoclet create the mapping files i recieve a lot of errors
by the moment i dont know how use xdoclet to create the correct way, like
so how i can have the application working???,
after the create the hbm, i copy manually the 2 <key-property
from my getAlmacenId() in the @MyNotes part
in the hbm file in the class folder
so if can help me how do this automatically , pls let me know
thanks for advanced
kill your pride, share your knowledge with all