Search:

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

Search: Search took 0.02 seconds.

  1. Replies
    0
    Views
    1,103

    Wrong character set when sending email?

    All,

    When I send an email using the SimpleMailMessage class, Outlook complains:



    I noticed that my "-" characters are displayed as "?" also. How can I fix this problem?

    Regards,
  2. Ok, perhaps someone can clarify this for me. I...

    Ok, perhaps someone can clarify this for me. I have configured a JNDI datasource using JndiObjectFactoryBean and configured my Hibernate session using LocalSessionFactoryBean (setting its dataSource...
  3. I looked at the javadoc for DataSourceUtils. It...

    I looked at the javadoc for DataSourceUtils. It looks like it contains generic methods for obtaining connections. How would I obtain the connection that Hibernate is currently using with this...
  4. How do you export the JDBC connection used by...

    How do you export the JDBC connection used by hibernate so that it can be used by JDBC access code?
  5. Can you use both Hibernate & jdbc dao in same transactio

    Can I have hibernate save a graft of objects and then perform an insert/update using jdbc in the same transaction?

    Joshua
  6. Replies
    5
    Views
    7,071

    I apologize, I read your earlier post wrong. ...

    I apologize, I read your earlier post wrong. Thanks for the help.

    Joshua
  7. Replies
    5
    Views
    7,071

    Can it be done without inheritance?

    I appreciate the quick reply.

    While I can use your solution in this case, there has to be a way to do this without needing inheritance. Any other ideas?

    Joshua
  8. Replies
    5
    Views
    7,071

    injecting applicationContext into a bean?

    Reading the spring documentation I have learned how to inject other dependencies into objects. How would you inject springs application context itself into an object?

    Joshua
  9. Withdraw problem

    I did a clean, recompile and test. Now it works. I am all set.

    Thanks,

    Joshua
  10. Should have mentioned that...

    I should have mentioned that this is the place where the error is reported:

    getHibernateTemplate().saveOrUpdate(activityTicket);

    above it, I check to see that getHibernateTemplate() actually...
  11. How do you debug getHibernateTemplate().saveOrUpdate()?

    All,

    I am receiving a NullPointerException when all call saveOrUpdate. I have made sure the object I am passing in is not null. How do I debug this further?

    Joshua



    [junit] Testcase:...
Results 1 to 11 of 11