0305勉強

Quick Setup

As you may already know, to use MyBatis with Spring you need at least an SqlSessionFactory and at least one mapper interface.

MyBatis-Spring-Boot-Starter will:

  • Autodetect an existing DataSource
  • Will create and register an instance of a SqlSessionFactory passing that DataSource as an input using the SqlSessionFactoryBean
  • Will create and register an instance of a SqlSessionTemplate got out of the SqlSessionFactory
  • Auto-scan your mappers, link them to the SqlSessionTemplate and register them to Spring context so they can be injected into your beans

Spring Boot 最高!!!

 

f:id:mari20201101:20210305231511p:plain

 

三日間設定でくよくよしていたことがやっと解決!!

一番の解決策はreferenceをじっと読んでみること!

testをおろそかにしないこと!

0227勉強

ブログ完成。。。

コメントまで全部完成

1。会員登録

 1-1)重なるIDの検査システム

2.ログイン

3.filter

3-1)会員ではない人は書くことができないように

3-2)自分が書いたBoardだけ修正可能

4.BoardのCRUD

5.pagination

6.コメント(ajaxを利用)の作成・削除

7.画面構築

7-1)ログインした人だけ書くことが可能

7-2)自分のBoard・コメントだけ修正が可能

 

 

これからやりたいこと:セキュリティー管理。検索機能(mybatisで)

0215勉強

なんとなく、腑に落ちない。

歩くことを知らず、走ろうとしている。

Javascript / jQuery / ajaxについて勉強して、

spring legacyを勉強して、

spring bootを勉強しよう。

APIバンバン使ってコードを書いても、

基礎が分からないと。