I have an @Autowired JMS field in a @Service class
@Service
public class Xxx {
@Autowired
@Qualifier("ms")
private MessageSender messageSender;
...
Type: Posts; User: djf57; Keyword(s):
I have an @Autowired JMS field in a @Service class
@Service
public class Xxx {
@Autowired
@Qualifier("ms")
private MessageSender messageSender;
...
! and the previous attempt at a correction sent the reply before I intended (tab key seems to have undesired power)
inputs.put("an_array", new AbstractSqlTypeValue() {
@Override
protected...
Sorry, my original cut and paste lost some content:
inputs.put("an_array", new AbstractSqlTypeValue() {
@Override
protected Object createTypeValue(Connection c, int type, String typeName) {
I've wasted a large part of this week getting nowhere trying to invoke a stored procedure that takes an array of Longs. I wouldn't have thought it ought to be too difficult but having trawled the...
Can 'autonomous' transactions (eg for logging to a table during the 'main' activity) be achieved via:
@Transactional(propagation=REQUIRES_NEW) ??
No I didn't spot that, but I already have downloaded the examples for SWF, versions 1 and 2, most of which don't seem to run for a variety of reasons.
Today I tried SWF 2 with some success at...
Thanks, I came across this before but ignored it as they seem to be pre-built WARS - it's code example I'd like to see, not a working app per sec.
This morning I tried the examples associated with...
I'm trying to get a simple SWF app up and running.
I've read SIA Ch 15 (no code examples available), looked at the reference documentation, I've followed the links above (many of which are now...
I have an existing database (to reverse engineer classes from).
I enable Java Persistence via Project > Properties in STS
I invoke JPA Tools > Generate Entities from Tables
Table STATUS:
mysql>...
Thanks again.
Adding:
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>com.springsource.org.aspectj.weaver</artifactId>
<version>1.6.8.RELEASE</version>
</dependency>
Many thanks for the info - I spent a while wondering in vain what I'd done wrong or missed out.
Unfortunately, I have a similar issue now with AspectJ: I've created a Roo project in STS and...
Full error message:
"can't determine annotations of missing type javax.persistence.Entity when weaving type com.djf.Audience when weaving classes when weaving
when incrementally building with...
Sorry, forgot to add using:
STS 2.3.2.RELEASE
Maven 2.2.1
Java 1.6.0_20
I've followed the Roo wedding example and imported the project into STS, all works as advertised.
But, when trying the simplest of standalone applications, I fall at the first hurdle (and it's not...