This content has been marked as final.
Show 1 reply
-
1. Re: My session bean cannot insert a row into the database
katarzyna.hedlund Jan 22, 2002 4:47 AM (in response to katarzyna.hedlund)I found the solution, see "Can't get insert to work properly in SQL SERVER 2000, HELP" from weepingwillow50, I followed his(her?)recomendation to make following change sin ejb-jar.xml:
<session-type>Stateful</session-type>
<transaction-type>Container</transaction-type>.
And then the insert statement worked.
But: should the session type and the transaction-type really matter in this case?