• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mapping java.sql.Types to native Java types

 
Sharon whipple
Ranch Hand
Posts: 294
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
I use DatabaseMetaData to get table column information,
I would like to be able to map the jdbc types to java types for example:

Map [Mssql Type 2 numeric] to integer and vice versa

I couldn’t find any enum that do this mapping, is there such enum or Hibernate dialect method?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic