Grails

User Guide does not have documentation on Basic Value Types and how they are mapped to the Database

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0.1
  • Fix Version/s: 1.0.3
  • Component/s: Documentation
  • Labels:
    None
  • Environment:
    N/A

Description

The current User Guide does not delineate what the Basic Value Types (ex. String, Integer, Date) are and how they are mapped from Groovy to the Database. For example, String maps to VARCHAR unless your maxSize constraint is over 255 (in most cases) in which case it will be a CLOB or TEXT. Knowing this before the database is created will save a lot of anguish later. I'm sure there are others like this. The basics can be cribbed right from the Hibernate docs, but the zingers (in my example) need to be written up by some one with intimate knowledge.

IMO, BVTs should be listed in the left bar so people can link directly to it.

Activity

Hide
Matt Lentzner added a comment -

OK, so I found the part where the "zinger" I mention is explained. So it's there, but I still think the BVTs should be listed and maybe link to this advanced part at the end of the GORM section.

Show
Matt Lentzner added a comment - OK, so I found the part where the "zinger" I mention is explained. So it's there, but I still think the BVTs should be listed and maybe link to this advanced part at the end of the GORM section.
Hide
Marcos Silva Pereira added a comment -

Because Grails uses Hibernate, I think that would be more appropriated just alter the Grails docs to refer to Hibernate docs section that explain types:
http://www.hibernate.org/hib_docs/core/reference/en/html/mapping.html#mapping-types

Show
Marcos Silva Pereira added a comment - Because Grails uses Hibernate, I think that would be more appropriated just alter the Grails docs to refer to Hibernate docs section that explain types: http://www.hibernate.org/hib_docs/core/reference/en/html/mapping.html#mapping-types
Hide
Lee Butts added a comment -

Added a link to the Hibernate docs relating to BVTs to section 5.5.2.1

Show
Lee Butts added a comment - Added a link to the Hibernate docs relating to BVTs to section 5.5.2.1
Hide
Graeme Rocher added a comment -

Bulk closing bunch of resolved issues

Show
Graeme Rocher added a comment - Bulk closing bunch of resolved issues

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: