Search:

Type: Posts; User: bill.may@synesis7.com; Keyword(s):

Search: Search took 0.02 seconds.

  1. Ok so I switched to this: // Set...

    Ok so I switched to this:




    // Set output paramters
    declareParameter(new SqlOutParameter(RSID_OUT, Types.VARCHAR));
    declareParameter(new SqlOutParameter(RECRUITER_ID_OUT,...
  2. Ok so I tried this: /** * *...

    Ok so I tried this:




    /**
    *
    * @param dataSource
    *
    * @spring.constructor-arg ref="lemaDataSource"
  3. Thanks for replying! I have never used stored...

    Thanks for replying!

    I have never used stored procedures before. Are you refering to the column names for output parameters?
  4. Stored Procedure Returns An Empty Map

    Here is the code I have:


    /**
    *
    * @param dataSource
    *
    * @spring.constructor-arg ref="lemaDataSource"
    */
    public RzSpMissionPerformanceDAOImpl(DataSource dataSource) {
  5. I downloaded activation.jar and mail.jar from...

    I downloaded activation.jar and mail.jar from SUN. Life is good (so far) Still need to deploy this into JBoss.
  6. Got it, thanks for all the help.

    Got it, thanks for all the help.
  7. Error trying to use Springs email functionality.

    It seems I am missing a JAR... Any clue as to which one?

    Exception Trace:



    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mailSender' defined in...
  8. Yeah, that is what I was thinking... Just wanted...

    Yeah, that is what I was thinking... Just wanted to make sure there isn't a better way w/ Spring.
  9. Named Queries... Best practices w/ Spring

    When using Spring w/ Hibernate. Where do you guys feel is the best place to declare and define named queries at?

    Thank you.
  10. Hey now, don't be a hater! :D

    Hey now, don't be a hater! :D
  11. Thanks alot guys... What do you know, pg 140 of...

    Thanks alot guys... What do you know, pg 140 of Hibernate In Action talks about this.

    Again, thank you very much!
  12. Replies
    25
    Views
    9,823

    Hey Rod, could you please take a look at my post ...

    Hey Rod, could you please take a look at my post
    Revisiting our old friend LazyInitialization Exception and tell me what is up there?
  13. Revisiting our old friend LazyInitialization Exception

    The following is my code.




    public final void testApproveDocApprovalWorkFlowItem()
    {

    ApplicationContext context = null;
  14. Thank you...

    I am taking a look at Raibles examples now...

    MUCH Appreciated :) :D :cool: :cool:
  15. Any good COMPLETE examples of using Hibernate w/ Spring

    We kinda got it working... But not in the way that the Senior Spring people would say...

    refer to thread for how we current have it working:...
  16. Got it to work w/ this implementation...

    public void saveChangeCase(final ChangeCase changeCase)
    {


    HibernateTemplate template = getHibernateTemplate();

    template.execute(
    ...
  17. Call to getHibernateTemplate().saveOrUpdate(Object) does not persist the data

    public void saveChangeCase(ChangeCase changeCase)
    {
    HibernateTemplate template = getHibernateTemplate();

    template.saveOrUpdate(changeCase);

    ...
  18. Gentlemen, Thank you very much for your help....

    Gentlemen,

    Thank you very much for your help.

    Arno, I implemented your method. I feel it is quite elegant.

    Are you having any problems w/ lazy loading?
  19. Mark, First, thank you for replying. I am...

    Mark,

    First, thank you for replying. I am attempting to do what you said to do, however I get the following error:


    org.springframework.beans.factory.BeanDefinitionStoreException: IOException...
  20. getHibernateTemplate() returns null

    Hello everyone,

    I am attempting to write a Spring + Hibernate application. Whenever I call getHibernateTemplate(), the method returns null.

    Here is my code:


    <?xml version="1.0"...
Results 1 to 20 of 20