Search:

Type: Posts; User: djf57; Keyword(s):

Search: Search took 0.02 seconds.

  1. Replies
    23
    Views
    44,881

    I have an @Autowired JMS field in a @Service...

    I have an @Autowired JMS field in a @Service class



    @Service
    public class Xxx {
    @Autowired
    @Qualifier("ms")
    private MessageSender messageSender;
    ...
  2. Thread: StoredProcedure

    by djf57
    Replies
    2
    Views
    636

    ! and the previous attempt at a correction sent...

    ! 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...
  3. Thread: StoredProcedure

    by djf57
    Replies
    2
    Views
    636

    Sorry, my original cut and paste lost some...

    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) {
  4. Thread: StoredProcedure

    by djf57
    Replies
    2
    Views
    636

    StoredProcedure

    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...
  5. Replies
    0
    Views
    536

    Autonomous transactions

    Can 'autonomous' transactions (eg for logging to a table during the 'main' activity) be achieved via:

    @Transactional(propagation=REQUIRES_NEW) ??
  6. Replies
    22
    Views
    43,443

    No I didn't spot that, but I already have...

    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...
  7. Replies
    22
    Views
    43,443

    Thanks, I came across this before but ignored it...

    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...
  8. Replies
    22
    Views
    43,443

    Spring WebFlow opacity

    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...
  9. Replies
    0
    Views
    706

    Code generation issues

    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>...
  10. Thanks again. Adding: ...

    Thanks again.

    Adding:

    <dependency>
    <groupId>org.aspectj</groupId>
    <artifactId>com.springsource.org.aspectj.weaver</artifactId>
    <version>1.6.8.RELEASE</version>
    </dependency>
  11. Many thanks for the info - I spent a while...

    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...
  12. can't determine annotations ... when weaving ...

    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...
  13. Thread: HelloWorld

    by djf57
    Replies
    1
    Views
    564

    Sorry, forgot to add using: STS 2.3.2.RELEASE...

    Sorry, forgot to add using:

    STS 2.3.2.RELEASE
    Maven 2.2.1
    Java 1.6.0_20
  14. Thread: HelloWorld

    by djf57
    Replies
    1
    Views
    564

    HelloWorld

    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...
Results 1 to 14 of 14