Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:
Mapping documents:
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs:
Name and version of the database you are using:
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt:
Hi.
I am trying to use Hibernates SybaseDialect for Sybase. My query is a simple select query which takes a parameter of int. On Execution i get an error "Implicit conversion from datatype 'VARCHAR' to 'SMALLINT' is not allowed. Use the CONVERT function to run this query."
The same query works fine with MS Sql Server.
DO i need to explicitly use the CONVERT function just for Sybase in my HQL.???
I am using Hibernate3.0 and net.sf.hibernate.SybaseDialect.
Any help in this would be highly appreciable.
Thanks
Binny