From: David J. <dav...@di...> - 2001-08-31 20:37:43
|
How is this a problem? If you say Never, no transaction will be committed, so no work will be saved. Do you expect something else? Why? david jencks On 2001.08.31 11:26:18 -0400 Marcel Stremming wrote: > I use a Session bean with this Method : > > txTest() throws RemoteException { > InitialContext ctx = new InitialContext(); > CMPEntityHome h = (CMPEntityHome) > ctx.lookup("entities/myentity"); > CMPEntity e = h.create(getNewPK()); > } > > If I set the Transaction Attribute for txTest() to "RequiresNew" > everything works fine. I use MySQL with InnoDB. I can see the created > rows and Rollback on Exception works as well. If I set Table type to > MyISAM it works fine too except the Rollback thing of course. > Now I set the TX Attribute to "Never". When the method is invoked the > Entity's create() and store() methods are being called but there are no > Rows created in the DB at all. (That is with InnoDB tables) > If I switch table type to MyISAM it works. > > (I use the JBoss 2.2 with mm.mysql JDBC driver) > > > Can someone tell me how to solve that ? > > > > > _______________________________________________ > JBoss-user mailing list > JBo...@li... > http://lists.sourceforge.net/lists/listinfo/jboss-user > > |