I have got a hassle. After I want to update my tables in the oracle database via IntelliJ its creates tables that can be in my area folder. It's ok however it creates synonyms that are described in the domain folder. Once I retry to delete the tables that were created for synonym it ran to mistakes because of overseas keys.
I use the following codes in the config file :
jdbc.driverClassName1=oracle.jdbc.driver.OracleDriver
jdbc.url1=jdbc:oracle:thin:@simple:simple
jdbc.username1=username1
jdbc.password1=password1
init-db=false
jdbc.driverClassName2=oracle.jdbc.driver.OracleDriver
jdbc.url2=jdbc:jdbc:oracle:thin:@simlpe:simple
jdbc.username2=username2
jdbc.password2=password2
################### Hibernate Configuration ##########################
hibernate.dialect=org.hibernate.dialect.Oracle10gDialect
hibernate.hbm2ddl.auto=update
hibernate.connection.provider_class=org.hibernate.connection.C3P0ConnectionProvider
hibernate.c3p0.acquire_increment=1
hibernate.c3p0.idle_test_period=300
hibernate.c3p0.timeout=999999
hibernate.synonyms=true
hibernate.c3p0.max_size=5
hibernate.c3p0.min_size=2
hibernate.c3p0.max_statements=0
hibernate.c3p0.preferredTestQuery=select 1
hibernate.c3p0.testConnectionOnCheckout=true
hibernate.connection.autocommit=true
hibernate.connection.useUnicode=true
hibernate.connection.characterEncoding=UTF-8
default.keyDS=TRAIN
log.server.url=/BAS/eventLog/
0 Replies