« Return to Thread: Overlapping table names in the database--where to report the issue?

Re: Overlapping table names in the database--where to report the issue?

by Robert Fischer :: Rate this Message:

Reply to Author | View in Thread

What's the specific problem that you would report?

You can change the default join table with:
http://grails.org/doc/1.1.x/ref/Database%20Mapping/joinTable.html

~~ Robert.

Jay Slater wrote:

> class Course{
> }
>
> class Person{
>      static hasMany = [courses: Course]
> }
>
> class PersonCourse{
> }
>
> In Grails 1.1 against an Oracle database, the above code will make a
> single table called PERSON_COURSE. If there are foreign key constraints,
> the table will have all of them (which led, in our case, to some
> mutually exclusive constraints and about half a day of head-scratching
> until we figured it out). Where should I report this?

--
~~ Robert Fischer, Smokejumper IT Consulting.
Enfranchised Mind Blog http://EnfranchisedMind.com/blog

Check out my book, "Grails Persistence with GORM and GSQL"!
http://www.smokejumperit.com/redirect.html

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: Overlapping table names in the database--where to report the issue?