Whiteship
  • Home
  • 인프런 강의
  • Java
  • Spring
  • JPA
  • SDE Tips
Subscribe

어플리케이션

A collection of 1 post
Hibernate & Spring 사용 예

1-5. 모델 사용하기

앞에서 만든 모델을 사용하는 간단한 어플리케이션을 만들기 위해 src밑에 app라는 패키지를 만들고 그안에 PizzaApp 클래스를 만듭니다. package app; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.Transaction; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; public class PizzaApp { public static void main(String[] args)
Dec 27, 2006 — 3 min read
Whiteship © 2022
Powered by Ghost