Hi ,
In our case, we created a separate user in oracle, which has CRUD access to the other schemas. The from the application we access oracle with this new user. What you have to do is to always...
Type: Posts; User: rgeorgiev; Keyword(s):
Hi ,
In our case, we created a separate user in oracle, which has CRUD access to the other schemas. The from the application we access oracle with this new user. What you have to do is to always...
if the 1st param(resource path) doesn't starts with "/" , then it will be loaded from the package of 2nd param (class).
So if pass something like :
new...
Hi,
Can spring-faces module work with SpringMVC without Spring WebFlow?
If yes , is there a sample on how to configure it? As the "booking-faces" sample is configured with swf as...
Hi,
You can use Spring proxy, if you define your JSF managed beans as standart spring beans.
Try to get your service/dao object from Spring container;) Spring container is responsible for wiring objects, but only the ones which life cycle is manage by the container. So the only way to wire...
Can you post the full stacktrace? Or try to set the log level for Spring to INFO or DEBUG.
So I suppose u r using org.springframework.web.jsf.DelegatingVariableResolver ?
If yes, then the stacktrace should be longer :).
If no, then start to use it by defining it in faces-config.xml :
...
Ok, I raised a JIRA issue : SPR-3394
This is ok, but it's nowhere mention that the ordered one will post processes non-ordered. And also that no one of the ordered will be post processed by some other ordered with higher order.
It...
But why it's not documented?
If this is the case, than it should be stated in documentation:).
But I don't think, that this was the idea behind it.
What if I want then to have BeanPostProcessor applied on another...
I agree that ordered BeanPostProcessors should be sorted and registered first,
but I think u don't get my problem:
Why ordered BeanPostProcessors should be applied on initialization of...
Hi there,
When I looked at registerBeanPostProcessors method in AbstractApplicationContext class, I found that the Ordered BeanPostProcessors are registered before all others BeanPostProcessors...
To solve these problems we are using ISO Dates with http://joda-time.sourceforge.net/.
Cheers
Hi Schrepfler,
I don't know what EntityManager you are using, but Hibernate one will set the Id property to the returned instance. So if you using merge, then you need to use the returned object....
Hi there,
I think you try load object in one transaction and update it in another? If this is the case, then when invoking
getJpaTemplate().contains(object), it will check if the instance...
Can you provide the other context configuration?
Hi there,
I think this post will help you to understand the difference between hibernate get and load :http://www.theserverside.com/news/thread.tss?thread_id=43887
Cheers
Hi,
Have you try using of the org.springframework.orm.hibernate3.SessionFactoryUtils "getSession(SessionFactory sessionFactory, ..)" methods, instead of directly using...
Hi there,
When using <tx:annotation-driven> Spring will register DefaultAdvisorAutoProxyCreator with id="org.springframework.aop.config.internalAutoProxyCreator" and also...
Hi there,
Take a look at org.springframework.beans.support.RefreshablePagedListHolder
Cheers
The problem with Rich Domains, is how to handle serialization :) . You need somehow to inject repositories,etc. there. One solution is to make it with AspectJ on getter call, so they will be...
Hi Rod,
I read SCA and SDO spec. and I think the idea behind them is great.
I wondering , if you have an information :
When it is planned final release of the SCA spec.?
And also...
May be you can find ideas at this posts
http://forum.springframework.org/showthread.php?t=19429
I try something similar and it work fine for me.
I use org.springframework.aop.target.HotSwappableTargetSource for SessionFactory and org.aopalliance.intercept.MethodInterceptor for swapping...