I verified this issue with versions 5.0.0.Final to 5.0.3.Final. The attached testcase (https://github.com/shiruba/hibernate-discriminatorvalue-test) is updated to the latest Hibernate version.
Just clone and run mvn test.