Beginner |
|
Joined: Thu Feb 05, 2004 9:09 am Posts: 27
|
My mapping
<joined-subclass name="br.com.sapnet.negocio.PessoaFisica" table="TB_PESSOA_FISICA" dynamic-insert="true" dynamic-update="true">
<key column="CD_PESSOA_FISICA"/>
<property name="dataNascimento" column="DT_NASCIMENTO" type="date"/>
<property name="cpf" column="TX_CPF" type="string"/>
<property name="rg" column="TX_RG" type="string"/>
<property name="sexo" column="TX_SEXO" type="string"/>
<set name="tipo" table="RL_TIPO_PESSOAFISICA" lazy="false" cascade="none"> <key column="CD_PESSOAFISICA"/> <many-to-many class="br.com.sapnet.negocio.Tipo" column="CD_TIPO"/> </set></joined-subclass>
My problem is collection, I wanna do select in my many-to-many relationship, and I don
|
|