사용자 도구

사이트 도구


java:hibernate:mssqlserver

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
다음 판 양쪽 다음 판
java:hibernate:mssqlserver [2018/05/24 17:42]
kwon37xi
java:hibernate:mssqlserver [2018/05/24 17:54]
kwon37xi [NVARCHAR Dialect 매핑]
줄 8: 줄 8:
   * [[https://stackoverflow.com/questions/27039300/jpa-sql-server-no-dialect-mapping-for-jdbc-type-9|java - JPA SQL Server No Dialect mapping for JDBC type: -9]]   * [[https://stackoverflow.com/questions/27039300/jpa-sql-server-no-dialect-mapping-for-jdbc-type-9|java - JPA SQL Server No Dialect mapping for JDBC type: -9]]
   * [[https://questionfocus.com/getting-hibernate-and-sql-server-to-play-nice-with-varchar-and-nvarchar.html|Getting Hibernate and SQL Server to play nice with VARCHAR and NVARCHAR - QuestionFocus]]   * [[https://questionfocus.com/getting-hibernate-and-sql-server-to-play-nice-with-varchar-and-nvarchar.html|Getting Hibernate and SQL Server to play nice with VARCHAR and NVARCHAR - QuestionFocus]]
 +  * [[https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/main/java/org/hibernate/dialect/SQLServer2008Dialect.java|SQLServer2008Dialect]]에서 NVARCHAR ''registerColumnType'' 돼 있음
 +
 <code java> <code java>
 package com.nhl.dao; package com.nhl.dao;
줄 27: 줄 29:
 </code> </code>
   * ''registerHibernateType''은 [[java:hibernate:dialect|Hibernate Dialect]] 참조   * ''registerHibernateType''은 [[java:hibernate:dialect|Hibernate Dialect]] 참조
 +  * ''@org.hibernate.annotations.Nationalized'' 애노테이션을 통해 ''NVARCHAR'' 로 Entity Column 매핑을 할 수 있다.
java/hibernate/mssqlserver.txt · 마지막으로 수정됨: 2018/09/10 13:44 저자 kwon37xi