A more complete description is showed here.
But I think the main questions are:
What is the function of the method
"org.jboss.ejb.plugins.cmp.jdbc.CascadeDeleteStrategy$NoneCascadeDeleteStrategy.removedIds()"
(when not exist cascade-delete)?
ejb-jar.xml
...
<ejb-relation>
<ejb-relation-name>visadosEJB-usuarioEJB1</ejb-relation-name>
<ejb-relationship-role>
visadosEJB
<ejb-relationship-role-name>VisadosEJBRelationshipRole</ejb-relationship-role-name>
Many
<relationship-role-source>
visadosEJB
<ejb-name>VisadosEJB</ejb-name>
</relationship-role-source>
<cmr-field>
usuarioEJB
<cmr-field-name>visado_por</cmr-field-name>
</cmr-field>
</ejb-relationship-role>
<ejb-relationship-role>
usuarioEJB
<ejb-relationship-role-name>UsuarioEJBRelationshipRole</ejb-relationship-role-name>
One
<relationship-role-source>
usuarioEJB
<ejb-name>UsuarioEJB</ejb-name>
</relationship-role-source>
</ejb-relationship-role>
</ejb-relation>
...
jbosscmp-jdbc.xml
...
<ejb-relation>
<ejb-relation-name>visadosEJB-usuarioEJB1</ejb-relation-name>
<ejb-relationship-role>
<ejb-relationship-role-name>VisadosEJBRelationshipRole</ejb-relationship-role-name>
<key-fields />
</ejb-relationship-role>
<ejb-relationship-role>
<ejb-relationship-role-name>UsuarioEJBRelationshipRole</ejb-relationship-role-name>
<key-fields>
<key-field>
<field-name>nombre</field-name>
<column-name>usuariovisa</column-name>
</key-field>
</key-fields>
</ejb-relationship-role>
</ejb-relation>
<ejb-relation>
...
informix-ds.xml
<no-tx-datasource>
<jndi-name>JVisaDS</jndi-name>
<connection-url>jdbc:informix-sqli://xxx.xxx.xxx.xxx:55000/jvisa:INFORMIXSERVER=srvifx15</connection-url>
<driver-class>com.informix.jdbc.IfxDriver</driver-class>
<user-name>jvisa</user-name>
visados
</no-tx-datasource>
jboss-service.xml
...
<!-- ==================================================================== -->
<!-- Transactions -->
<!-- ==================================================================== -->
<!-- The configurable Xid factory. For use with Oracle, set pad to true -->
<!--attribute name="Pad">true</attribute-->
<!--
| The fast in-memory transaction manager.
-->
<mbean code="org.jboss.tm.TransactionManagerService"
name="jboss:service=TransactionManager"
xmbean-dd="resource:xmdesc/TransactionManagerService-xmbean.xml">
<!-- JGM: Cambio el time-out a 20 segundos
300 -->
20
<!-- set to false to disable transaction demarcation over IIOP -->
true
<depends optional-attribute-name="XidFactory">jboss:service=XidFactory
<!--
| UserTransaction support.
-->
<mbean code="org.jboss.tm.usertx.server.ClientUserTransactionService"
name="jboss:service=ClientUserTransaction"
xmbean-dd="resource:xmdesc/ClientUserTransaction-xmbean.xml">
jboss:service=invoker,type=jrmp
jboss:service=ClientUserTransaction
UserTransactionSessionFactory
org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory
org.jboss.proxy.ClientMethodInterceptor
org.jboss.invocation.InvokerInterceptor
jboss:service=invoker,type=jrmp
<depends optional-attribute-name="TxProxyName">
jboss:service=invoker,type=jrmp
jboss:service=ClientUserTransaction
org.jboss.tm.usertx.interfaces.UserTransactionSession
org.jboss.proxy.ClientMethodInterceptor
org.jboss.invocation.InvokerInterceptor
jboss:service=invoker,type=jrmp
...
standardjbosscmp-jdbc.xml
<jbosscmp-jdbc>
<!-- java:/DefaultDS -->
java:/InformixDS
<!-- optional since 4.0 <datasource-mapping>Hypersonic
SQL</datasource-mapping> -->
<create-table>true</create-table>
<remove-table>false</remove-table>
<read-only>false</read-only>
<!-- <read-time-out>300000</read-time-out> -->
<read-time-out>3000</read-time-out>
<row-locking>false</row-locking>
<pk-constraint>true</pk-constraint>
<fk-constraint>false</fk-constraint>
<preferred-relation-mapping>foreign-key</preferred-relation-mapping>
<read-ahead>
on-load
<page-size>1000</page-size>
<eager-load-group>*</eager-load-group>
</read-ahead>
<list-cache-max>1000</list-cache-max>
<clean-read-ahead-on-load>false</clean-read-ahead-on-load>
<unknown-pk>
<key-generator-factory>UUIDKeyGeneratorFactory</key-generator-factory>
<unknown-pk-class>java.lang.String</unknown-pk-class>
<jdbc-type>VARCHAR</jdbc-type>
<sql-type>VARCHAR(32)</sql-type>
</unknown-pk>
<entity-command name="default"/>
<ql-compiler>org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLCompiler</ql-compiler>
...
Thanks
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3856646#3856646
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3856646
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user