This is my first post and I want to thanks Hibernate Team for a greate tool.
I'm learning now but I will try to contribute as much as I can, for the moment
I have a question to ask:
I´m dealing with legacy database and I have all columns defined as CHAR SQL datatype.
Reading this Forum I found that the best solution to the issue is defining a Custom Type, but I also have to support multiple Databases like Oracle and SQL Server.
Oracle has special dealing with CHAR types and I need to use OracleTypes.FIXED_CHAR for setting prepared statement properly, as I read from the wiki:
http://www.hibernate.org/Documentation/ ... 2AndOracle
On SQL Server I can directly use Types.CHAR and PreparedStatement.setString
I need to find a way of doing this using the same Custom User Type.
Can I do this extending Oracle Dialect?
Any ideas will be appreciated.
Thank you in advance,
Daniel
Hibernate version: 3.0.5