Search:

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

Page 1 of 3 1 2 3

Search: Search took 0.03 seconds.

  1. Here is the repository that maven is pointing to....

    Here is the repository that maven is pointing to. I have checked a couple of the dependencies in my pom.xml and they seem to be correct per the site.

    http://www.springsource.com/repository/app/
    ...
  2. I am having the same issue. Have you been able to...

    I am having the same issue. Have you been able to resolve this?
  3. Used this to get it working with MySQL. ...

    Used this to get it working with MySQL.

    http://static.springframework.org/spring/docs/2.5.x/reference/jdbc.html#jdbc-simple-jdbc-call-1

    Stored Procedure

    CREATE DEFINER=`root`@`localhost`...
  4. DB2 Stored Procedure Out Parms, I need an example

    I am attempting to call a DB2 (mainframe, COBOL) stored procedure. It has input and output parms. Could someone post an example of the Spring code required to make such a call? I am hoping to use...
  5. Replies
    2
    Views
    1,899

    Figured it out. C3P0 was not giving a very...

    Figured it out. C3P0 was not giving a very descriptive error message. Switched to Apache Basic Data Source and discovered my driver class was wrong. I had flipped a folder in the package. The proper...
  6. Replies
    2
    Views
    1,899

    Spring JDBC/C3P0 SQL Server Woes

    I am having a problem getting C3P0 (or Apache Basic Datasource) configured to work with SQL server. Does anyone have an example? I am interested in how the URL needs structured. I expected it to be:...
  7. Replies
    2
    Views
    725

    That is what I expected, thanks for verifying!

    That is what I expected, thanks for verifying!
  8. Replies
    2
    Views
    725

    @Transactional question

    Example:


    @Transactional(rollbackFor=Throwable.class
    , propagation=Propagation.REQUIRED
    , isolation=Isolation.READ_UNCOMMITTED)
    public void methodA(){

    methodB();
  9. Replies
    5
    Views
    1,194

    The sample applications are bundled with each...

    The sample applications are bundled with each download so they work with each version. Unless you have a reason for something older go with 2.5. Just beware many published books are only for v2.0....
  10. Thanks!

    That fixed it! Thanks a million.
  11. Web MVC + DWR + UrlMappings = HELP ME!!!

    DWR documentation states:



    So if figured just add some code in my app config xml file like:



    <bean id="urlMapping"...
  12. Figured this out after digging through some of...

    Figured this out after digging through some of the MVC source.



    ModelAndView mav = new ModelAndView();
    Map model = result.getModel();
    mav.addAllObjects(model);


    That puts all of the...
  13. No one knows what model attribute is...

    No one knows what model attribute <form:erros> is looking for?
  14. @MVC What Model Attribute?

    I want to return a ModelAndView object to my view when validation fails. I am able to add the command object to the ModelAndView as my command name. This allows MVC to redisplay the user's data. I...
  15. Marten Deinum, Back in this thread you...

    Marten Deinum,

    Back in this thread you suggested wrapping the data source to log SQL executed. How would one go about this?

    http://forum.springframework.org/showthread.php?t=56687

    I would...
  16. Below is the code I want to advise. ......

    Below is the code I want to advise.



    ...
    public class JdbcProductDao extends JdbcDaoSupport implements ProductDao
    ...
    List<Product> products = getJdbcTemplate().query("select id,
    ...
  17. Run Advice before execution of Spring method.

    I would like a Pointcut that would run before methods in org.springframework.jdbc.core.JdbcTemplate. I have tried everything but I cannot get the Pointcut down. Please help.

    Currently I have...
  18. Replies
    15
    Views
    4,285

    So all application logs should be written with...

    So all application logs should be written with Log4J or Log4J via SLF4J.

    And what about Hibernate? Can it log w/o commons logging?
  19. Replies
    15
    Views
    4,285

    How do I configure Spring to log its messages...

    How do I configure Spring to log its messages with Log4J instead of commons logging?
  20. Replies
    15
    Views
    4,285

    Spring Logging Beginner Question

    I am using Commons Logging over Log4J for logging. I have noticed that I get a logger by default (with out instantiating one). So in any class in Spring I can use logger.[level](). Commons Logging's...
  21. Replies
    3
    Views
    724

    Having the same problem, my values are gone when...

    Having the same problem, my values are gone when validation of the form fails. I am really struggling with something that seems simple... Any pointers?
  22. Replies
    3
    Views
    724

    That is what I was looking for, thanks!

    That is what I was looking for, thanks!
  23. Replies
    3
    Views
    724

    Load Drop Down with Valid States

    Hello,

    When my controller is run I want to have it send a list of valid states to my JSP that will be loaded in a drop down. The states need to come from a properties file or DB (which ever one...
  24. Replies
    5
    Views
    2,026

    A full stack trace would be helpful. Please post.

    A full stack trace would be helpful. Please post.
  25. Replies
    3
    Views
    1,354

    So I figured out after 2 hours a banging my head...

    So I figured out after 2 hours a banging my head against the wall... hate stupid problems like this...
Results 1 to 25 of 56
Page 1 of 3 1 2 3