1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/java/sql-dk/src/info/globalcode/sql/dk/DatabaseConnection.java Sat Dec 21 22:18:07 2013 +0100
1.3 @@ -0,0 +1,33 @@
1.4 +/**
1.5 + * SQL-DK
1.6 + * Copyright © 2013 František Kučera (frantovo.cz)
1.7 + *
1.8 + * This program is free software: you can redistribute it and/or modify
1.9 + * it under the terms of the GNU General Public License as published by
1.10 + * the Free Software Foundation, either version 3 of the License, or
1.11 + * (at your option) any later version.
1.12 + *
1.13 + * This program is distributed in the hope that it will be useful,
1.14 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1.15 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1.16 + * GNU General Public License for more details.
1.17 + *
1.18 + * You should have received a copy of the GNU General Public License
1.19 + * along with this program. If not, see <http://www.gnu.org/licenses/>.
1.20 + */
1.21 +package info.globalcode.sql.dk;
1.22 +
1.23 +import info.globalcode.sql.dk.configuration.DatabaseDefinition;
1.24 +
1.25 +/**
1.26 + *
1.27 + * @author Ing. František Kučera (frantovo.cz)
1.28 + */
1.29 +public class DatabaseConnection {
1.30 +
1.31 + private DatabaseDefinition databaseDefinition;
1.32 +
1.33 + public DatabaseConnection(DatabaseDefinition databaseDefinition) {
1.34 + this.databaseDefinition = databaseDefinition;
1.35 + }
1.36 +}
2.1 --- a/java/sql-dk/src/info/globalcode/sql/dk/configuration/DatabaseConnection.java Sat Dec 21 20:38:50 2013 +0100
2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
2.3 @@ -1,31 +0,0 @@
2.4 -/**
2.5 - * SQL-DK
2.6 - * Copyright © 2013 František Kučera (frantovo.cz)
2.7 - *
2.8 - * This program is free software: you can redistribute it and/or modify
2.9 - * it under the terms of the GNU General Public License as published by
2.10 - * the Free Software Foundation, either version 3 of the License, or
2.11 - * (at your option) any later version.
2.12 - *
2.13 - * This program is distributed in the hope that it will be useful,
2.14 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
2.15 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2.16 - * GNU General Public License for more details.
2.17 - *
2.18 - * You should have received a copy of the GNU General Public License
2.19 - * along with this program. If not, see <http://www.gnu.org/licenses/>.
2.20 - */
2.21 -package info.globalcode.sql.dk.configuration;
2.22 -
2.23 -/**
2.24 - *
2.25 - * @author Ing. František Kučera (frantovo.cz)
2.26 - */
2.27 -public class DatabaseConnection {
2.28 -
2.29 - private DatabaseDefinition databaseDefinition;
2.30 -
2.31 - public DatabaseConnection(DatabaseDefinition databaseDefinition) {
2.32 - this.databaseDefinition = databaseDefinition;
2.33 - }
2.34 -}
3.1 --- a/java/sql-dk/src/info/globalcode/sql/dk/configuration/DatabaseDefinition.java Sat Dec 21 20:38:50 2013 +0100
3.2 +++ b/java/sql-dk/src/info/globalcode/sql/dk/configuration/DatabaseDefinition.java Sat Dec 21 22:18:07 2013 +0100
3.3 @@ -17,6 +17,7 @@
3.4 */
3.5 package info.globalcode.sql.dk.configuration;
3.6
3.7 +import info.globalcode.sql.dk.DatabaseConnection;
3.8 import javax.xml.bind.annotation.XmlElement;
3.9 import javax.xml.bind.annotation.XmlTransient;
3.10