Surprisely enough this is very quick and it returns the total number of records in less than 0.2 secs. (I donīt have the sql here, but I might post it tomorrow)
The number of records is fairly...
Type: Posts; User: Javier Rivas; Keyword(s):
Surprisely enough this is very quick and it returns the total number of records in less than 0.2 secs. (I donīt have the sql here, but I might post it tomorrow)
The number of records is fairly...
Records are sorted when the user goes into the list screen. From my first entry
I don't see any flaw in the UI, but flexibility. The user is told the total number of pages and they can...
We are using 10g, so all the issues with scroll should be gone.
Believe me, there are very stubborn users out there!! (just joking).
It's really not a big deal and I am just trying to...
I also tried calling query.scroll() and using the scrollableResult to move through the results, but performance was even worse (around 40 sec as opposited to 4 sec)
I had a few attemps with that...
Hi,
I have some java code in a DAO that takes care of the pagination using hibernate 3.1 and looks like this:
query.setMaxResults(maxResults);
query.setFirstResult(firstResult);...
Sorry, I meant that I had tried these 3 drivers http://www.mysql.com/products/connector/j/
as well as the one from here http://mmmysql.sourceforge.net/ with no luck.
I have put them into the...
Hi all,
we have an application that has been running succesfully on Tomcat for while. Now, one of our clients needs to run it on Weblogic 9.1, and here is where the trouble comes.
Our...
I don't remember quite well how I did it, since it was long time ago.
However, I can tell you that spring was creating a proxy for my ActionClass extending DispatchActionSupport.
The entry...
First of all thank you very much, I think you have given me a nice idea. I'll try to give it a try on monday.
-------
Sorry, the code I wrote for the acegi example isn't quite right.
The...
Hi all, I posted this in the acegi forum some time ago and I didnt get any answer, so I'm gonna try here.
This is my question, is there a way of applaying Acegi MethodSecurityInterceptor and...
The exception you are getting is sql/hibernate issue, and my guess is that when you are querying the database, your user has more than 1 authorites, however hibernate is expecting just one field, and...
Accordint to the JAVA API, a ArrayStoreException is "Thrown to indicate that an attempt has been made to store the wrong type of object into an array of objects"
...
Hi guys, I have an example of Hibernate DAO - Spring Service working, but I canīt figure out when the transaction is being committed and closed.
From the service I call the DAO, which extends...
I'm not too sure that you can do it, because I suppose that your id field is a primary key in your table, and it will be calculated by the hibernate sequence (or whatever persistance approach you are...
I have always used the userName for encoding.
I guess that the only way you have to do it, is calculating the id that the DB is gonna give you when you save the object, and based on that id, you...
Yeah, in fact we are trying to get a data model that allows us to do both.
But, I suppose that in most applications one "security layer" would be enough.
By the way, I updated the presentation:...
Hi guys,
I have just been asked to give a presentation on acegi, and advantages and disadvantages of securing the presentation layer or the business layer.
As I couldnt find much information...
yeah, there are controller and POJOS, but the problem is that the actions are too generic (kind of detail.do, list.do with parameters on post format).
I have it working, but no in a very nice way....
I know, and I'd love to be able to do it, but because of the lack of service layer in this project and cant really do it.
Thank you.
Hi,
I am stuck with this, because I cant find a way to access the http post parameters from the request in the ObjectDefinitionSourceTarget.
I have overriden the method
public...
Hi, Im having the same problem as you had, and I was wondering if you came up with a decent solution.
I'd really appreciate if you could help me
Thanks
Sorry, maybe I didnt make myself clear enough.
I cant do what you say, because I only have to check this parameter in a few actions, but in many others I dont need it.
So, if I put this...
I have found a workaround, it isnt very elegant, but it solves my problem
I have overridden the method sendRedirect in AuthenticationProcessingFilter
protected void...
Well, actually, I cant use another scope.
What I am trying to do is to put an attribute in the request, but this attribute only can be there in the first request after the login.
I need to know...
Hi, here is my problem.
Im using acegi and struts.
I have overrided the onSuccessfulAuthentication method in the AuthenticationProcessingFilter class in order to add an attibute in the request....