Bugs item #678056, was opened at 2003-01-31 11:18
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=678056&group_id=22866

Category: JBossCMP
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Pavol Bernhauser (palob)
Assigned to: Nobody/Anonymous (nobody)
Summary: <defaults> in jbosscmp-jdbc.xml is ignored

Initial Comment:
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



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=678056&group_id=22866


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to