I am using STS 2.6.1 at the moment.
There is a multi-module project and I imported it into STS to separate the modules into different projects as the m2eclipse plugin doesn't support displaying...
Type: Posts; User: newguy; Keyword(s):
I am using STS 2.6.1 at the moment.
There is a multi-module project and I imported it into STS to separate the modules into different projects as the m2eclipse plugin doesn't support displaying...
Very strange. I have tested both methods in the project it seems queryForInt actually takes 1ms more time than queryForRowSet.
The query is:
select count(id) from Table where foreignTableFK=?
where foreignTableFK is an index.
the Object obj is actually int obj that's why I need to use new Object[] {obj} here.
As I said before the first implementation is:
public int someMethod(Object obj) {
jdbcOperations.queryForRowSet(sql, new Object[] {obj});
rs.next();
return rs.getInt(1);
}
The...
Hi,
I am about to tune the performance of a method. The main purpose of the method is to get the number out from the query result.
current implementation gets the number using
SqlRowSet rs...
Any one has come across this exception when rerunning unit test?
Every time I tried to rerun a unit test STS popped up a dialog telling me that "Marker id ****** not found". What does this mean?
I...
Thanks for your reply. The project worked fine before I upgraded so I suppose Roo figured out how to send the update().
I have also removed automaticallyMaintainView = true in @RooWebScaffold...
Can someone let me know if it's OK to remove automaticallyMaintainView=true in RequestMapping during upgrade? The contents of the jspx files in view folder have been changed after I removed the...
Hi,
I have recently upgraded my project from 1.0.2.RELEASE to 1.1.4.RELEASE.
I have a controller called PersonController in the project. But when I tried to update some fields of the person...
I've found out the problem after reading some chapters in the book Spring Security 3 written by Peter Mularien. The bad credentials error is thrown if the username doesn't exist or the username and...
Hi
I am getting an error saying
when I try to login to my web application.
My project is a Roo project so there are some aspectj files and other configuration files that I don't want to...
Thank you. You are right. I did not set up the SSL. It looks obvious to you but I had completely no idea why it was showing that screen. Maybe I should read your book to get a better idea of how...
I have set up HTTPS in spring security but everytime I submit the request it will not redirect me to the login page but only show a "unable to connect" screen in firefox.
Here is the code in...
Thanks Alan I am also aware of that. But when I search the dependency in Eclipse the latest version of these two dependencies available is 3.4.0.GA.
com.springsource.org.hibernate.annotations...
I got an error saying
org.hibernate.AnnotationException: No identifier specified for entity: MyEntity.
when I deploy my roo generated war file to Tomcat 6.0.
My project is using Spring...
mvn dependency:tree
shows the same error
Failed to resolve artifact
Missing:
----------
1) org.springframework.roo.wrapping:org.springframework.roo.wrapping.bcprov-jdk15:jar:1.45.0.0001
I...
I am updating the version of Roo which is being used in my project to 1.1.4. However I get this error:
Missing artifact...
One thing I don't understand is unit tests have been working fine until this week and I am able to run my project very smoothly for more than 2 years. It seems suddenly eclipse never allows me to do...
My project is a multi-module project. It includes a web module and an ejb module and assemble the final proudct in ear module.
But there is still a .classpath file in my web folder. Here is what...
Following these steps, I can see the WelcomeMessageListControllerTest.class
file is in
my project folder/web/target/test-classes/admin/tools/WelcomeMessageListControllerTest.class
Class not found admin.tools.WelcomeMessageListControllerTest
java.lang.ClassNotFoundException: admin.tools.WelcomeMessageListControllerTest
at...
None of the above works when I came across the same problem in STS 3.5.2 and 3.6.0.
I have searched the internet for two days and couldn't find any real solution to this problem. I think this...
I am currently converting my EJB 2.0 project to JPA 2.0 which uses Hibernate 3.6 as the vendor. Other environments are Spring 3.0.5, JBoss 6.0.0 Final Application Server.
I think the configuration...
Maybe I should switch back to a previous version and wait until someone has a solution for this.
Back to work now. The ABCTest.class is in the target output directory.