Hibernate Reveng: Nyegah FK constraint di create ulang?

View: New views
2 Messages — Rating Filter:   Alert me  

Hibernate Reveng: Nyegah FK constraint di create ulang?

by Andri Bratakusuma :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi guys, gamana caranya supaya hibernate gak create ulang foreign key
constraint di table,
gw udah punya table lengkap dengan relasi-nya, terus gw reverse
engineer ke pojo jpa, tapi gak
tau pas dimana tau2x foregin key constraint gw di database dah
duplikat aja? gemana ya cara
nyegah nya? Gw pake seam 2.1.2, untuk reveng-nya pake seam-gen.

TIA.

Re: Hibernate Reveng: Nyegah FK constraint di create ulang?

by sm96 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

matiin hbm2ddl

2009/6/29 Andri Bratakusuma <goryisland@...>:

>
>
> hi guys, gamana caranya supaya hibernate gak create ulang foreign key
> constraint di table,
> gw udah punya table lengkap dengan relasi-nya, terus gw reverse
> engineer ke pojo jpa, tapi gak
> tau pas dimana tau2x foregin key constraint gw di database dah
> duplikat aja? gemana ya cara
> nyegah nya? Gw pake seam 2.1.2, untuk reveng-nya pake seam-gen.
>
> TIA.
>
>



--
syaiful.mukhlis
gtalk:syaiful.mukhlis@...