Search:

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

Page 1 of 3 1 2 3

Search: Search took 0.04 seconds.

  1. as you can see ... nope. I have created a jira...

    as you can see ... nope.

    I have created a jira with a proposal to support either @Qualifier or add a qualifier attribute to @Cacheable in order to be able to specify the cache manager name, in the...
  2. How to force the use of a specific Accept header with RestTemplate ?

    I want to communicate with a Rest service that can produce both application/xml and application/json using the RestTemplate.

    When I issue a request like restTemplate.getForObject("ws/person/1234",...
  3. using cache annotations with many cacheManagers

    We are integrating many modules into a single application. Each module defines its own spring config files and we are aggregating these config files into a single ApplicationContext.
    Some modules...
  4. Locale change not reflected in viewRoot

    I'm using spring webflow 2.0.8 with JSF.

    I have configured the FlowHandlerMapping with a LocaleChangeInterceptor, so that a locale change in the page is intercepted and updates the locale in the...
  5. What's this ItemWriter your implementing ? Is it...

    What's this ItemWriter your implementing ? Is it spring-batch ? If so, you should point to the spring-batch documentation, because there are some wrong assumptions (eg. using @Transactional does not...
  6. When you use JdbcTemplate, jdbc connections are...

    When you use JdbcTemplate, jdbc connections are retrieved using Spring's DataSourceUtils.getConnection(DataSource), and released after each call using DataSourceUtils.releaseConnection(DataSource,...
  7. Replies
    1
    Views
    3,025

    When you use @Inherited on a class annotation,...

    When you use @Inherited on a class annotation, this means that when that annotation is queried on a non-annotated subclass, the Java will look for it in the superclass.

    When you use @Inherited on...
  8. The goal of prototype scope is to just have each...

    The goal of prototype scope is to just have each bean depending on the prototype actually gets a different instance... Maybe you should not use prototype in this case.

    However, there might be a...
  9. Replies
    1
    Views
    1,260

    Hi, Spring uses classpath scanning to detect new...

    Hi,
    Spring uses classpath scanning to detect new components based on annotations. This is actually the goal of the <ctx:component-scan> element, which detects @Repository, @Controller, @Component,...
  10. It's good to see there should be a solution to...

    It's good to see there should be a solution to this issue in 3.0.
  11. persistenceContext in conversation scope (instead of flow scope)

    I would like to attach the persistence context to the conversation, instead of the flow.

    In this situation, the root flow creates and binds the entity manager, and all subflows launched from the...
  12. Replies
    0
    Views
    546

    testing issue

    I am doing integration testing for a flow (actually a subflow). This flow has persistence-context enabled, and has an input (coming from the parent flow), which is actually a persistent entity.
    In...
  13. Replies
    6
    Views
    2,577

    There's an open JIRA issue for that: SWF-1193...

    There's an open JIRA issue for that: SWF-1193.

    Thanks for voting on it :)
  14. Replies
    6
    Views
    2,577

    The sf:commandLink tag has an "image" attribute,...

    The sf:commandLink tag has an "image" attribute, that is supposed to do what you basically need:


    However, the following declaration always renders the tag as a button with the "value" attribute...
  15. Did you find a way to handle it properly ? I...

    Did you find a way to handle it properly ?

    I was thinking of an exception handler attached to the end-state with commit=true. This exception handler can forward to a view state displaying a...
  16. Currently only one (I have actually switched to...

    Currently only one (I have actually switched to LOCAL in order to continue my developments, and it works), but I'm planning to use JMS in a near future, and will have to manage JMS in the same GLOBAL...
  17. Replies
    0
    Views
    622

    flow-managed persistence and JTA

    I am using swf 2.0.8 with spring 2.5.6.

    My project has defined flow-managed persistence with JPA, thus an entity manager is maintained on the web layer, outside of the scope of the service-layer...
  18. Here are my further thoughts, as nobody seems to...

    Here are my further thoughts, as nobody seems to have a solution:

    In my configuration, there is something missing: since the entity manager is set up outside of the scope of the JTA transaction...
  19. Replies
    4
    Views
    924

    This is the reason why transactions exist : group...

    This is the reason why transactions exist : group multiple operations into a single unit of work, and either commit all or rollback all.

    When wrapping the operations into a (local) transaction,...
  20. JPA with JTA : which transaction manager should I use ?

    I'm using JPA with transaction-type = JTA, and I'm wondering how I must define the transactionManager bean:

    JtaTransactionManager (or in my particular case, WebsphereUowTransactionManager)
    ...
  21. Replies
    2
    Views
    1,070

    Because queryForList() returns a List of Maps...

    Because queryForList() returns a List of Maps (correct the 2nd line with proper generics). Each map contains the column name as the key, and the column value as the value. Since both your columns are...
  22. Replies
    4
    Views
    924

    There are at least 2 possibilities: Each...

    There are at least 2 possibilities:

    Each database is declared in its own separate XA-capable DataSource, and you must use a JTA transaction manager to synchronize updates.
    Find a way to gather...
  23. Websphere 6.1 + JPA with Hibernate : Transaction problem

    Hello all,
    I'm facing the following problem when using WAS 6.1 + JTA + JPA with Hibernate and Spring defining the transaction boundaries : for each query that Hibernate performs in a single...
  24. Replies
    6
    Views
    5,412

    Thanks for the reply, this is all fine now.

    Thanks for the reply, this is all fine now.
  25. Replies
    6
    Views
    5,412

    If you manually add a field of the form @Lob...

    If you manually add a field of the form


    @Lob
    @Basic(fetch=LAZY)
    private byte[] file;


    to your roo-generated entity class, all aspects related to that entity are deleted. When your remove...
Results 1 to 25 of 75
Page 1 of 3 1 2 3