링크: http://www.journaldev.com/2980/hibernate-ehcache-second-level-caching-example-tutorial

posted by 뚱2

링크: http://ehcache.org/documentation/2.8/integrations/hibernate

'Java > ehcache' 카테고리의 다른 글

[ehcache] Springframework에 Ehcache 적용하기  (0) 2014.06.01
[ehcache] EHCache를 이용한 캐시 구현  (0) 2014.03.18
posted by 뚱2

링크: http://docs.jboss.org/hibernate/core/4.3/manual/en-US/html/ch03.html#configuration-logging 



When developing applications with Hibernate, you should almost always work with debug enabled for the category org.hibernate.SQL, or, alternatively, the property hibernate.show_sql enabled.

posted by 뚱2

[JPA] @TableGenerator

Java/Hibernate / JPA 2014. 6. 23. 11:25

링크: http://wiki.eclipse.org/EclipseLink/UserGuide/JPA/Basic_JPA_Development/Entities/Ids/TableGenerator

왜? @TableGenerator를 사용해야 하는가? : http://kkamdung.tistory.com/74


테이블 (MySQL)

CREATE TABLE `TB_SEQUENCE` (

  `SEQ_NAME` varchar(255) NOT NULL COMMENT '시퀀스 이름',

  `SEQ_COUNT` bigint(20) DEFAULT NULL COMMENT '시퀀스 카운트',

  PRIMARY KEY (`SEQ_NAME`)

) ENGINE=InnoDB DEFAULT CHARSET=utf8;


Java Entity (Hbernate)

...

@Id

@TableGenerator(

        name = "TEST_SEQ",

        table = "TB_SEQUENCE",

        pkColumnName = "SEQ_NAME",

        valueColumnName = "SEQ_COUNT",

        pkColumnValue = "TEST_SEQ",

        initialValue = 0,

        allocationSize = 1

)

@GeneratedValue(strategy = GenerationType.TABLE, generator = "TEST_SEQ")

@Column(name = "ID", length = 11)

private Integer id;

...


posted by 뚱2

링크: http://ehcache.org/documentation/integrations/hibernate

'Java > Hibernate / JPA' 카테고리의 다른 글

[Hibernate] Configuration-Logging  (0) 2014.08.08
[JPA] @TableGenerator  (0) 2014.06.23
[Hibernate] Hibernate Performance Optimization  (0) 2014.05.27
[Hibernate] Hibernate Tutorial Site  (0) 2014.05.25
[Hibernate] Hibernate Query Language  (0) 2014.05.22
posted by 뚱2

Part1: http://www.e-zest.net/blog/hibernate-performance-optimization-part-1/

Part2: http://www.e-zest.net/blog/hibernate-performance-optimization-part-2/

'Java > Hibernate / JPA' 카테고리의 다른 글

[JPA] @TableGenerator  (0) 2014.06.23
[Hibernate] hibernate-ehcache  (0) 2014.06.11
[Hibernate] Hibernate Tutorial Site  (0) 2014.05.25
[Hibernate] Hibernate Query Language  (0) 2014.05.22
[Hibernate] StandardBasicType (4.3.5.Final)  (0) 2014.04.22
posted by 뚱2

링크: http://www.tutorialspoint.com/hibernate/index.htm

posted by 뚱2

링크: https://docs.jboss.org/hibernate/orm/3.3/reference/ko-KR/html/queryhql.html

posted by 뚱2

링크: http://docs.jboss.org/hibernate/orm/4.3/manual/en-US/html/

posted by 뚱2

링크: http://vinaytechs.blogspot.kr/2010/03/hibernate-performance-tuning.html

posted by 뚱2

링크: http://ehcache.org/documentation/integrations/hibernate

링크: https://docs.jboss.org/hibernate/core/4.3/devguide/en-US/html/ch06.html

posted by 뚱2

링크 : http://docs.jboss.org/hibernate/orm/4.3/manual/en-US/html/

posted by 뚱2

링크 : http://docs.jboss.org/hibernate/orm/4.2/manual/en-US/html/

posted by 뚱2

링크 : http://docs.jboss.org/ejb3/app-server/HibernateAnnotations/reference/en/html_single/index.html

posted by 뚱2

링크 : http://javacan.tistory.com/95

 

 

posted by 뚱2

링크 : http://entworks.tistory.com/category/%EC%97%94%ED%84%B0%ED%94%84%EB%9D%BC%EC%9D%B4%EC%A6%88%20%EC%9E%90%EB%B0%94/Persistence 

'Java > Hibernate / JPA' 카테고리의 다른 글

[Hibernate] Hibernate Annotations  (0) 2013.12.13
[Hibernate] Hibernate 설명  (0) 2013.10.25
[Hibernate] Hibernate Manual  (0) 2013.10.11
[Hibernate] Import sql  (0) 2013.08.20
[Hibernate] Hibernate3 일대다 관계의 객체 저장  (0) 2013.08.15
posted by 뚱2

링크 :http://ldg.pe.kr/framework_reference/hibernate/ver3.1/html/index.html

링크 : http://dev.anyframejava.org/anyframe/doc/core/3.1.0/corefw/guide/hibernate-introduction.html

 

 

 

posted by 뚱2

[Hibernate] Import sql

Java/Hibernate / JPA 2013. 8. 20. 10:12

링크 : http://www.jroller.com/eyallupu/entry/hibernate_s_hbm2ddl_tool

 

 

posted by 뚱2

링크 : http://homo-ware.tistory.com/9

'Java > Hibernate / JPA' 카테고리의 다른 글

[Hibernate] Hibernate Manual  (0) 2013.10.11
[Hibernate] Import sql  (0) 2013.08.20
[Hibernate] Hibernate Documents  (0) 2013.08.13
[Hibernate] 예제  (0) 2013.07.18
[Hibernate] Configuration  (0) 2013.07.18
posted by 뚱2

[Hibernate] 예제

Java/Hibernate / JPA 2013. 7. 18. 16:20

링크 : http://blog.naver.com/dodo7777?Redirect=Log&logNo=90030263726

 

'Java > Hibernate / JPA' 카테고리의 다른 글

[Hibernate] Hibernate Manual  (0) 2013.10.11
[Hibernate] Import sql  (0) 2013.08.20
[Hibernate] Hibernate3 일대다 관계의 객체 저장  (0) 2013.08.15
[Hibernate] Hibernate Documents  (0) 2013.08.13
[Hibernate] Configuration  (0) 2013.07.18
posted by 뚱2

링크 : http://docs.jboss.org/hibernate/orm/3.3/reference/en/html/session-configuration.html 

 

 

'Java > Hibernate / JPA' 카테고리의 다른 글

[Hibernate] Hibernate Manual  (0) 2013.10.11
[Hibernate] Import sql  (0) 2013.08.20
[Hibernate] Hibernate3 일대다 관계의 객체 저장  (0) 2013.08.15
[Hibernate] Hibernate Documents  (0) 2013.08.13
[Hibernate] 예제  (0) 2013.07.18
posted by 뚱2