Search:

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

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Solution: Use MergingPersistenceUnitManager from Spring Data JPA

    For anyone battling with this, I tried the above approach, but it's incomplete. However, there is a class in Spring Data which does the job:



    @Bean
    public...
  2. Hit this myself with the Spring 3.2.0 changes in...

    Hit this myself with the Spring 3.2.0 changes in this area, having been using

    @RequestHeader("If-Modified-Since") Date lastModified

    without any problems.

    The z format element (for GMT...
  3. Replies
    5
    Views
    503

    Sorted..

    The reason the exception is not getting thrown is that the default WriteConcern on MongoTemplate is NONE.

    The following gets me around the problem:



    @Configuration
    @Profile("default") ...
  4. Replies
    5
    Views
    503

    I'm looking further at this and drilling deeper,...

    I'm looking further at this and drilling deeper, the ignored result should not be important as we should get a MongoException...
  5. Replies
    5
    Views
    503

    I've looked into this, and it looks like the...

    I've looked into this, and it looks like the WriteResult returned from collection.save(dbDoc) in org.springframework.data.mongodb.core.MongoTemplate.saveDBObject(String, DBObject, Class<?>) is...
  6. Replies
    5
    Views
    503

    Hi, I just spotted this and am working in this...

    Hi,

    I just spotted this and am working in this area, so I thought I'd contribute.

    As far as I understand the @Id annotation (or a field called 'id' if no annotations is present), maps to the...
  7. Replies
    10
    Views
    2,506

    Craig, I've been facing the same problem. ...

    Craig,

    I've been facing the same problem. I've just narrowed it down by taking the Spring Social Showcase and changing only the twitter key and secret in application.properties to that of an...
  8. Merge request in the system

    Thanks.

    Maybe this will do the job:
    http://git.springsource.org/spring-integration/spring-integration/merge_requests/3
  9. http:inbound-channel-adapter: view-name and controller...?

    Hi,

    Just looking at some more work around inbound-channel-adapter, and initially I was a bit thrown by the presence of view-name as an option.

    A look at the source for...
  10. Polling via message...

    @Mark:
    It's the triggered request scenario, except there's no information I specifically want within the poller.

    At most, I may use SpEL to put a timestamp in the request URI, but the trigger is...
  11. but it's not a feed I'm reading.. it's any HTTP response..

    Feed adapter will clearly work for news feeds, but what about the generic HTTP case of that scenario?
  12. HTTP polling not supported (i.e. outbound channel adapter doesn't allow poller...)

    SI has support for handling HTTP requests as a Spring Controller, via <http:inbound-channel-adapter ... /> but I can't find how I go about polling, as supported by other inbound channel adapters.
    ...
  13. Replies
    15
    Views
    1,844

    Or... looking at Oleg's reply..

    Looks like two of us jumped in at once.

    I'm guessing from Oleg's response (do correct/confirm, Oleg), that all headers and response code are mapped to Message headers, and then back to...
  14. Replies
    15
    Views
    1,844

    Are you setting expected-response-type ??

    Are you setting expected-response-type on your outbound gateway?

    To cover all HTTP requests (e.g. if you're doing an Atom POST it'll return the published version in the body of the response, as...
  15. Replies
    23
    Views
    44,597

    An approach to autowiring and resetting mocks. Use @Qualifier("mock")

    Here's my base test class and a snippet:




    /**
    * Abstract class to run controller tests.
    * <p>
    * This class ensures that:
    * <li> the tests are run with a Spring context loaded.
  16. Replies
    24
    Views
    4,994

    See tcServer-6.0.20A/backup/context.xml for explanation

    If you look at the files in the backup directory, you'll see that there is a changed classname.

    I found that pasting the contents of context.xml into tcServer's conf/context.xml worked. I did it...
  17. Replies
    1
    Views
    3,087

    More details...

    Hi,

    Could you supply more details on what you are doing.

    I use STS 2.3.1 to develop maven projects and deploy to tcServer.

    If you have a Maven WAR project, you should find that when you...
  18. Replies
    1
    Views
    1,089

    Generating Insight traces during CI builds

    Hi,

    They say a little knowledge is dangerous...

    Spring Insight uses aspects to intercept various calls, and log trace data.

    The /insight webapp then allows that trace data to be viewed.
    ...
  19. Replies
    0
    Views
    697

    Generating Insight traces during CI builds

    Hi,

    They say a little knowledge is dangerous...

    Spring Insight uses aspects to intercept various calls, and log trace data.

    The /insight webapp then allows that trace data to be viewed.
    ...
  20. No help? Okay. Guess it's a bug, so JIRA it...

    No help?

    Okay. Guess it's a bug, so JIRA it is.
  21. Replies
    1
    Views
    1,360

    M2e 0.9.9 even worse - it's bad form to bundle something so unstable

    I've just updated to m2eclipse 0.9.9 and it's even worse (POM editor drastically changed, and missing tabs for repos, build - ability to view effective pom using all tabs, ...)

    Given that STS is a...
  22. Replies
    1
    Views
    1,360

    STS 2.1.0M2 - m2eclipse updates

    Hi,

    Is there any plan to move the m2eclipse plugin forward?

    I've been very much impressed with STS apart from one thing: the maven integration. If I enable maven project integration, I often...
  23. flush() on rollback fix seems to break EntityExistsException

    Hi,

    I've been looking around trying to find out what's going on with a test case I have for ensuring that I cannot insert duplicates, where I have a unique constraint AND a generated unique Id.
    ...
  24. Replies
    4
    Views
    2,307

    Thanks.

    That works a treat.
  25. Thread: Voip forums

    by nealeu
    Replies
    1
    Views
    680

    Me too

    Yes. That's fantastic.

    I'll visit right away, just once I've finished chewing my own arm off.
Results 1 to 25 of 31
Page 1 of 2 1 2