J2EE & SAP Portal & Swift
Wednesday, July 11, 2012
Hibernate Polymorphism
ClassOne and its sub-class ClassOneDotOne.
If you only want ClassOne, not ClassOneDotOne in your Hibernate query results, you will need to define
if hbm.xml,
if annotation, @hibernate.class polymorphism="explicit"
Yes, it is that simple.
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)
Blog Archive
►
2016
(3)
►
August 2016
(3)
►
2015
(2)
►
March 2015
(2)
►
2014
(11)
►
February 2014
(11)
►
2013
(2)
►
December 2013
(1)
►
January 2013
(1)
▼
2012
(6)
►
September 2012
(1)
▼
July 2012
(1)
Hibernate Polymorphism
►
June 2012
(1)
►
April 2012
(1)
►
March 2012
(1)
►
February 2012
(1)
►
2011
(2)
►
September 2011
(2)
►
2010
(25)
►
October 2010
(2)
►
September 2010
(2)
►
August 2010
(1)
►
July 2010
(1)
►
June 2010
(2)
►
May 2010
(4)
►
April 2010
(1)
►
March 2010
(9)
►
February 2010
(1)
►
January 2010
(2)
►
2009
(61)
►
December 2009
(2)
►
November 2009
(4)
►
October 2009
(4)
►
September 2009
(2)
►
August 2009
(1)
►
July 2009
(3)
►
June 2009
(2)
►
May 2009
(25)
►
April 2009
(2)
►
March 2009
(2)
►
February 2009
(9)
►
January 2009
(5)
►
2008
(30)
►
December 2008
(2)
►
November 2008
(2)
►
October 2008
(3)
►
September 2008
(1)
►
August 2008
(5)
►
May 2008
(1)
►
April 2008
(6)
►
March 2008
(8)
►
January 2008
(2)
►
2007
(61)
►
December 2007
(3)
►
November 2007
(9)
►
October 2007
(10)
►
September 2007
(7)
►
August 2007
(6)
►
July 2007
(1)
►
June 2007
(1)
►
May 2007
(6)
►
April 2007
(6)
►
March 2007
(1)
►
February 2007
(10)
►
January 2007
(1)
►
2006
(113)
►
December 2006
(7)
►
November 2006
(4)
►
October 2006
(15)
►
September 2006
(33)
►
August 2006
(3)
►
July 2006
(51)
J2EE Fans