Details
-
Bug
-
Resolution: Won't Do
-
Trivial
-
None
-
None
-
None
Description
SourceForge Submitter: palob .
this is part of my jbosscmp-jdbc.xml
<jbosscmp-jdbc>
<defaults>
<datasource>java:/TapDS</datasource>
<type-mapping>SapDB</type-mapping>
<debug>false</debug>
<create-table>true</create-table>
<remove-table>false</remove-table>
<read-only>false</read-only>
<row-locking>true</row-locking>
<time-out>300</time-out>
<preferred-relation-mapping>foreign-key</preferred-
relation-mapping>
</defaults>
<enterprise-beans>
.....
No changes were made to standardjbosscmp-jdbc.xml.
SapDB supports row-locking-template, but JBoss
complains with: "row-locking is not allowed for this type
of datastore" in JDBCLoadEntityCommand. Debugging
of JDBCLoadEntityCommand shown that it has attached
metadata for HypersonicSQL
(JDBCTypeMappingMetaData).
After changing of standardjbosscmp-jdbc.xml element
<defaults> to values from jbosscmp-jdbc.xml it started
to work.
So it means JBoss ignores <defaults> from jbosscmp-
jdbc.xml (maybe because of bug #533237)
JBoss: 3.0.6
JDK: 1.4.1
OS: Win 2000