- This might be caused by running to_char on a timestamp like this: to_char(dp.calc_date, ‘dd/Mon/yyyy hh:mi:s’).
- Try just returning the date without trying to convert it first.
- More about this error here.
Archives for April 2013
Ensure you are using jdk1.6.0_24 or above. Make sure any Windows shortcuts point to this version.
They might behave differently because they usually run together when running on command line, and individually in Eclipse.
If using Spring, you need to use
@DirtiesContext to rebuild the Spring context if one class has dirtied it, e.g. by setting up a mock object which then affects a later running test.
Problem: You are passing info to the db, but the proc doesn’t appear to receive it. The stored proc works fine when executed directly from Toad or SQL Developer.
This might be due to a missing i18n library which should be on your runtime classpath.
Make sure log4j is set up. The correct location for log4j.xml is in web-inf/classes.