Search:

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

Search: Search took 0.02 seconds.

  1. DataAccessException not being caught, resulting in 500

    Hi

    I have a DAO that uses the HibernateTemplate (which has a HibernateTransactionManager).

    The Hibernate call is simply getHibernateTemplate().save(myobj);

    Because of an error with our...
  2. Replies
    9
    Views
    2,929

    yes, as you said in my post...

    yes, as you said in my post http://forum.springframework.org/showthread.php?t=26149 this is a similar point.

    what i would say to you is that hibernate and jdbc have their uses. we use both...
  3. transferring raw jdbc data query to an excel view?

    recently, when creating reports for applications, i have found myself creating dedicated rowmappers to hold the data structures and then sending the data to dedicated AbstractExcelView subclasses to...
  4. Replies
    4
    Views
    1,355

    www.adcworks.com/blog

    www.adcworks.com/blog
  5. My solution for using spring:bind with Calendars

    I've often seen people struggling with this, but really it's quite easy to using spring:bind to Calendar fields.

    I've blogged my solution (using a simple modification of the built-in...
  6. omg read the frickin post thread!!!!!

    omg read the frickin post thread!!!!!
  7. I, yes I am aware of these injector methods but I...

    I, yes I am aware of these injector methods but I don't think you can call them at all stages of a request workflow. The earliest time i could find to try them out was onBind right at the start of...
  8. Help with programmatic setting formView and successView

    Our website contains various layouts for different sub-sites. For example, the main website will have layout "core" at www.domain.com but various sub-sites like www.domain.com/subsitea and...
  9. Replies
    3
    Views
    1,592

    Hi, Does that mean a String[] is created from...

    Hi,

    Does that mean a String[] is created from a multi-select? Do youhave sample code for how that looks within a spring:bind?

    Many thanks.
  10. Replies
    3
    Views
    1,592

    HTML multi-select bind to Set

    Hi,

    I've found several older (2004) references to the general area of binding, e.g using initBinder, custom editors and so on, but nothing recent.

    Is there now a definitive mechanism in the...
  11. we have created a spring driven framework that...

    we have created a spring driven framework that many current ASP sites will be migrated to. unlike the ASP sites which are all separate, the spring framework we have developed will run all sites from...
  12. Reloading servlet.xml handler mappings on the fly?

    Hi,

    Is there a method by which changes to the frontcontroller-servlet.xml (containing handler mappings to controllers) can be reloaded on the fly without removing current mappings until it's fully...
  13. I've read up on AOP in Spring in Action and it...

    I've read up on AOP in Spring in Action and it looks very cool. Not sure if it's a little OTT for what I need. I already have a RequestFilter and I've decided (and tested) getting my page object...
  14. Are you able to point out a few of the...

    Are you able to point out a few of the objects/interfaces involved in your interceptor solution?

    In particular, are you able to access services/daos from within interceptors, i.e can these be...
  15. Design advice for centralising code for all controllers

    Hi,

    I'd like to seek design advice using Spring MVC as I have a requirement that is complicated by Spring's different super-classes for various types of request processing.

    Essentially, a user...
  16. Hi Rob, OK, I will try and do that for you. It...

    Hi Rob,

    OK, I will try and do that for you. It will need to wait until Monday as I am off tomorrow. Will add it into my diary.

    Cheers, Allistair.
  17. We've resolved this issue simply by renaming...

    We've resolved this issue simply by renaming pageURL to pageUrl in the command class.

    It strikes me as odd however, since even when it was pageURL, it was still binding the value correctly first,...
  18. Hi Rob, Sure I can .. below. I thought it may...

    Hi Rob,

    Sure I can .. below. I thought it may have been something in the setPageURL method such as either accumulating the instance's value rather than overwriting OR incorrect bean set name, i.e...
  19. Unexpected behaviour with SimpleFormController

    Hi,

    Hopefully a simple one. I am finding some unexplainable behaviour from the binding of command objects for a SimpleFormController.

    I have a link of the following type
    ...
  20. setFunction(false) did the job, thanks for your...

    setFunction(false) did the job, thanks for your time and help.
  21. StoredProcedure declareParameter dropping a parameter

    Hi,

    We are finding an odd issue with StoredProcedure. We've created a subclass of StoredProcedure, in whose contructor we perform


    declareParameter(new SqlParameter("strSite", Types.VARCHAR));...
  22. Form bind breaks when loading page via non form controller

    Hi,

    New to Spring from Struts and loving it. However, have a structural issue that I would like to put to you.

    We represent web pages in our database as Page rows. The URL for a given request...
  23. WAC getting lost in inheritance hierarchy

    Hi,

    I have a Struts inheritence structure as follows

    Action
    + MySecureBaseAction
    + AppSpecificBaseAction
    + AppAction

    The MySecureBaseAction implements the struts execute...
  24. i tried the same config with a jndi datasource...

    i tried the same config with a jndi datasource instead of adding the proxool options to hibernateProperties and create/update works.

    it looks like it's

    1. Proxool related
    2. caused by hbm2ddl...
  25. hbm2dddl=update causes exception in proxool,but fine without

    Hello,

    I've bought into Spring for our DAO config and have been wiring up Hibernate 3 accordingly.

    Everything was going very smoothly indeed. I have comprehensive log4j logging and no errors...
Results 1 to 25 of 25