I just realize you wanted to include the table namespace, not the tablename. So my solution works fine!
With your initial example:
Your file (blah.xml):
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"
[<!ENTITY TableSpace SYSTEM "classpath://my/package/TabSpaceProp.hbm">]>
<hibernate-mapping auto-import="true" default-lazy="false">
<class name="us.oh.mh.cpoe.databean.AllergyCrossSenseDescDataBean"
table="&TableSpace;.ITRDAMCSD0">
<id name="allergyCrossSenseDescCode" type="java.lang.String"
column="DAM_AGCCS">
<generator class="assigned" />
</id>
<property name="allergyCrossSenseDesc" type="java.lang.String"
column="DAM_AGCCSD" />
The property file (TabSpaceProp.hbm) [yes, just this, no more words]:
Code:
IDVPCS01
And sorry for the mistakes, i'm not a native english speaker...