본문 바로가기

2017/12

Jena SDB mysql, MariaDB ttl 설정 파일 # Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0 @prefix sdb: .@prefix rdfs: .@prefix rdf: .@prefix ja: . # MySQL - InnoDB rdf:type sdb:Store ; sdb:layout "layout2" ; sdb:connection ; sdb:engine "InnoDB" ; # MySQL specific. rdf:type sdb:SDBConnection ; sdb:sdbType "mariadb" ; # Needed for JDBC URL sdb:sdbHost "localhost" ; sdb:sdbName "testrioplestore" ; sdb:driver "org.m.. 더보기
SDB table DDL 스키마 쿼리(Mysql, Mariadb 용) 1) Nodes table 생성 쿼리 CREATE TABLE `nodes` ( `hash` bigint(20) NOT NULL, `lex` text DEFAULT NULL, `lang` varchar(10) DEFAULT NULL, `datatype` varchar(200) DEFAULT NULL, `type` int(11) DEFAULT NULL, PRIMARY KEY (`hash`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Nodes table for jena sdb' 2) Nodes table 생성 쿼리 CREATE TABLE `prefixes` ( `prefix` varchar(50) NOT NULL, `uri` varchar(500) DEFAULT NUL.. 더보기
virtualbox NtCreateFIle 에러 처리 방법 C:\Program Files\Oracle\VirtualBox\drivers\vboxdrv 에 있는 VBoxDrv.inf 우클릭 -> 설치 ->컴퓨터 재부팅 하면 된다. 더보기
SWT widget, TreeItem 상속 받아 나만의 클래스 만들때 주의사항 SWT widget, TreeItem 상속 받아 나만의 클래스 만들때 주의사항!!! SWT에서 제공하는 위젯을 나만의 custom 클래스로 만들고 싶을떄 주의사항은 다음과 같다!checkSubclass 함수를 선언하고 super 호출 안되게 해야된다.!!아휴ㅠㅠㅠ @Override protected void checkSubclass() { // TODO Auto-generated method stub //super.checkSubclass(); } 더보기
Hibernate에서 sql error 1064 sqlstate 42000 나는 경우... 먼저 SQL문이 제대로 되어있는지 확인해 보자수행되는 Query문이 제대로 찍히는지 보자 cfg.xml에 다음과 같이 추가를 하고 돌려보자. true 나의 경우 자세히 보니......cfg.xml 파일에 jdbc:mariadb://localhost:3306/test 와 같이 catalog 선언되어있고클래스의 어노테이션에도 @Entity@Table(name = "클래스", catalog="test" ) 가 중복으로 선언되어 실제 Query 할떄 SELECT myID, myName FROM test.test 로 쿼리가 수행되기 때문이였다. 그래서 난 어노테이션에서 catalog 를 제거했다. 끝! 더보기
2017.12 초대장 배포 합니다.(마감) 댓글 달아주세요~ 마감됐어요 더보기
XSLT2.0 namespace 설정법 http://www.itnhappy.tisotry.com/myBase http://www.w3.org/2001/XMLSchema# http://www.w3.org/1999/02/22-rdf-syntax-ns# http://www.w3.org/2000/01/rdf-schema# .. 더보기

반응형