Search:

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

Search: Search took 0.03 seconds.

  1. Replies
    5
    Views
    13,416

    @ContextConfiguration with TestSuite

    Hi,

    I have an application that has lots of tests. Basically I have service, repository tests. All of my test cases inherits one of these abstract classes:

    ...
  2. Replies
    4
    Views
    1,147

    Well, I don't think Gilead has any adapter for...

    Well, I don't think Gilead has any adapter for web services.
    What web services framework are you using? The one provided by Spring?

    If your framework allows you to intercept the...
  3. Replies
    4
    Views
    1,147

    Well, the basic concept about lazy loading is...

    Well, the basic concept about lazy loading is that, if you are still inside a transaction and you call the getter method of a lazy property, that property will be loaded when the getter method is...
  4. I am developing a web app that uses velocity in...

    I am developing a web app that uses velocity in my service tier to render my emails. I've tried some of the configurations described here but I cannot make it work.

    I always get this same error no...
  5. Replies
    1
    Views
    2,284

    If that is not possible, does anyone knows how to...

    If that is not possible, does anyone knows how to use message bundles with Velocity for sending emails?? I am not using Velocity in the view part of my application, just for sending emails.
  6. Replies
    1
    Views
    2,284

    Create email content using JSP templates

    I've seen in the Spring documentation that is possible to use templating libraries to render the content that will be sent in the email. Here is the link:...
  7. Replies
    0
    Views
    987

    Get HttpServletRequest of current request

    Is there a static way to get the HttpServletRequest of the current request??

    I am using Spring MVC with annotations, and I am writing some static helper methods that need the HttpServletRequest...
  8. Replies
    2
    Views
    1,046

    Any ideas?? It shouldn't be that hard. But I...

    Any ideas??

    It shouldn't be that hard.
    But I just can't find anything about it!
  9. Replies
    2
    Views
    1,046

    Different URL pattern for controllers

    Hi,

    I would like my web app to have urls like this:
    www.example.com/home
    www.example.com/contacts
    www.example.com/register

    But if I put this in web.xml to be able to do that:
    ...
  10. Replies
    6
    Views
    1,409

    Actually, it is possible to wrap self-invocations...

    Actually, it is possible to wrap self-invocations with transactions. But I think it is only possible when using annotations. As the documentation states:

    Note: In proxy mode (which is the...
  11. I believe that Spring will try to match the most...

    I believe that Spring will try to match the most specific one. In this case, 'methodName'.
    You can turn logging in debug level for package 'org.springframework.orm.jpa' and see it for yourself what...
  12. If the name of the method you want to change the...

    If the name of the method you want to change the propagation mode is unique, you can do the following:


    <tx:advice id="txAdvice" transaction-manager="txManager">
    <tx:attributes>
    <tx:method...
  13. Replies
    14
    Views
    2,254

    Miluch, I've done what you suggested by...

    Miluch,

    I've done what you suggested by setting propagation to SUPPORTS.
    It looks like by the log messages that it is now working:


    06/12/2008 15:55:10 JpaTransactionManager getTransaction...
  14. Replies
    14
    Views
    2,254

    Hi Alarmnummer, I am using PostgreSQL 8.3. ...

    Hi Alarmnummer,

    I am using PostgreSQL 8.3.

    I know I should be doing some kind of second level cache, but that is something I am going to do in the future, not now.

    My concern in this post is...
  15. Replies
    14
    Views
    2,254

    Read only transactions

    Hi,

    I am building a web application that uses spring + jpa + hibernate.
    I am using declarative transaction management of spring and I have some questions about read only transactions.

    Some...
Results 1 to 15 of 15