[hibernate-commits] [hibernate/hibernate-orm] 334f8b: HHH-4699 trim value from database before Enum.valu...

GitHub noreply at github.com
Thu Aug 22 15:49:30 EDT 2013


  Branch: refs/heads/4.2
  Home:   https://github.com/hibernate/hibernate-orm
  Commit: 334f8b0fa36785c673e9f6f2ab05a55af935205b
      https://github.com/hibernate/hibernate-orm/commit/334f8b0fa36785c673e9f6f2ab05a55af935205b
  Author: Kristian Marinkovic <kristian.marinkovic at gmail.com>
  Date:   2013-08-22 (Thu, 22 Aug 2013)

  Changed paths:
    M hibernate-core/src/main/java/org/hibernate/type/EnumType.java

  Log Message:
  -----------
  HHH-4699 trim value from database before Enum.valueOf()

this change fixes the problem with fixed size columns with enum values
that are right padded.


  Commit: ad48774d093ffd002921527a1c23a34cc66c2e6d
      https://github.com/hibernate/hibernate-orm/commit/ad48774d093ffd002921527a1c23a34cc66c2e6d
  Author: Brett Meyer <brmeyer at redhat.com>
  Date:   2013-08-22 (Thu, 22 Aug 2013)

  Changed paths:
    M hibernate-core/src/test/java/org/hibernate/test/annotations/enumerated/EntityEnum.java
    M hibernate-core/src/test/java/org/hibernate/test/annotations/enumerated/EnumeratedTypeTest.java

  Log Message:
  -----------
  HHH-4699 test case


Compare: https://github.com/hibernate/hibernate-orm/compare/e66b5ab79d46...ad48774d093f


More information about the hibernate-commits mailing list