Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
Tags
- 이것이 자바다
- NCS
- 라우터
- Cisco
- cisco packet
- 리눅스
- php
- html
- 네트워크관리사
- 정처기필기
- 자바
- rinux
- sql
- 정보처리기사
- 원형그래프
- ospf
- ciscopacket
- 데이터베이스
- Oracle
- jsp연결
- 참조타입
- w3school
- jsp
- VLAN
- Java
- 네트워크
- 오라클
- 버추얼머신
- autoset
- javaee
Archives
- Today
- Total
기록해! 정리해!
비즈니스 컴포넌트 실습 I (복습) - pom.xml / 테이블 본문
[ log4j2.xml ]
<?xml version="1.0" encoding="UTF-8"?>
<Configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<!-- Appenders -->
<appender >
<Console name="console" target="SYSTEM_OUT" >
<PatternLayout pattern="%-5p: %c - %m%n" />
</Console>
</appender>
<!-- Loggers -->
<logger name="org.springframework" level="DEBUG" additivity="false">
<AppenderRef ref="console" />
</logger>
</Configuration>
====================================================================
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
https://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.springbook</groupId>
<artifactId>biz</artifactId>
<name>BoardWeb</name>
<packaging>war</packaging>
<version>1.0.0-BUILD-SNAPSHOT</version>
<properties>
<java-version>1.11</java-version>
<org.springframework-version>5.3.9</org.springframework-version>
<org.aspectj-version>1.6.10</org.aspectj-version>
<org.slf4j-version>1.6.6</org.slf4j-version>
</properties>
<dependencies>
<!-- Spring -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${org.springframework-version}</version>
<exclusions>
<!-- Exclude Commons Logging in favor of SLF4j -->
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>${org.springframework-version}</version>
</dependency>
<!-- AspectJ -->
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjrt</artifactId>
<version>${org.aspectj-version}</version>
</dependency>
<!-- Logging -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${org.slf4j-version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>${org.slf4j-version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>${org.slf4j-version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.12.1</version>
<exclusions>
<exclusion>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
</exclusion>
<exclusion>
<groupId>javax.jms</groupId>
<artifactId>jms</artifactId>
</exclusion>
<exclusion>
<groupId>com.sun.jdmk</groupId>
<artifactId>jmxtools</artifactId>
</exclusion>
<exclusion>
<groupId>com.sun.jmx</groupId>
<artifactId>jmxri</artifactId>
</exclusion>
</exclusions>
<scope>runtime</scope>
</dependency>
테이블 만들기
drop table board;
create table board (
SEQ number(5) primary key,
TITLE varchar2(200),
WRITER varchar2(20),
CONTENT varchar2(2000),
REGDATE DATE default '2022-08-29' ,
CNT number(5) default 0
);
insert into board (seq, title, writer, content)
values(1, '가입인사', '관리자', '잘 부탁드립니다....');
insert into board (seq, title, writer, content)
values(2, '시헙중입니다. ', '관리자', '스프링 시험중입니다...!!!');
select * from board ;
'Spring' 카테고리의 다른 글
비즈니스 컴포넌트 실습 I (복습) - 데이터베이스 드라이버 , JDBCUtil, applicationContext.xml (1) | 2022.09.21 |
---|---|
비즈니스 컴포넌트 실습 I (복습) - VO 만들기 (1) | 2022.09.21 |
카카오 API 지도 - 마크와텍스트 / 선으로 거리계산 / 여러개의마커제어 (0) | 2022.09.20 |
오라클 드라이버 사용하기 (0) | 2022.09.20 |
비즈니스 컴포넌트 실습 1 - Board 코드 (0) | 2022.09.20 |
Comments