Hi folks,
I've got to fix a system that uses hibernate, but I'm new to it, like 2 min or so ... but 'cause so new to it I'm even having trouble googling for help!
The current situation is the following:
There's 1 table A with cols a, b, c that generates a class A with attributes a,b, c.
How I need it to be:
There's table A with cols a, b, c and now there's table B with fields d (and other fields I don't care...) and I need to generate a class A with attributes a, b, c and d.
Note that I don't want to create a class B with attribute d and then associate B with A. I want to field d become an attribute of class A.
How can I accomplish that with Hibernate? Any help is welcome, even keywords to put up on google are :P
Thanks
Greg
|