aspose file tools
The moose likes Object Relational Mapping and the fly likes AS400 Column Mapping Resultset DATE TIME Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply Bookmark "AS400 Column Mapping Resultset DATE TIME " Watch "AS400 Column Mapping Resultset DATE TIME " New topic
Author

AS400 Column Mapping Resultset DATE TIME

Imre Tokai
Ranch Hand

Joined: Jun 04, 2008
Posts: 123
Hello,


I'm mapping columns of types DATE(10), TIME(8):





and i get Exception:

javax.servlet.ServletException:
--- The error occurred in com/linehaul/persistence/sql/LineHaulManifests.xml.
--- The error occurred while applying a parameter map.
--- Check the ApplicationSP.Params.
--- Check the statement (update procedure failed).
--- Cause: java.sql.SQLException: [SQL0180] Syntax of date, time, or timestamp value not valid. Cause . . . . . : The string representation of a date, time, or timestamp value does not conform to the syntax for the specified or implied data type and format. *N is either the character
string constant that is not valid or the column or host variable that contained the string. If the name is *N, then the value is an expression specified in the statement. If the string was found in a host variable, the host variable number is 9. Recovery . . . : Ensure that the date, time, or timestamp value conforms to the syntax for the data type it represents. Try the request again.
org.apache.struts.action.RequestProcessor.processE xception(RequestProcessor.java:535)


Any useful hint for solving this?


Regards
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: AS400 Column Mapping Resultset DATE TIME
 
Similar Threads
IBATIS - multiple parameter
iBatis Stored Procedure call
jdbctype for enum in parameterMap's parameter in IBATIS
Error in updating a table in mysql using IBATIS
Column Mapping Resultset DATE TIME