daos are stateless beans, type in MemberAssetVO getAsset
This commit is contained in:
parent
438b9eec6e
commit
6c54a57852
@ -1,5 +1,6 @@
|
||||
package de.hsadmin.dao.customer;
|
||||
|
||||
import javax.ejb.Stateless;
|
||||
import javax.persistence.EntityManager;
|
||||
import javax.persistence.PersistenceContext;
|
||||
import javax.persistence.Query;
|
||||
@ -9,6 +10,7 @@ import de.hsadmin.common.error.TechnicalException;
|
||||
import de.hsadmin.common.error.UserException;
|
||||
import de.hsadmin.service.customer.MemberAssetVO;
|
||||
|
||||
@Stateless
|
||||
public class MemberAssetDao {
|
||||
|
||||
@PersistenceContext(name="hsar")
|
||||
|
@ -1,5 +1,6 @@
|
||||
package de.hsadmin.dao.customer;
|
||||
|
||||
import javax.ejb.Stateless;
|
||||
import javax.persistence.EntityManager;
|
||||
import javax.persistence.PersistenceContext;
|
||||
import javax.persistence.Query;
|
||||
@ -9,6 +10,7 @@ import de.hsadmin.common.error.TechnicalException;
|
||||
import de.hsadmin.common.error.UserException;
|
||||
import de.hsadmin.service.customer.MemberShareVO;
|
||||
|
||||
@Stateless
|
||||
public class MemberShareDao {
|
||||
|
||||
@PersistenceContext(name="hsar")
|
||||
|
@ -81,7 +81,7 @@ public class MemberAssetVO extends AbstractVO implements ValueObject {
|
||||
return amount;
|
||||
}
|
||||
|
||||
public void setQuantity(BigDecimal amount) {
|
||||
public void setAmount(BigDecimal amount) {
|
||||
this.amount = amount;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user