I just used the JDBC 3.0 generated keys command rather than the MySQL key 
generater command and was successful!

So, the entity xdoclet tag now looks like (reference standardjbosscmp-jdbc.xml):


  | @jboss.entity-command
  |       name="get-generated-keys"
  | 

I can now verify 2PC commits work for me, but have done very minimal testing 
and using trace logging.  Also, I no onger get the "Prepare called on a local 
tx. Use of local transactions on a jta transaction with more than one branch 
may result in inconsistent data in some cases of failure." statement with 
transactions using multiple resources.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910408#3910408

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910408


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to