Thanks for the info.
I had a look at the Spring code and it does try to inject fields that are annotated with @EJB.
Normally it is possible to use the @EJB annotation in your web container and...
Type: Posts; User: driftwood; Keyword(s):
Thanks for the info.
I had a look at the Spring code and it does try to inject fields that are annotated with @EJB.
Normally it is possible to use the @EJB annotation in your web container and...
Hi
I have a project that consists of EJB3, JSF and now Spring. I use to access the EJBs from the JSF beans using the @EJB annotation for injection. Since I introduced Spring into the mix to manage...
thanks for the help
Thanks that solved the problem, it does however leave me a bit confused. From what I understand the thread value for that property gives you session per transaction behaviour, but this is also the...
The hibernateConfigurationCreator implementation just calls
new Configuration();. We then set the entityResolver on the configuration, that is the only modification to the stock standard...
We have extended the LocalSessionFactoryBean and configured it as below.
<bean id="hibernateSessionFactoryAbstract"...
Hi,
Here is the config as requested. I must admit, I recently inherited the code, so I am still trying to make heads or tails of what it all means. Can you maybe point me to some reading material...
Thanks for your reply, I will check it out tomorrow.
Can you maybe explain to me why the config would work with 2.0.6 and not with 2.5.2?
Hi,
I am trying to upgrade to spring 2.5.2 with the above mentioned packages in use. Code that used to work throws the follow exception with 2.5.2.
javax.naming.NoInitialContextException:...
i am currently using onSetUpBeforeTransaction, onSetUpInTransaction or onTearDownInTransaction, onTearDownAfterTransaction. The problem is that they are run before, in and after each test method and...
which version of swing are you using? did it maybe change at some point, because the onSetup and onTearDown is definately final in version 2.0.2.
...
Thank you very much for the info.
I always though onSetUp or onTearDown was final? or at least it used to be.
I will try the suggestions.
Hi,
Can anyone tell me how to populate the db with data used by the various tests in my test case extending AbstractTransactionalDataSourceSpringContextTests?
I am looking to do this once for...
Yip, that helped alot.
thanks.
I did look at that options. But that causes two problems for me.
How do I get it to span 2 cells?
This bypasses the binding concept for the component.
The second point means no validation...
Hi,
I am trying to add a component to a form with no label. I tried
setLabelAttributes("colSpec=0:n")
but this causes all the labels to be removed on the tab.
I also tries setting the...
thanks,
I eventually got round the problem by doing this:
rules.add((CompoundConstraint) or(new PropertiesConstraint("password", EqualTo.instance(), "oldPassword"), new...
Hi,
It actually fails in a unit test.
Here is the unit test code.
...
UserDTO userDTO = new UserDTO();
userDTO.setPassword("pass");
Hi,
I am having problems implementing an or rule. What I am trying is to create a rule that checks that property1 must be equal to property2 or property3.
so this i what I have.
Rules rule =...