Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding module db-mssql for Microsoft SQL Server #46

Merged
merged 1 commit into from
Mar 17, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions libraries.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ ext {
jdbcH2: 'com.h2database:h2:1.4.189',
jdbcMysql: 'mysql:mysql-connector-java:5.1.36',
jdbcPostgresql: 'org.postgresql:postgresql:9.4-1202-jdbc42',
jdbcMssql: 'com.microsoft.sqlserver:mssql-jdbc:6.1.0.jre8',

//Freemarker
freemarker: 'org.freemarker:freemarker:[2.3.20,2.4)',
Expand Down
6 changes: 6 additions & 0 deletions modules/db-mssql/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
description = 'jPOS-EE :: PostgreSQL support'

dependencies {
compile project(':modules:dbsupport')
compile libraries.jdbcMssql
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#
# jPOS Project [http://jpos.org]
# Copyright (C) 2000-2017 jPOS Software SRL
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#

hibernate.connection.username=sa
hibernate.connection.password=password
# hibernate.hbm2ddl.auto=validate
#
hibernate.connection.url=jdbc:sqlserver://localhost:1433;databaseName=jposee
hibernate.connection.driver_class=com.microsoft.sqlserver.jdbc.SQLServerDriver
hibernate.dialect=org.hibernate.dialect.SQLServerDialect
#