Olá,
quando chamo o main abaixo começa drop das tabelas tem algum lugar que posso
configurar pra não fazer o drop ???
abs
public static void main(String[] args) {
Configuration configuration = new AnnotationConfiguration();
configuration.configure();
SchemaExport se = new SchemaExport(configuration);
se.create(true, true);
}
<hibernate-configuration>
<session-factory>
<property name="hibernate.dialect">org.hibernate.dialect.Oracle9iDialect</property>
<property name="hibernate.connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
<property name="hibernate.connection.url">jdbc:oracle:thin:@192.168.15.90:1521:xxxxx</property>
<property name="hibernate.connection.username">teste</property>
<property name="hibernate.connection.password">teste</property>
<property name="hibernate.show_sql">true</property>
<property name="hibernate.format_sql">true</property>
<property name="hibernate.c3p0.min_size">5</property>
<property name="hibernate.c3p0.max_size">20</property>
<property name="hibernate.c3p0.timeout">180</property>
<property name="hibernate.c3p0.idle_test_period">100</property>