I've got no luck for days...
Could you show me an example how to set the proxy instance into "this"?
Type: Posts; User: Kei; Keyword(s):
I've got no luck for days...
Could you show me an example how to set the proxy instance into "this"?
i changed the relations for set to bag and the Java class for child relations from Set to Collection, still not working for the same scenario...
actually, i tried following work-around:
1. change...
I prefer the getThis() over the AopContext approach as the bean is "less" bounded to the spring framework.
But I have no luck to get it done.
I put following into my bean:
MyBean...
I setup a pointcut that intercepts the method calls beginning with create as follow...
<bean id="shipmentService" parent="baseTransactionProxy">
<property name="target">
<bean...
Hope this help:
http://forum.springframework.org/showthread.php?p=51510#post51510
I created another class(BeanFactoryContainer) that implements BeanFactoryAware and stores the beanFactory as a class variable.
The BeanFactoryContainer is then injected to the QuartzJob and the...
i implemented equals & hashcode for both the parent and child entities
still not working ...
actually, my quartz job would create multiple threads and i wanna inject each thread a set of bean prototypes, instead of singleton ...
creating each prototypes with "new" is not quite feasible...
I create a bean that extends QuartzJobBean and implements BeanFactoryAware
I suppose the bean factory would be instantiated with the setBeanFactory method. However, i found the method is never...
sorry... wrong link
should be this one: http://forum.hibernate.org/viewtopic.php?t=955422
throws "org.hibernate.AssertionFailure: entity was not detached"
if i use merge
throws "org.springframework.orm.hibernate3.HibernateSystemException: a different object with the same identifier...
I have a 1-N relations:
<class name="vo.booking.Orders" table="orders">
<id name="ordersId" column="ordersId" type="string" length="14">
<generator class="assigned"/>
</id>
<set...
You are right. I should use a session form.
Once I add the setSessionForm(true) into the controller constructor, it works fine now.
Thx a lot.
I've init all the collections inside, and the form could be displayed with correct Orders and OrdersDetail values.
I got the binding error when I tried submitting the form.
I'm wondering is...
I defined Orders which contains a Collection of OrdersDetail. Trying to update both Orders and related OrdersDetail in a single form:
<form name="ordersMaintainForm" method="post"...
I modify the server-config.wsdd according to the jpetstore example:
<?xml version="1.0" encoding="UTF-8"?>
<deployment xmlns="http://xml.apache.org/axis/wsdd/"...
I'm a newbie with both axis and spring and is trying to modify from jpetstore to have a bean exposed as web service, but failed.
I created a bean with:
package logicBean;
...
public...