hibernate/hibernate-orm — pull request #367 by Janario (2012-08-07 03:20:09+00:00)
Title: 4.1

@stliu

As we talked in pull request 355 (https://github.com/hibernate/hibernate-orm/pull/355) I am sending another pull request but now from my fork 4.1 to the hibernate 4.1 branch.

There are two issues and they have a test case
HHH-7108 test case EnumeratedTypeTest
HHH-6608 test case ReferencedColumnNameTest.testManyToOneInsideComponentReferencedColumn

HHH-7108: It put some properties that was read in SimpleValueBinder inside of EnumType and try to use the concepts of explicit, implicit and default type described below
explicit: When an annotation that define a type is informed how Type, Lob, Temporal, Enumerated etc.
implicit: When annotation is not informed but there is a global type for the returned class
default: When annotation is not informed and it has a default type for returned class like Enumerated(ORDINAL), int, string etc.

HHH-6608 It is a simple correction of a path that is used to create a SyntheticProperty when it is inside a component it have to replace the dot by a underscore as it also replace of in a package name

If I have to change something please let me know.
thanks.