Search:

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

Page 1 of 7 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    1,017

    Grails and JPA integration

    I'm trying to integrate a Java domain and service layer with a Grails app. The Java projects are built with Maven and the Grails project loads the JARs from the Maven repo. The service project...
  2. Replies
    1
    Views
    524

    http://groovy.codehaus.org/

    http://groovy.codehaus.org/
  3. Replies
    6
    Views
    1,499

    updating to STS 2.6.0.M2

    Hi,

    I have STS 2.6.0.M1 installed. Is there any easy way for me to update to 2.6.0.M2? I don't want to install it from scratch as I already have a lot of other plugins installed and confiured in...
  4. Replies
    5
    Views
    981

    Hi, This post...

    Hi,

    This post on stackoverflow.com, provides a way of reusing error messages across different beans.

    Cheers,
    Don
  5. migrate SimpleFormController to Spring MVC 2.5

    Hi,

    I'd like to convert this SimpleFormController to use the annotation support introduced in Spring 2.5


    public class PriceIncreaseFormController extends SimpleFormController {

    ...
  6. problem running unit tests with JDK proxies

    I have a Spring web application which is configured to use JDK proxying for AOP. The AOP annotations (such as @Transactional) are declared on the interfaces, rather than the implementation classes.
    ...
  7. Replies
    2
    Views
    3,936

    inject property value into Spring bean

    Hi,

    I have a bunch of Spring beans which are picked up from the classpath via annotations, e.g.


    @Repository("personDao")
    public class PersonDaoImpl extends AbstractDaoImpl implements...
  8. Replies
    4
    Views
    4,535

    I considered that, but my goal is to reduce the...

    I considered that, but my goal is to reduce the total time for build and application startup. I don't see any particular reason why compiling the reports during build is going to be any quicker than...
  9. Replies
    4
    Views
    4,535

    The problem with this approach (as I mentioned...

    The problem with this approach (as I mentioned above) is that it's only a matter of time, before someone forgets to check in the modified .jasper file after making a change to the .jrxml.
  10. Replies
    4
    Views
    4,535

    lazily compile Jasper .jrxml to .jasper

    Hi,

    I use Jasper reports with the JasperReportsMultiFormatView class provided by Spring. This class takes care of compiling the source .jrxml files to their compiled .jasper format when the...
  11. Replies
    0
    Views
    678

    cache FreeMarker templates

    Hi,

    I'm using FreeMarkerConfigurationFactoryBean to retrieve FreeMarker templates. I would like these templates to be cached, but there doesn't appear to be anyway to indicate that this behaviour...
  12. Replies
    1
    Views
    835

    get FreeMarker template content

    Hi,

    I'd like to use FreeMarker to generate the text of emails that will be sent by my application. The generated text will never be returned to the view so I don't need to configure a FreeMarker...
  13. Replies
    1
    Views
    1,045

    reading mail with Spring

    Hi,

    I had a look in the reference doc, and Spring seems to have pretty good support for sending mail. However, I need to login to a mail account, read the messages, and download any attachments....
  14. default error messages with Spring Bean Validation

    Hi,

    The sample provided with the download of the Spring Bean Validation framework indicates that it's possible to specify a default error message for a particular rule. For example, if I have a...
  15. annotation-based bean validation error messages

    Hi,

    I'm investigating an annotation-based approach to command bean validation using spring modules. In the tutorial, the following command bean (getters and setters omitted) is used:


    public...
  16. annotation-based bean validation error messages

    Hi,

    I'm investigating an annotation-based approach to command bean validation using spring modules. In the tutorial, the following command bean (getters and setters omitted) is used:


    public...
  17. Replies
    3
    Views
    6,007

    Thanks for the response. Am I correct in assuming...

    Thanks for the response. Am I correct in assuming that methods annotated with @Transactional must also be non-final?
  18. Replies
    3
    Views
    6,007

    @Transactional on private methods

    Hi,

    I use the @Transactional annotation (on implementation methods) to mark the boundaries of my services transactions. This is enabled by adding the following to my Spring config file


    <bean...
  19. Replies
    0
    Views
    1,900

    passing Date parameters via JMX console

    Hi,

    This is a general JMX question, and really has nothing to do with Spring's JMX support, so feel free to post a humbling reply, delete the post, or whatever....

    I have a method which takes a...
  20. Replies
    11
    Views
    2,576

    Sorry to labour the point, but in the code sample...

    Sorry to labour the point, but in the code sample I showed previously, con.prepareStatement() is only called once, so it's obvious that only a single PreparedStatement is created. However, you seem...
  21. Replies
    11
    Views
    2,576

    Sure, but from looking at the JdbcTemplate source...

    Sure, but from looking at the JdbcTemplate source code, it appears that if I call the method shown above several times:

    getUsers(10);
    getUsers(20);

    Spring will create a new PreparedStatement...
  22. Replies
    11
    Views
    2,576

    For maximal performance, my objective is to have...

    For maximal performance, my objective is to have a prepared statement created and prepared the first time I execute a particular SQL statement, and for that same prepared statement to be executed for...
  23. Replies
    11
    Views
    2,576

    Thanks for the response. However, it's still not...

    Thanks for the response. However, it's still not clear how I can achieve my goal, which is to ensure that a prepared statement is only created and prepared the first time a particular SQL statement...
  24. Replies
    11
    Views
    2,576

    efficient Spring-JDBC usage

    Hi,

    Here's a typical query from one of our Spring-JDBC DAOs:


    public List<User> getUsers(final int age) {

    return getJdbcTemplate().query(
    new PreparedStatementCreator() {
    public...
  25. Replies
    0
    Views
    633

    Jasper bug when using jdbcDataSource ?

    Hi,

    I have the following Jasper report view configured:


    <bean id="transactionReport" class="org.springframework.web.servlet.view.jasperreports.JasperReportsMultiFormatView">
    <property...
Results 1 to 25 of 161
Page 1 of 7 1 2 3 4