본문 바로가기

DB&Hibernate

Jena SDB mysql, MariaDB ttl 설정 파일

반응형

# Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0


@prefix sdb:     <http://jena.hpl.hp.com/2007/sdb#> .

@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

@prefix ja:      <http://jena.hpl.hp.com/2005/11/Assembler#> .


# MySQL - InnoDB


<#store> rdf:type sdb:Store ;

    sdb:layout     "layout2" ;

    sdb:connection <#conn> ;

    sdb:engine     "InnoDB" ;      # MySQL specific

.


<#conn> rdf:type sdb:SDBConnection ;

    sdb:sdbType       "mariadb" ;    # Needed for JDBC URL

    sdb:sdbHost       "localhost" ;

    sdb:sdbName       "testrioplestore" ;

    sdb:driver        "org.mariadb.jdbc.Driver" ;

    .