Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nkons committed Jul 1, 2014
1 parent b077a6c commit 8936386
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 17 deletions.
19 changes: 9 additions & 10 deletions r2rml.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#---------------------------------------------------------------#
#-------------------- General configuration --------------------#
#---------------------------------------------------------------#

mapping.file=dspace/epersons-mapping.rdf

# Valid types are RDF/XML, N-TRIPLE, TURTLE, TTL, N3.
Expand All @@ -22,6 +23,7 @@ default.incremental=false
#---------------------------------------------------------------#
#------------------------- Input Model -------------------------#
#---------------------------------------------------------------#

input.model=dspace/dcterms-empty.rdf

# Valid types are RDF/XML, N-TRIPLE, TURTLE, TTL, N3.
Expand All @@ -31,27 +33,24 @@ input.model.type=RDF/XML
#---------------------------------------------------------------#
#-------------------- Database connectivity --------------------#
#---------------------------------------------------------------#

# Mysql example
#db.host=127.0.0.1
#db.port=3306
#db.name=sakila
#db.url=jdbc:mysql://127.0.0.1:3306/sakila
#db.login=root
#db.password=1234
#db.driver=com.mysql.jdbc.Driver

# Postgresql example
db.host=localhost
db.port=5432
db.name=dspace1
db.url=jdbc:postgresql://localhost:5432/dspace1
db.login=postgres
db.password=postgres
db.driver=org.postgresql.Driver

# Oracle example
db.url=jdbc:oracle:thin:@127.0.0.1:1521
db.login=system
db.password=dba
db.driver=oracle.jdbc.driver.OracleDriver
#db.url=jdbc:oracle:thin:@127.0.0.1:1521
#db.login=system
#db.password=dba
#db.driver=oracle.jdbc.driver.OracleDriver

#---------------------------------------------------------------#
#---------------------- Jena TDB Output -----------------------#
Expand Down
22 changes: 15 additions & 7 deletions src/main/java/gr/seab/r2rml/entities/DatabaseType.java
Original file line number Diff line number Diff line change
@@ -1,22 +1,30 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
/**
* Licensed under the Creative Commons Attribution-NonCommercial 3.0 Unported
* License (the "License"). You may not use this file except in compliance with
* the License. You may obtain a copy of the License at:
*
* http://creativecommons.org/licenses/by-nc/3.0/
*
* Unless required by applicable law or agreed to in writing, software distributed
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied.
*/

package gr.seab.r2rml.entities;

/**
*
* Source database types
* @author nkons
*
*/
public enum DatabaseType {
MYSQL,
MYSQL,

POSTGRESQL,

ORACLE,

OTHER;

}

0 comments on commit 8936386

Please sign in to comment.