Search:

Type: Posts; User: newguy; Keyword(s):

Page 1 of 3 1 2 3

Search: Search took 0.05 seconds.

  1. Problems about referencing different modules in a multi-module project

    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...
  2. Very strange. I have tested both methods in the...

    Very strange. I have tested both methods in the project it seems queryForInt actually takes 1ms more time than queryForRowSet.
  3. The query is: select count(id) from Table...

    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.
  4. As I said before the first implementation is: ...

    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...
  5. Which method is faster?QueryForRowSet or QueryForInt

    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...
  6. Replies
    1
    Views
    3,359

    Marker id not found

    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...
  7. Thanks for your reply. The project worked fine...

    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...
  8. Can someone let me know if it's OK to remove...

    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...
  9. get "Ambiguous handler methods mapped for HTTP path" exception after upgrading Roo

    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...
  10. I've found out the problem after reading some...

    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...
  11. Getting Bad credentials error messages when using form-login and UserDetailsService

    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...
  12. Replies
    3
    Views
    1,128

    Thank you. You are right. I did not set up the...

    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...
  13. Replies
    3
    Views
    1,128

    HTTPS doesn't work

    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...
  14. Replies
    2
    Views
    509

    Thanks Alan I am also aware of that. But when I...

    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...
  15. Replies
    2
    Views
    509

    No identifier specified for entity

    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...
  16. mvn dependency:tree shows the same error ...

    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...
  17. Roo dependency is missing when using perform eclipse

    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...
  18. One thing I don't understand is unit tests have...

    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...
  19. My project is a multi-module project. It includes...

    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...
  20. Following these steps, I can see the...

    Following these steps, I can see the WelcomeMessageListControllerTest.class
    file is in
    my project folder/web/target/test-classes/admin/tools/WelcomeMessageListControllerTest.class
  21. Class not found...

    Class not found admin.tools.WelcomeMessageListControllerTest
    java.lang.ClassNotFoundException: admin.tools.WelcomeMessageListControllerTest
    at...
  22. None of the above works when I came across the...

    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...
  23. Configuring entityManagerFactory for Spring + Hibernate + EJB

    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...
  24. Maybe I should switch back to a previous version...

    Maybe I should switch back to a previous version and wait until someone has a solution for this.
  25. Back to work now. The ABCTest.class is in the...

    Back to work now. The ABCTest.class is in the target output directory.
Results 1 to 25 of 59
Page 1 of 3 1 2 3