How are you configuring Spring within Wicket? Correct me if I'm wrong but the transactional weaving that you are trying to advise will only work if Spring can see them in its object factory (i.e. constructed within spring) - which I suspect is the case. Perhaps having spring managed service beans and proxy those in wicket using the @SpringBean annotations.
Cheers, JP. On Fri, Aug 22, 2008 at 11:36 AM, Markus <[EMAIL PROTECTED]> wrote: > Hi all, > > > > I am using Spring, Hibernate @ MySQL with InnoDB-Tables with a JDBC-Spy in > between and Wicket. > Deactivating the Spy changes nothing. > > I am using following Dialect: <property > name="dialect">org.hibernate.dialect.MySQL5InnoDBDialect</property>. > > > > My SpringConfig-Part: > > <bean id="transactionManager" > > > class="org.springframework.orm.hibernate3.HibernateTransactionManager"> > > <property name="sessionFactory" > ref="sessionFactory" /> > > </bean> > > <tx:annotation-driven /> > > > > Now when I am annotating a WebPage or a method inside it with @ > Transactional, it won´t rollback. I built in an error on purpose to make it > crash and rollback, but the Table still contains the previous entered > variables and the TRACE of Hibernate nowhere says it´s opening an > Transaction? > > > > Any idea how I can solve this Problem? > > > > Thank you. > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]