Home Mapping types for Grails
Reply: 0

Mapping types for Grails

user571 Published in July 16, 2018, 8:34 pm

I'm trying to map an old SQL table in Grails and I find for example that : boolean is mapped into tinyint and not BIT like as stated in the hibernate reference (https://www.tutorialspoint.com/hibernate/hibernate_mapping_types.htm)

I know I can force it by giving the sqlType as constaint but I want to know to what types Grails really map. it would be great if someone gives a list of all types or point to a reference.

here are the 2 Tables :

Original Table

New Table

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.313843 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO