Hi,
I investigated further and it looks like the problem is a SQL Server one. It is due to the way SQL Server optimizer dynamically chooses lock granularity.
To understand what happens, I first...
Type: Posts; User: chawax; Keyword(s):
Hi,
I investigated further and it looks like the problem is a SQL Server one. It is due to the way SQL Server optimizer dynamically chooses lock granularity.
To understand what happens, I first...
OK. So this is the way we already do it. But we have lock problems with SQL Server and this is why I asked for help.
I investigated further with SQL Server profiler and it looks like each...
Well, I have 100 tables with generated ids, not very nice to have 100 more tables just for ids ...
Well, I can't see any diffrence with my code. And it doesn't work. Or do you mean I need one table for every id ?
Here is an extract the stack trace we sometimes get (sorry some messages are in french) :
10 mai 2011 09:35:50 org.hibernate.id.MultipleHiLoPerTableGenerator doWorkInCurrentTransaction
GRAVE:...
If you mean SQL Server dialect, yes I do use it.
Hi,
We use @TableGenerator JPA annotation in entities to generate ids a DBMS independent way. It works well most of time, but we have problems with SQL Server 2008 because of long transactions...
Hi,
I have the following Spring component with an autowired field.
@Service
@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Throwable.class)
public class PlageCalculServiceImpl...
Hi,
I encounter a strange problem using interceptors on controllers implementing an interface.
When I call the controller from a web browser, I have a 404 HTTP error. I added loggs in both...
Hi,
I need to display some variables on all JSPs of my application. These variables come from database, they are loaded at application startup and stored in a component that I called...
One more problem :
With so many problems I wonder if it's really a good idea to use Spring IDE on Eclipse Galileo for the moment :confused:
Hi,
I tried to install Spring IDE plugin from the milestone update site you gave us, but I have the following error :
Any idea ?
Hi.
I am very interested with this patch, but it seems it is not compatible with Springmodules 0.8. Did anyone write it for 0.8 release ?
Thanks
Olivier
Well, I'm not a security specialist so I don't really know where the threat could come from. But all other methods will be secured (available only for authenticated and authorized users), so I want...
Yes, something like that. The method to get user details returns important informations like user password, so I want to secure it and authorize only authentication provider to call it.
I'm not sure to understand :confused: Does it mean there is a problem with my accessDecisionManager ?
Here is how I configured it :
<bean id="accessDecisionManager"...
Yes, I want to secure the call to the service method that gets user infos.
Here is the log output :
2007-04-02 09:32:42,868 DEBUG [org.acegisecurity.providers.ProviderManager] - Authentication attempt using org.acegisecurity.providers.dao.DaoAuthenticationProvider...
OK, I think I understood the idea behind runAsManager, but I can't make it work :( I still have an access denied message when runnning the getCompteUtilisateur method.
Here is a part of the Java...
Hi,
I built my own authentication provider, based on Spring classes generated by AndroMDA. To retrieve userdetails, I need to call a getUserAccount method on a ServiceAccess class. I want this...
Yes you're right. In fact you need three slashes (file:///) and I had only two.
Thanks, it works now :)
Hi,
Not sure I post in the right section ... I want my message files to be in a file out from my web app directory. So I configured the messageSource bean the following way :
<bean...