[ http://thecla.homeftp.net:8380/jira/browse/HIB-58?page=comments#action_10911 ] Chad Brandon commented on HIB-58: ---------------------------------
While I think a namespace property would be good to be able to define the default inheritance strategy. I think the problem that is happening now should be solved with iheritance....for example if the base class has the @andromda.hibernate.inheritance tagged value set to a certain strategy, all sub classes should use that strategy (unless overridden on a particular subclass). > hibernate inheritance subclasses in table has non-null columns > -------------------------------------------------------------- > > Key: HIB-58 > URL: http://thecla.homeftp.net:8380/jira/browse/HIB-58 > Project: Hibernate Cartridge > Type: Bug > Versions: 3.0M3 > Reporter: Wouter Zoons > Assignee: Carlos Cuenca > > > when using hibernate inheritance with the subclass-in-table strategy the > subclass columns still have non-null columns (unless their multiplicity has > been set to [0..1] in the model) > I have tried to get it to work because Chad told me you have fixed it. I took > a look at the fix and the implementation looks all right to me. > Have you tested this by adding a test to the test model ? Did you check the > output ? > My model is very simple: 1 parent and 3 children, the parent has two > attributes and only one of the children has an attribute for now .. this > child attribute has not-null="true" in the hibernate mapping and therefore > the scmea export tool generated a non-null constraint on the corresponding > column. > If I find the time I will add this test to the test model (in case it's not > there yet) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://thecla.homeftp.net:8380/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Andromda-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-devel
