This commit is contained in:
@@ -12,9 +12,6 @@
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>hsqldb</id>
|
||||
<activation>
|
||||
<activeByDefault>true</activeByDefault>
|
||||
</activation>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>hsqldb</groupId>
|
||||
@@ -30,6 +27,7 @@
|
||||
<jdbc.password></jdbc.password>
|
||||
<jdbc.url>jdbc:hsqldb:hsql://localhost/airline</jdbc.url>
|
||||
<hibernate.dialect>org.hibernate.dialect.HSQLDialect</hibernate.dialect>
|
||||
<hibernate.hbm2ddl.auto></hibernate.hbm2ddl.auto>
|
||||
</properties>
|
||||
<build>
|
||||
<plugins>
|
||||
@@ -73,6 +71,7 @@
|
||||
<jdbc.password>airline</jdbc.password>
|
||||
<jdbc.url>jdbc:mysql://localhost/airline</jdbc.url>
|
||||
<hibernate.dialect>org.hibernate.dialect.MySQLInnoDBDialect</hibernate.dialect>
|
||||
<hibernate.hbm2ddl.auto></hibernate.hbm2ddl.auto>
|
||||
</properties>
|
||||
<build>
|
||||
<plugins>
|
||||
@@ -110,12 +109,13 @@
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<properties>
|
||||
<!-- Change these properties to reflect your PostgreSQL connection settings -->
|
||||
<!-- Change these properties to reflect your PostgreSQL connection settings -->
|
||||
<jdbc.driverClassName>org.postgresql.Driver</jdbc.driverClassName>
|
||||
<jdbc.username>airline</jdbc.username>
|
||||
<jdbc.password>airline</jdbc.password>
|
||||
<jdbc.url>jdbc:postgresql://localhost/airline</jdbc.url>
|
||||
<hibernate.dialect>org.hibernate.dialect.PostgreSQLDialect</hibernate.dialect>
|
||||
<hibernate.hbm2ddl.auto></hibernate.hbm2ddl.auto>
|
||||
</properties>
|
||||
<build>
|
||||
<plugins>
|
||||
@@ -144,6 +144,16 @@
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
<properties>
|
||||
<!-- These properties are overriden by the profiles defined above.
|
||||
The following values are for using an in-memory database, which is used for testing -->
|
||||
<jdbc.driverClassName>org.hsqldb.jdbcDriver</jdbc.driverClassName>
|
||||
<jdbc.username>sa</jdbc.username>
|
||||
<jdbc.password></jdbc.password>
|
||||
<jdbc.url>jdbc:hsqldb:mem:airline</jdbc.url>
|
||||
<hibernate.dialect>org.hibernate.dialect.HSQLDialect</hibernate.dialect>
|
||||
<hibernate.hbm2ddl.auto>create-drop</hibernate.hbm2ddl.auto>
|
||||
</properties>
|
||||
<build>
|
||||
<resources>
|
||||
<resource>
|
||||
@@ -313,4 +323,4 @@
|
||||
<version>0.8</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
</project>
|
||||
|
||||
Reference in New Issue
Block a user