Hello,
I have a question about the mapping of hibernate.
There are attributes for defining the table name and the column name.
In my case hibernate seems to completely ignore them.
I have the tables created in uppercase in my database.
Hibernate says, that the tables were not created.
If I tell hibernate to create the tables, it creates the tables in lowercase names. All works fine then.
How can I tell Hibernate to use the uppercase tables please?
Thanks in advance
Guenther
Hibernate version:
3.1.3 deployed in Tomcat 6
Mapping documents:
One Example mapping, the others are similar:
Code:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping package="com.onetreetech.kitchen.hibernate.entity"
default-access="com.onetreetech.kitchen.hibernate.ImprovedPropertyAccessor">
<joined-subclass name="Recipe" table="RECIPE" extends="Action">
<key column="ACTION_ID" />
<property name="image_location" column="IMAGE_LOCATION"
type="string" />
<set name="actions" table="ASSOCIATION">
<key column="RECIPE_ID" not-null="true" />
<many-to-many column="ACTION_ID" unique="true"
class="Action" />
</set>
</joined-subclass>
</hibernate-mapping>
Spezial Changes:
I implemented a own PropertyAccessorClass.
Cache Provider is NoCacheProvider because of ehcache problems.