relation 1 a 1 error insert data
<p>I have a relationship 1-1 domain model it my way</p>

<pre><code>package relation1a1

class Person {
    Home home
    String name
    String aPaterno
    String aMaterno
}

package relation1a1

class Home {

    static belongsTo = [person: Person]

    String cP
    String street
}
</code></pre>

<p>When I insert data into the person table asked me to insert data in the table first job and when I try to insert data into the home table asks me to insert data into the person table.</p>

<p>What I try to do is a relationship 1-1 person that removing work is eliminated.</p>