开发者

What is the convention for table and column names in HSQLDB when using grails?

开发者 https://www.devze.com 2023-01-15 06:09 出处:网络
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 f

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):

What is the convention for table and column names in HSQLDB when using grails?

So your first example is correct, the table created is FOO_BAR and the field is FIZZ_BUZZ.

0

精彩评论

暂无评论...
验证码 换一张
取 消