일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- html
- Java
- rinux
- 라우터
- 정처기필기
- 버추얼머신
- 참조타입
- Cisco
- 이것이 자바다
- jsp
- 데이터베이스
- w3school
- VLAN
- 원형그래프
- cisco packet
- NCS
- javaee
- ospf
- Oracle
- ciscopacket
- jsp연결
- 오라클
- autoset
- php
- 네트워크관리사
- 리눅스
- sql
- 자바
- 네트워크
- 정보처리기사
- Today
- Total
목록전체 글 (282)
기록해! 정리해!
public https://repo1.maven.org/maven2/ com.oracle.database.jdbc ojdbc8 19.7.0.0
BoardDao package com.springbook.biz.board; import java.util.List; public interface BoardDao { void insert(BoardVO vo); List select(); void delete(int seq); BoardVO edit(int seq); } BoardService package com.springbook.biz.board; import java.util.List; public interface BoardService { void insert(BoardVO vo); List select(); void delete(int seq); BoardVO edit(int seq); } BoardInsertClient package co..
package com.springbook.biz.common; import java.sql.*; public class JDBCUtil { Connection con = null; PreparedStatement stmt = null; ResultSet rs = null; String url = "jdbc:h2:tcp://localhost/./test"; String userId = "sa"; String pass = "1234"; private static JDBCUtil db = new JDBCUtil(); private JDBCUtil() { } public static JDBCUtil getInstance() { return db; } public Connection getConnection() ..
SQL create table board ( SEQ number(5) primary key, TITLE varchar2(200), WRITER varchar2(20), CONTENT varchar2(2000), REGDATE DATE default '2022-08-24' , 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 ; package..
package polymorphism; import org.springframework.context.support.AbstractApplicationContext; import org.springframework.context.support.GenericXmlApplicationContext; public class TVUser { public static void main(String[] args) { AbstractApplicationContext factory = new GenericXmlApplicationContext("applicationContext.xml"); TV tv=(TV)factory.getBean("SamSungTV"); // SamSungTV , LgTV tv.powerOn()..