What is the convention for table and column names in HSQLDB when using grails?
If I have a FooBar
entity with a fi开发者_JAVA百科zzBuzz
field, what will the resulting table and column names be in HSQL? Would they be FOO_BAR
and FIZZ_BUZZ
? Or FooBar
and fizzBuzz
? Or . . .
Using the following domain class:
class MyDomain
{
String myField
}
Creates the following structure (as viewed in the DatabaseManager):
So your first example is correct, the table created is FOO_BAR
and the field is FIZZ_BUZZ
.
精彩评论