DaoSupport is packaged within spring-tx. Please double check your classpath. HibernateDaoSupport is packaged within spring-orm. Maybe you missed the tx jar file.
Type: Posts; User: fluffi; Keyword(s):
DaoSupport is packaged within spring-tx. Please double check your classpath. HibernateDaoSupport is packaged within spring-orm. Maybe you missed the tx jar file.
Try hibernate.hbbm2ddl.auto=update
Try looking for an AspectJ library: e.g. aspectjweaver.jar shipped with the Spring distribution.
Maybe this is what you are looking for:
http://static.springframework.org/spring/docs/2.5.x/reference/aop-api.html
@see 7.10.2. Pooling target sources
I found this example very helpful getting started with Spring, Hibernate and JOTM.
http://today.java.net/pub/a/today/2006/08/31/jotm-transactions-in-spring-and-hibernate.html
I've had a similar problem. Starting my Spring application without Jetty:
public static void main(String[] args) {
ApplicationContext applicationContext = new...
I used a trigger and SchedulerFactoryBean:
<bean id="myJob" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject"...
Do you use CGLIB or dynamic proxies?
"Spring AOP can also use CGLIB proxies. This is necessary to proxy classes, rather than interfaces."
Otherwise you need use an Interface
BusinessManagerImpl...
Sorry, this is only needed to enable @AspectJ Support.
"execution(* *..BusinessManager+.getAllItems())" should match the Interface, too. (If its named BusinessManager, right?)
Do you use autoproxy creation?
<aop:aspectj-autoproxy />
In your 2nd try you mixed up the Methodname inside of your pointcut
getAllAtms instead of getAllItems
expression="execution(* *..BusinessManagerImpl.getAllItems())"
Maybe your class should implement the PersonaDao?
public class PersonaDaoImpl *implements PersonaDao* {