하루하나
close
프로필 배경
프로필 로고

하루하나

  • ALL (217)
    • 쿠베플로우 kubeflow (1)
    • React Native (1)
      • Expo (1)
    • Programming (187)
      • spring+jwt+react (4)
      • wordpress (3)
      • Vultr (1)
      • Flutter (3)
      • Vue-project (1)
      • Vue-tip (17)
      • AngularJS (12)
      • Bootstrap (2)
      • Book (1)
      • CentOS (5)
      • Code (0)
      • Css (13)
      • Docker (7)
      • Eclipse (1)
      • Freemarker (1)
      • Git (9)
      • Front-End (6)
      • Error (7)
      • Gulp.js (0)
      • Java (12)
      • Python (5)
      • Javascript (19)
      • JPA (5)
      • jQuery (2)
      • Mac (6)
      • MySql (4)
      • Springboot (21)
      • Springboot-blog (0)
      • Daily (1)
      • Springboot-tip (3)
      • Spring (1)
      • Thymeleaf (1)
      • Tomcat (1)
      • Typescript (3)
      • Tool (5)
      • Sql (1)
      • prisma (1)
      • react (1)
    • Life (14)
      • Review (0)
      • Tip (3)
      • 리뷰 (8)
      • 부동산 (2)
  • 홈
  • 태그
  • 미디어로그
  • 위치로그
  • 방명록

ng-file-upload multiple file upload / spring controller

ng-file-upload 라이브러리를 이용해서 파일을 여러개와 다른 컨텐츠들을 보내고 싶을때, 1cs html에 ngf-select를 선언해서 파일을 특정 변수에 담는다. 12345var vm = this; vm.onFileSelect2 = function($files){ vm.file = $files;}Colored by Color Scriptercs ajax 부분에서 arrayKey에 '' 값을 선언해 준다. 12345678910111213 vm.dataFrm = { name:'test', age:10 } Upload.upload({ url: 'fileupload url', fields: vm.dataFrm, // send variable file: vm.file, arrayKey: '' //

  • format_list_bulleted Programming/AngularJS
  • · 2017. 7. 3.
  • textsms

[springboot] mybatis-multiple-datasource / db 여러개 사용

- GoalSpringBoot에서 mybatis에 DB를 여러개 사용하기 위한 설정 - Time30min - Enviromentjava 1.8, springboot 1.5.2 - Tutorial개발을 하다보면 데이터베이스를 여러개 운영 해야하는 경우가 생긴다. mybatis를 이용할 경우 설정하는 방법인데, 결론적으로는 마음에 들진 않는다. JPA로 설정하는법은 아래 포스팅을 참고2017/03/24 - [Springboot] - [springboot] jpa multiple datasource 우선 기본적으로 application.properties에 DB정보를 작성한다. 편의를 위해 DB는 H2를 사용한다. # DB1spring.db1.datasource.driverClassName=org.h2.Dri..

  • format_list_bulleted Programming/Springboot
  • · 2017. 3. 29.
  • textsms
[springboot] jpa multiple datasource

[springboot] jpa multiple datasource

- GoalJPA를 사용할 때 여러 데이터베이스에 접속해야 하는 경우 필요한 설정 - Time15min - Enviromentspringboot 1.5, java 1.8, STS3.7, maven - Tutorial핵심은 JPA repository를 관리하는 설정을 필요한 데이터베이스 수만큼 생성해 놓고 사용한다. 자세한 소스는 아래 github에서 확인 할 수 있다. https://github.com/beans9/springboot-jpa-multiple-datasource application에 alpha에 url과 beta에 url을 따로 설정해 놓는다. (편의상 데이터베이스는 H2를 사용한다.) application.propertiesjdbc.driverClassName=org.h2.Driver ..

  • format_list_bulleted Programming/Springboot
  • · 2017. 3. 24.
  • textsms
  • navigate_before
  • 1
  • navigate_next
반응형
공지사항
전체 카테고리
  • ALL (217)
    • 쿠베플로우 kubeflow (1)
    • React Native (1)
      • Expo (1)
    • Programming (187)
      • spring+jwt+react (4)
      • wordpress (3)
      • Vultr (1)
      • Flutter (3)
      • Vue-project (1)
      • Vue-tip (17)
      • AngularJS (12)
      • Bootstrap (2)
      • Book (1)
      • CentOS (5)
      • Code (0)
      • Css (13)
      • Docker (7)
      • Eclipse (1)
      • Freemarker (1)
      • Git (9)
      • Front-End (6)
      • Error (7)
      • Gulp.js (0)
      • Java (12)
      • Python (5)
      • Javascript (19)
      • JPA (5)
      • jQuery (2)
      • Mac (6)
      • MySql (4)
      • Springboot (21)
      • Springboot-blog (0)
      • Daily (1)
      • Springboot-tip (3)
      • Spring (1)
      • Thymeleaf (1)
      • Tomcat (1)
      • Typescript (3)
      • Tool (5)
      • Sql (1)
      • prisma (1)
      • react (1)
    • Life (14)
      • Review (0)
      • Tip (3)
      • 리뷰 (8)
      • 부동산 (2)
최근 글
인기 글
최근 댓글
태그
  • #sts
  • #Vue
  • #css
  • #springboot
  • #MySQL
  • #JPA
  • #AngularJS
  • #javascript
  • #error
  • #GIT
전체 방문자
오늘
어제
전체
Copyright © 쭈미로운 생활 All rights reserved.
Designed by JJuum

티스토리툴바