Search:

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

Page 1 of 9 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    5
    Views
    436

    What I'm saying is the app namespace is looking...

    What I'm saying is the app namespace is looking for www.springframework.org. This is being re-directed to www.springsource.org where the file should be and isn't.

    What jar files should I include...
  2. Replies
    5
    Views
    436

    www.springframework.org is being redirected to...

    www.springframework.org is being redirected to www.springsource.org which is misssing.
  3. Replies
    5
    Views
    436

    Missing spring-tx-2.5.xsd

    I have a client who is running our software with Spring Framework 2.5.6. They say that, on startup, they are looking for file http://www.springsource.org/tx/spring-tx-2.5.xsd but this file is not...
  4. NEVER AGAIN! But I understand why you say that. ...

    NEVER AGAIN! But I understand why you say that.

    Thanks for the advice. I simply updated hibernate3.jar and everything appears to be working properly. Thanks for the help.
  5. Sorry about the small jpg. I uploaded a png, it...

    Sorry about the small jpg. I uploaded a png, it must have translated and shrunk.

    Do I just replace hibernate3.jar?
  6. ValidationException: Unable to find a default provider

    I'm having an issue with hibernate under spring. It doesn't appear to be finding my hibernate validator. Here is the stack trace:


    357 [main] INFO org.hibernate.cfg.Configuration - Hibernate...
  7. Replies
    1
    Views
    13,204

    Sorry, I'm an idiot. I'm running the wrong query.

    Sorry, I'm an idiot. I'm running the wrong query.
  8. Replies
    1
    Views
    13,204

    QueryParameterException

    OK, I'm having problems with the following query:


    @NamedQuery(name = SecurityRole.QUERY_BY_USER_SENSOR, query = "SELECT secRole " +
    "FROM SecurityRole AS secRole,...
  9. Thread: Mapping issue

    by thehl
    Replies
    1
    Views
    308

    The issue appears to have been that logout wasn't...

    The issue appears to have been that logout wasn't returning anything. As a result, the handler was trying to resolve something to display back to the user and couldn't so returned a 404. The logout...
  10. Thread: Mapping issue

    by thehl
    Replies
    1
    Views
    308

    Mapping issue

    I have two methods within the same servlet controller. They are:

    @RequestMapping(NAME_API_LOGIN)
    @ResponseBody()
    public ResponseEntity<String> login(@RequestParam(KEY_USER) String user,...
  11. Replies
    7
    Views
    3,073

    Umm

    It's been a while, but I use Hypersonic for testing and MS SQL for production and I think I had the wrong dialect and that caused the issue.

    UUID was chosen by another project and we copied it. It...
  12. Replies
    1
    Views
    557

    Found it. I need to use getContentAsByteArray() ...

    Found it. I need to use getContentAsByteArray()

    Thanks.
  13. Replies
    1
    Views
    557

    The writer from MockHttpServletResponse

    Hello,

    I'm writing a unit test for my servlet using Spring 3.0.5. My servlet writes an XML file directory to the response Writer object by calling getWriter(). How do I get this data back so I can...
  14. Thread: View actual sql

    by thehl
    Replies
    12
    Views
    1,687

    In my case, I used SQL profiler to view the...

    In my case, I used SQL profiler to view the queries and the parameters on the DB side. Life is good.

    Thanks for the help, GMA.
  15. Thread: View actual sql

    by thehl
    Replies
    12
    Views
    1,687

    Aha! When I didn't see that I was using that one,...

    Aha! When I didn't see that I was using that one, I thought it was simply we were doing different things.

    So I made that change and stripped out all references to commons-logging, put in the...
  16. Thread: View actual sql

    by thehl
    Replies
    12
    Views
    1,687

    I am trusting because you are telling me this...

    I am trusting because you are telling me this that this will be OK with Hibernate. Currently, I'm getting the following error on my build after I remove commons-logging

    [junit] Testcase:...
  17. Thread: View actual sql

    by thehl
    Replies
    12
    Views
    1,687

    MY debugs are going through logging-commons and...

    MY debugs are going through logging-commons and are showing on the console. I have both log4j and slf4j in my classpath. I would like to be using log4j and something required slf4j. So it is...
  18. Thread: View actual sql

    by thehl
    Replies
    12
    Views
    1,687

    I'm starting to think there's something wrong...

    I'm starting to think there's something wrong with my log4j file. I added logging for jtds, which is supposed to show the parameter and that's not getting 'er done either. Anyone see anything wrong?...
  19. Thread: View actual sql

    by thehl
    Replies
    12
    Views
    1,687

    I guess I've only seen Oracle up until now and...

    I guess I've only seen Oracle up until now and their JDBC driver's so screwed up, I wouldn't recommend anyone else using their approach.

    As to the other, poop!:( I was hoping I had just not...
  20. Thread: View actual sql

    by thehl
    Replies
    12
    Views
    1,687

    No, the SQL with the ? is the one sent to the...

    No, the SQL with the ? is the one sent to the JDBC driver. The JDBC driver then USUALLY converts that to SQL with the parameters inlined. I appreciate, though, that hibernate cannnot show the full...
  21. Thread: View actual sql

    by thehl
    Replies
    12
    Views
    1,687

    View actual sql

    I am using Spring 3 with hibernate and am running queries against my SQL server database. I'd like to see the actual SQL that was run, not the one that hibernate spits out because it doesn't have the...
  22. Replies
    1
    Views
    2,442

    Nevermind. Figured it out. Had the sensor ID...

    Nevermind. Figured it out. Had the sensor ID twice essentially. It must have been confusing the compiler.
  23. Replies
    1
    Views
    2,442

    Invalid path: 'null.id'

    1080 [main] ERROR org.hibernate.hql.PARSER - Invalid path: 'null.id'
    1080 [main] ERROR org.hibernate.hql.PARSER - <AST>:0:0: unexpected end of subtree
    1080 [main] ERROR org.hibernate.hql.PARSER - ...
  24. Replies
    3
    Views
    587

    WebRequest

    After experimenting, you simply pass in WebRequest as a parameter on your method.

    the issue was being caused by bad characters in one of the parameters like, "?" that was screwing up the rest of...
  25. Replies
    3
    Views
    587

    Issue with request mapping

    OK, Spring is now calling my controller, but I'm getting the following message:


    [08/03/11 11:15:09:009 EST] DEBUG annotation.AnnotationMethodHandlerExceptionResolver: Resolving exception from...
Results 1 to 25 of 222
Page 1 of 9 1 2 3 4