Localization Error

Description

For a Mapping file like this:
<hibernate-mapping package="com.salatta.dal">
<class name="Invitation" table="invitations">
<id name="id" type="integer" column="INV_ID">
<generator class="org.hibernate.id.IncrementGenerator" />
</id>
<property name="name" column="NAME" type="string" not-null="false" length="25" />
</class>
</hibernate-mapping>

When session.load(key) is called, the hibernate generates a faulty sql statement, since it lower cases the class name Invitation, and in Turkish the lower case of "I" is not "i". that's why it generates something like:
Select ?nvitation0.id, ?nvitation.name from invitations ?nvitation.

StringHelper.generateAliasRoot(String description) method should always use english local settings, during these operations.

Environment

MySql, Tomcat 5, Java 1.4.2_06

Assignee

Unassigned

Reporter

Onur Idrisoglu

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Time tracking

2h

Components

Priority

Major
Configure