We are using sql server 2005 as a datbase and most of tables are having
column called "timestamp". timestamp is used typically as a mechanism for
version-stamping table rows by sql server.

When I query a object using named query, OpenJPA throws an exception saying
: 
 com.microsoft.sqlserver.jdbc.SQLServerException: The conversion from
timestamp to TIMESTAMP is unsupported

My generated entity has timestamp mapped with java.sql.TimeStamp.

Is there a way to get the whole object except timestamp column or how can i
solve this issue?

Please advice.

Thanks
chintan

--
View this message in context: 
http://openjpa.208410.n2.nabble.com/timestamp-issue-while-retrieving-from-database-tp6228699p6228699.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to