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...
Type: Posts; User: gpitteloud; Keyword(s):
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...
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",...
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...
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...
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...
When you use JdbcTemplate, jdbc connections are retrieved using Spring's DataSourceUtils.getConnection(DataSource), and released after each call using DataSourceUtils.releaseConnection(DataSource,...
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...
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...
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,...
It's good to see there should be a solution to this issue in 3.0.
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...
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...
There's an open JIRA issue for that: SWF-1193.
Thanks for voting on it :)
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...
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...
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...
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...
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...
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,...
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)
...
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...
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...
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...
Thanks for the reply, this is all fine now.
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...