开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜