적용한 프로젝트
https://github.com/hanghae99-MEALCHAK/MEALCHAK-server-application/
이전글에서 사용했던 join fetch는 나가는 쿼리문의 개수를 줄었으나 jpa 함수가 실행되질않았다
예를들어 checkvalid라는 컬럼에 불리언값을주고 해당값이 True인것만 반환해서 OrderTime이라는 항목으로 오름차순 정렬을 하려고했을때
findAllByCheckValidTrueOrderByOrderTimeAsc(); 라는 함수를써도
그냥 해당 테이블에 존재하는 모든 row가 id순서대로 내려올뿐이기에
결국 처음에 생각했던 querydsl을 사용하기로 했다
build.gradle에서 querydsl의 플러그인추가와 의존성 추가를 해준뒤 해당 config를 추가했다
QuerydslConfig
@Configuration
public class QuerydslConfig {
@PersistenceContext
private EntityManager entityManager;
@Bean
public JPAQueryFactory jpaQueryFactory(){
return new JPAQueryFactory(entityManager);
}
}
그리고 기존의 레포지토리를 삭제한뒤 PostQueryRepository를 만들었다
PostQueryRepository
import static com.mealchak.mealchakserverapplication.model.QPost.post;
@Repository
@RequiredArgsConstructor
public class PostQueryRepository {
private final JPAQueryFactory queryFactory;
public List<Post> findAllByCheckValidTrueOrderByOrderTimeAsc(){
return queryFactory.selectFrom(post)
.where(post.checkValid.eq(true))
.join(post.user)
.join(post.menu)
.join(post.chatRoom)
.fetchJoin()
.orderBy(post.orderTime.asc())
.fetch();
}
}
굳이 이름을 JPA때처럼 사용할필요는 없으나 팀원들의 코드일관성 유지를 위해 그대로 가기로 했다
처음에 .fetchJoin()을 빼먹었더니 전혀 쿼리문의 양이 줄지를 않길래찾아보니
.fetch();는 그냥 마지막에 값을 리턴해주는 비슷한녀석이고 fetchjoin을 따로써줘야한다고한다
querydsl 적용전 (row 약 30개)
Hibernate: select post0_.id as id1_6_, post0_.created_at as created_2_6_, post0_.modified_at as modified3_6_, post0_.room_id as room_id14_6_, post0_.check_deleted as check_de4_6_, post0_.check_valid as check_va5_6_, post0_.contents as contents6_6_, post0_.head_count as head_cou7_6_, post0_.address as address8_6_, post0_.latitude as latitude9_6_, post0_.longitude as longitu10_6_, post0_.menu_id as menu_id15_6_, post0_.order_time as order_t11_6_, post0_.restaurant as restaur12_6_, post0_.title as title13_6_, post0_.user_id as user_id16_6_ from post post0_ where post0_.check_valid=1 order by post0_.order_time asc
Hibernate: select chatroom0_.room_id as room_id1_3_0_, chatroom0_.created_at as created_2_3_0_, chatroom0_.modified_at as modified3_3_0_, chatroom0_.chat_valid as chat_val4_3_0_, chatroom0_.own_user_id as own_user5_3_0_, chatroom0_.uuid as uuid6_3_0_, post1_.id as id1_6_1_, post1_.created_at as created_2_6_1_, post1_.modified_at as modified3_6_1_, post1_.room_id as room_id14_6_1_, post1_.check_deleted as check_de4_6_1_, post1_.check_valid as check_va5_6_1_, post1_.contents as contents6_6_1_, post1_.head_count as head_cou7_6_1_, post1_.address as address8_6_1_, post1_.latitude as latitude9_6_1_, post1_.longitude as longitu10_6_1_, post1_.menu_id as menu_id15_6_1_, post1_.order_time as order_t11_6_1_, post1_.restaurant as restaur12_6_1_, post1_.title as title13_6_1_, post1_.user_id as user_id16_6_1_, menu2_.id as id1_5_2_, menu2_.category as category2_5_2_, menu2_.count as count3_5_2_, menu2_.img_url as img_url4_5_2_, user3_.id as id1_8_3_, user3_.created_at as created_2_8_3_, user3_.modified_at as modified3_8_3_, user3_.age as age4_8_3_, user3_.comment as comment5_8_3_, user3_.email as email6_8_3_, user3_.gender as gender7_8_3_, user3_.kakao_id as kakao_id8_8_3_, user3_.address as address9_8_3_, user3_.latitude as latitud10_8_3_, user3_.longitude as longitu11_8_3_, user3_.manner_score as manner_12_8_3_, user3_.password as passwor13_8_3_, user3_.profile_img as profile14_8_3_, user3_.username as usernam15_8_3_ from chat_room chatroom0_ left outer join post post1_ on chatroom0_.room_id=post1_.room_id left outer join menu menu2_ on post1_.menu_id=menu2_.id left outer join user user3_ on post1_.user_id=user3_.id where chatroom0_.room_id=?
Hibernate: select post0_.id as id1_6_3_, post0_.created_at as created_2_6_3_, post0_.modified_at as modified3_6_3_, post0_.room_id as room_id14_6_3_, post0_.check_deleted as check_de4_6_3_, post0_.check_valid as check_va5_6_3_, post0_.contents as contents6_6_3_, post0_.head_count as head_cou7_6_3_, post0_.address as address8_6_3_, post0_.latitude as latitude9_6_3_, post0_.longitude as longitu10_6_3_, post0_.menu_id as menu_id15_6_3_, post0_.order_time as order_t11_6_3_, post0_.restaurant as restaur12_6_3_, post0_.title as title13_6_3_, post0_.user_id as user_id16_6_3_, chatroom1_.room_id as room_id1_3_0_, chatroom1_.created_at as created_2_3_0_, chatroom1_.modified_at as modified3_3_0_, chatroom1_.chat_valid as chat_val4_3_0_, chatroom1_.own_user_id as own_user5_3_0_, chatroom1_.uuid as uuid6_3_0_, menu2_.id as id1_5_1_, menu2_.category as category2_5_1_, menu2_.count as count3_5_1_, menu2_.img_url as img_url4_5_1_, user3_.id as id1_8_2_, user3_.created_at as created_2_8_2_, user3_.modified_at as modified3_8_2_, user3_.age as age4_8_2_, user3_.comment as comment5_8_2_, user3_.email as email6_8_2_, user3_.gender as gender7_8_2_, user3_.kakao_id as kakao_id8_8_2_, user3_.address as address9_8_2_, user3_.latitude as latitud10_8_2_, user3_.longitude as longitu11_8_2_, user3_.manner_score as manner_12_8_2_, user3_.password as passwor13_8_2_, user3_.profile_img as profile14_8_2_, user3_.username as usernam15_8_2_ from post post0_ left outer join chat_room chatroom1_ on post0_.room_id=chatroom1_.room_id left outer join menu menu2_ on post0_.menu_id=menu2_.id left outer join user user3_ on post0_.user_id=user3_.id where post0_.room_id=?
Hibernate: select chatroom0_.room_id as room_id1_3_0_, chatroom0_.created_at as created_2_3_0_, chatroom0_.modified_at as modified3_3_0_, chatroom0_.chat_valid as chat_val4_3_0_, chatroom0_.own_user_id as own_user5_3_0_, chatroom0_.uuid as uuid6_3_0_, post1_.id as id1_6_1_, post1_.created_at as created_2_6_1_, post1_.modified_at as modified3_6_1_, post1_.room_id as room_id14_6_1_, post1_.check_deleted as check_de4_6_1_, post1_.check_valid as check_va5_6_1_, post1_.contents as contents6_6_1_, post1_.head_count as head_cou7_6_1_, post1_.address as address8_6_1_, post1_.latitude as latitude9_6_1_, post1_.longitude as longitu10_6_1_, post1_.menu_id as menu_id15_6_1_, post1_.order_time as order_t11_6_1_, post1_.restaurant as restaur12_6_1_, post1_.title as title13_6_1_, post1_.user_id as user_id16_6_1_, menu2_.id as id1_5_2_, menu2_.category as category2_5_2_, menu2_.count as count3_5_2_, menu2_.img_url as img_url4_5_2_, user3_.id as id1_8_3_, user3_.created_at as created_2_8_3_, user3_.modified_at as modified3_8_3_, user3_.age as age4_8_3_, user3_.comment as comment5_8_3_, user3_.email as email6_8_3_, user3_.gender as gender7_8_3_, user3_.kakao_id as kakao_id8_8_3_, user3_.address as address9_8_3_, user3_.latitude as latitud10_8_3_, user3_.longitude as longitu11_8_3_, user3_.manner_score as manner_12_8_3_, user3_.password as passwor13_8_3_, user3_.profile_img as profile14_8_3_, user3_.username as usernam15_8_3_ from chat_room chatroom0_ left outer join post post1_ on chatroom0_.room_id=post1_.room_id left outer join menu menu2_ on post1_.menu_id=menu2_.id left outer join user user3_ on post1_.user_id=user3_.id where chatroom0_.room_id=?
Hibernate: select post0_.id as id1_6_3_, post0_.created_at as created_2_6_3_, post0_.modified_at as modified3_6_3_, post0_.room_id as room_id14_6_3_, post0_.check_deleted as check_de4_6_3_, post0_.check_valid as check_va5_6_3_, post0_.contents as contents6_6_3_, post0_.head_count as head_cou7_6_3_, post0_.address as address8_6_3_, post0_.latitude as latitude9_6_3_, post0_.longitude as longitu10_6_3_, post0_.menu_id as menu_id15_6_3_, post0_.order_time as order_t11_6_3_, post0_.restaurant as restaur12_6_3_, post0_.title as title13_6_3_, post0_.user_id as user_id16_6_3_, chatroom1_.room_id as room_id1_3_0_, chatroom1_.created_at as created_2_3_0_, chatroom1_.modified_at as modified3_3_0_, chatroom1_.chat_valid as chat_val4_3_0_, chatroom1_.own_user_id as own_user5_3_0_, chatroom1_.uuid as uuid6_3_0_, menu2_.id as id1_5_1_, menu2_.category as category2_5_1_, menu2_.count as count3_5_1_, menu2_.img_url as img_url4_5_1_, user3_.id as id1_8_2_, user3_.created_at as created_2_8_2_, user3_.modified_at as modified3_8_2_, user3_.age as age4_8_2_, user3_.comment as comment5_8_2_, user3_.email as email6_8_2_, user3_.gender as gender7_8_2_, user3_.kakao_id as kakao_id8_8_2_, user3_.address as address9_8_2_, user3_.latitude as latitud10_8_2_, user3_.longitude as longitu11_8_2_, user3_.manner_score as manner_12_8_2_, user3_.password as passwor13_8_2_, user3_.profile_img as profile14_8_2_, user3_.username as usernam15_8_2_ from post post0_ left outer join chat_room chatroom1_ on post0_.room_id=chatroom1_.room_id left outer join menu menu2_ on post0_.menu_id=menu2_.id left outer join user user3_ on post0_.user_id=user3_.id where post0_.room_id=?
Hibernate: select chatroom0_.room_id as room_id1_3_0_, chatroom0_.created_at as created_2_3_0_, chatroom0_.modified_at as modified3_3_0_, chatroom0_.chat_valid as chat_val4_3_0_, chatroom0_.own_user_id as own_user5_3_0_, chatroom0_.uuid as uuid6_3_0_, post1_.id as id1_6_1_, post1_.created_at as created_2_6_1_, post1_.modified_at as modified3_6_1_, post1_.room_id as room_id14_6_1_, post1_.check_deleted as check_de4_6_1_, post1_.check_valid as check_va5_6_1_, post1_.contents as contents6_6_1_, post1_.head_count as head_cou7_6_1_, post1_.address as address8_6_1_, post1_.latitude as latitude9_6_1_, post1_.longitude as longitu10_6_1_, post1_.menu_id as menu_id15_6_1_, post1_.order_time as order_t11_6_1_, post1_.restaurant as restaur12_6_1_, post1_.title as title13_6_1_, post1_.user_id as user_id16_6_1_, menu2_.id as id1_5_2_, menu2_.category as category2_5_2_, menu2_.count as count3_5_2_, menu2_.img_url as img_url4_5_2_, user3_.id as id1_8_3_, user3_.created_at as created_2_8_3_, user3_.modified_at as modified3_8_3_, user3_.age as age4_8_3_, user3_.comment as comment5_8_3_, user3_.email as email6_8_3_, user3_.gender as gender7_8_3_, user3_.kakao_id as kakao_id8_8_3_, user3_.address as address9_8_3_, user3_.latitude as latitud10_8_3_, user3_.longitude as longitu11_8_3_, user3_.manner_score as manner_12_8_3_, user3_.password as passwor13_8_3_, user3_.profile_img as profile14_8_3_, user3_.username as usernam15_8_3_ from chat_room chatroom0_ left outer join post post1_ on chatroom0_.room_id=post1_.room_id left outer join menu menu2_ on post1_.menu_id=menu2_.id left outer join user user3_ on post1_.user_id=user3_.id where chatroom0_.room_id=?
Hibernate: select post0_.id as id1_6_3_, post0_.created_at as created_2_6_3_, post0_.modified_at as modified3_6_3_, post0_.room_id as room_id14_6_3_, post0_.check_deleted as check_de4_6_3_, post0_.check_valid as check_va5_6_3_, post0_.contents as contents6_6_3_, post0_.head_count as head_cou7_6_3_, post0_.address as address8_6_3_, post0_.latitude as latitude9_6_3_, post0_.longitude as longitu10_6_3_, post0_.menu_id as menu_id15_6_3_, post0_.order_time as order_t11_6_3_, post0_.restaurant as restaur12_6_3_, post0_.title as title13_6_3_, post0_.user_id as user_id16_6_3_, chatroom1_.room_id as room_id1_3_0_, chatroom1_.created_at as created_2_3_0_, chatroom1_.modified_at as modified3_3_0_, chatroom1_.chat_valid as chat_val4_3_0_, chatroom1_.own_user_id as own_user5_3_0_, chatroom1_.uuid as uuid6_3_0_, menu2_.id as id1_5_1_, menu2_.category as category2_5_1_, menu2_.count as count3_5_1_, menu2_.img_url as img_url4_5_1_, user3_.id as id1_8_2_, user3_.created_at as created_2_8_2_, user3_.modified_at as modified3_8_2_, user3_.age as age4_8_2_, user3_.comment as comment5_8_2_, user3_.email as email6_8_2_, user3_.gender as gender7_8_2_, user3_.kakao_id as kakao_id8_8_2_, user3_.address as address9_8_2_, user3_.latitude as latitud10_8_2_, user3_.longitude as longitu11_8_2_, user3_.manner_score as manner_12_8_2_, user3_.password as passwor13_8_2_, user3_.profile_img as profile14_8_2_, user3_.username as usernam15_8_2_ from post post0_ left outer join chat_room chatroom1_ on post0_.room_id=chatroom1_.room_id left outer join menu menu2_ on post0_.menu_id=menu2_.id left outer join user user3_ on post0_.user_id=user3_.id where post0_.room_id=?
Hibernate: select chatroom0_.room_id as room_id1_3_0_, chatroom0_.created_at as created_2_3_0_, chatroom0_.modified_at as modified3_3_0_, chatroom0_.chat_valid as chat_val4_3_0_, chatroom0_.own_user_id as own_user5_3_0_, chatroom0_.uuid as uuid6_3_0_, post1_.id as id1_6_1_, post1_.created_at as created_2_6_1_, post1_.modified_at as modified3_6_1_, post1_.room_id as room_id14_6_1_, post1_.check_deleted as check_de4_6_1_, post1_.check_valid as check_va5_6_1_, post1_.contents as contents6_6_1_, post1_.head_count as head_cou7_6_1_, post1_.address as address8_6_1_, post1_.latitude as latitude9_6_1_, post1_.longitude as longitu10_6_1_, post1_.menu_id as menu_id15_6_1_, post1_.order_time as order_t11_6_1_, post1_.restaurant as restaur12_6_1_, post1_.title as title13_6_1_, post1_.user_id as user_id16_6_1_, menu2_.id as id1_5_2_, menu2_.category as category2_5_2_, menu2_.count as count3_5_2_, menu2_.img_url as img_url4_5_2_, user3_.id as id1_8_3_, user3_.created_at as created_2_8_3_, user3_.modified_at as modified3_8_3_, user3_.age as age4_8_3_, user3_.comment as comment5_8_3_, user3_.email as email6_8_3_, user3_.gender as gender7_8_3_, user3_.kakao_id as kakao_id8_8_3_, user3_.address as address9_8_3_, user3_.latitude as latitud10_8_3_, user3_.longitude as longitu11_8_3_, user3_.manner_score as manner_12_8_3_, user3_.password as passwor13_8_3_, user3_.profile_img as profile14_8_3_, user3_.username as usernam15_8_3_ from chat_room chatroom0_ left outer join post post1_ on chatroom0_.room_id=post1_.room_id left outer join menu menu2_ on post1_.menu_id=menu2_.id left outer join user user3_ on post1_.user_id=user3_.id where chatroom0_.room_id=?
Hibernate: select post0_.id as id1_6_3_, post0_.created_at as created_2_6_3_, post0_.modified_at as modified3_6_3_, post0_.room_id as room_id14_6_3_, post0_.check_deleted as check_de4_6_3_, post0_.check_valid as check_va5_6_3_, post0_.contents as contents6_6_3_, post0_.head_count as head_cou7_6_3_, post0_.address as address8_6_3_, post0_.latitude as latitude9_6_3_, post0_.longitude as longitu10_6_3_, post0_.menu_id as menu_id15_6_3_, post0_.order_time as order_t11_6_3_, post0_.restaurant as restaur12_6_3_, post0_.title as title13_6_3_, post0_.user_id as user_id16_6_3_, chatroom1_.room_id as room_id1_3_0_, chatroom1_.created_at as created_2_3_0_, chatroom1_.modified_at as modified3_3_0_, chatroom1_.chat_valid as chat_val4_3_0_, chatroom1_.own_user_id as own_user5_3_0_, chatroom1_.uuid as uuid6_3_0_, menu2_.id as id1_5_1_, menu2_.category as category2_5_1_, menu2_.count as count3_5_1_, menu2_.img_url as img_url4_5_1_, user3_.id as id1_8_2_, user3_.created_at as created_2_8_2_, user3_.modified_at as modified3_8_2_, user3_.age as age4_8_2_, user3_.comment as comment5_8_2_, user3_.email as email6_8_2_, user3_.gender as gender7_8_2_, user3_.kakao_id as kakao_id8_8_2_, user3_.address as address9_8_2_, user3_.latitude as latitud10_8_2_, user3_.longitude as longitu11_8_2_, user3_.manner_score as manner_12_8_2_, user3_.password as passwor13_8_2_, user3_.profile_img as profile14_8_2_, user3_.username as usernam15_8_2_ from post post0_ left outer join chat_room chatroom1_ on post0_.room_id=chatroom1_.room_id left outer join menu menu2_ on post0_.menu_id=menu2_.id left outer join user user3_ on post0_.user_id=user3_.id where post0_.room_id=?
Hibernate: select chatroom0_.room_id as room_id1_3_0_, chatroom0_.created_at as created_2_3_0_, chatroom0_.modified_at as modified3_3_0_, chatroom0_.chat_valid as chat_val4_3_0_, chatroom0_.own_user_id as own_user5_3_0_, chatroom0_.uuid as uuid6_3_0_, post1_.id as id1_6_1_, post1_.created_at as created_2_6_1_, post1_.modified_at as modified3_6_1_, post1_.room_id as room_id14_6_1_, post1_.check_deleted as check_de4_6_1_, post1_.check_valid as check_va5_6_1_, post1_.contents as contents6_6_1_, post1_.head_count as head_cou7_6_1_, post1_.address as address8_6_1_, post1_.latitude as latitude9_6_1_, post1_.longitude as longitu10_6_1_, post1_.menu_id as menu_id15_6_1_, post1_.order_time as order_t11_6_1_, post1_.restaurant as restaur12_6_1_, post1_.title as title13_6_1_, post1_.user_id as user_id16_6_1_, menu2_.id as id1_5_2_, menu2_.category as category2_5_2_, menu2_.count as count3_5_2_, menu2_.img_url as img_url4_5_2_, user3_.id as id1_8_3_, user3_.created_at as created_2_8_3_, user3_.modified_at as modified3_8_3_, user3_.age as age4_8_3_, user3_.comment as comment5_8_3_, user3_.email as email6_8_3_, user3_.gender as gender7_8_3_, user3_.kakao_id as kakao_id8_8_3_, user3_.address as address9_8_3_, user3_.latitude as latitud10_8_3_, user3_.longitude as longitu11_8_3_, user3_.manner_score as manner_12_8_3_, user3_.password as passwor13_8_3_, user3_.profile_img as profile14_8_3_, user3_.username as usernam15_8_3_ from chat_room chatroom0_ left outer join post post1_ on chatroom0_.room_id=post1_.room_id left outer join menu menu2_ on post1_.menu_id=menu2_.id left outer join user user3_ on post1_.user_id=user3_.id where chatroom0_.room_id=?
Hibernate: select post0_.id as id1_6_3_, post0_.created_at as created_2_6_3_, post0_.modified_at as modified3_6_3_, post0_.room_id as room_id14_6_3_, post0_.check_deleted as check_de4_6_3_, post0_.check_valid as check_va5_6_3_, post0_.contents as contents6_6_3_, post0_.head_count as head_cou7_6_3_, post0_.address as address8_6_3_, post0_.latitude as latitude9_6_3_, post0_.longitude as longitu10_6_3_, post0_.menu_id as menu_id15_6_3_, post0_.order_time as order_t11_6_3_, post0_.restaurant as restaur12_6_3_, post0_.title as title13_6_3_, post0_.user_id as user_id16_6_3_, chatroom1_.room_id as room_id1_3_0_, chatroom1_.created_at as created_2_3_0_, chatroom1_.modified_at as modified3_3_0_, chatroom1_.chat_valid as chat_val4_3_0_, chatroom1_.own_user_id as own_user5_3_0_, chatroom1_.uuid as uuid6_3_0_, menu2_.id as id1_5_1_, menu2_.category as category2_5_1_, menu2_.count as count3_5_1_, menu2_.img_url as img_url4_5_1_, user3_.id as id1_8_2_, user3_.created_at as created_2_8_2_, user3_.modified_at as modified3_8_2_, user3_.age as age4_8_2_, user3_.comment as comment5_8_2_, user3_.email as email6_8_2_, user3_.gender as gender7_8_2_, user3_.kakao_id as kakao_id8_8_2_, user3_.address as address9_8_2_, user3_.latitude as latitud10_8_2_, user3_.longitude as longitu11_8_2_, user3_.manner_score as manner_12_8_2_, user3_.password as passwor13_8_2_, user3_.profile_img as profile14_8_2_, user3_.username as usernam15_8_2_ from post post0_ left outer join chat_room chatroom1_ on post0_.room_id=chatroom1_.room_id left outer join menu menu2_ on post0_.menu_id=menu2_.id left outer join user user3_ on post0_.user_id=user3_.id where post0_.room_id=?
Hibernate: select chatroom0_.room_id as room_id1_3_0_, chatroom0_.created_at as created_2_3_0_, chatroom0_.modified_at as modified3_3_0_, chatroom0_.chat_valid as chat_val4_3_0_, chatroom0_.own_user_id as own_user5_3_0_, chatroom0_.uuid as uuid6_3_0_, post1_.id as id1_6_1_, post1_.created_at as created_2_6_1_, post1_.modified_at as modified3_6_1_, post1_.room_id as room_id14_6_1_, post1_.check_deleted as check_de4_6_1_, post1_.check_valid as check_va5_6_1_, post1_.contents as contents6_6_1_, post1_.head_count as head_cou7_6_1_, post1_.address as address8_6_1_, post1_.latitude as latitude9_6_1_, post1_.longitude as longitu10_6_1_, post1_.menu_id as menu_id15_6_1_, post1_.order_time as order_t11_6_1_, post1_.restaurant as restaur12_6_1_, post1_.title as title13_6_1_, post1_.user_id as user_id16_6_1_, menu2_.id as id1_5_2_, menu2_.category as category2_5_2_, menu2_.count as count3_5_2_, menu2_.img_url as img_url4_5_2_, user3_.id as id1_8_3_, user3_.created_at as created_2_8_3_, user3_.modified_at as modified3_8_3_, user3_.age as age4_8_3_, user3_.comment as comment5_8_3_, user3_.email as email6_8_3_, user3_.gender as gender7_8_3_, user3_.kakao_id as kakao_id8_8_3_, user3_.address as address9_8_3_, user3_.latitude as latitud10_8_3_, user3_.longitude as longitu11_8_3_, user3_.manner_score as manner_12_8_3_, user3_.password as passwor13_8_3_, user3_.profile_img as profile14_8_3_, user3_.username as usernam15_8_3_ from chat_room chatroom0_ left outer join post post1_ on chatroom0_.room_id=post1_.room_id left outer join menu menu2_ on post1_.menu_id=menu2_.id left outer join user user3_ on post1_.user_id=user3_.id where chatroom0_.room_id=?
Hibernate: select post0_.id as id1_6_3_, post0_.created_at as created_2_6_3_, post0_.modified_at as modified3_6_3_, post0_.room_id as room_id14_6_3_, post0_.check_deleted as check_de4_6_3_, post0_.check_valid as check_va5_6_3_, post0_.contents as contents6_6_3_, post0_.head_count as head_cou7_6_3_, post0_.address as address8_6_3_, post0_.latitude as latitude9_6_3_, post0_.longitude as longitu10_6_3_, post0_.menu_id as menu_id15_6_3_, post0_.order_time as order_t11_6_3_, post0_.restaurant as restaur12_6_3_, post0_.title as title13_6_3_, post0_.user_id as user_id16_6_3_, chatroom1_.room_id as room_id1_3_0_, chatroom1_.created_at as created_2_3_0_, chatroom1_.modified_at as modified3_3_0_, chatroom1_.chat_valid as chat_val4_3_0_, chatroom1_.own_user_id as own_user5_3_0_, chatroom1_.uuid as uuid6_3_0_, menu2_.id as id1_5_1_, menu2_.category as category2_5_1_, menu2_.count as count3_5_1_, menu2_.img_url as img_url4_5_1_, user3_.id as id1_8_2_, user3_.created_at as created_2_8_2_, user3_.modified_at as modified3_8_2_, user3_.age as age4_8_2_, user3_.comment as comment5_8_2_, user3_.email as email6_8_2_, user3_.gender as gender7_8_2_, user3_.kakao_id as kakao_id8_8_2_, user3_.address as address9_8_2_, user3_.latitude as latitud10_8_2_, user3_.longitude as longitu11_8_2_, user3_.manner_score as manner_12_8_2_, user3_.password as passwor13_8_2_, user3_.profile_img as profile14_8_2_, user3_.username as usernam15_8_2_ from post post0_ left outer join chat_room chatroom1_ on post0_.room_id=chatroom1_.room_id left outer join menu menu2_ on post0_.menu_id=menu2_.id left outer join user user3_ on post0_.user_id=user3_.id where post0_.room_id=?
Hibernate: select chatroom0_.room_id as room_id1_3_0_, chatroom0_.created_at as created_2_3_0_, chatroom0_.modified_at as modified3_3_0_, chatroom0_.chat_valid as chat_val4_3_0_, chatroom0_.own_user_id as own_user5_3_0_, chatroom0_.uuid as uuid6_3_0_, post1_.id as id1_6_1_, post1_.created_at as created_2_6_1_, post1_.modified_at as modified3_6_1_, post1_.room_id as room_id14_6_1_, post1_.check_deleted as check_de4_6_1_, post1_.check_valid as check_va5_6_1_, post1_.contents as contents6_6_1_, post1_.head_count as head_cou7_6_1_, post1_.address as address8_6_1_, post1_.latitude as latitude9_6_1_, post1_.longitude as longitu10_6_1_, post1_.menu_id as menu_id15_6_1_, post1_.order_time as order_t11_6_1_, post1_.restaurant as restaur12_6_1_, post1_.title as title13_6_1_, post1_.user_id as user_id16_6_1_, menu2_.id as id1_5_2_, menu2_.category as category2_5_2_, menu2_.count as count3_5_2_, menu2_.img_url as img_url4_5_2_, user3_.id as id1_8_3_, user3_.created_at as created_2_8_3_, user3_.modified_at as modified3_8_3_, user3_.age as age4_8_3_, user3_.comment as comment5_8_3_, user3_.email as email6_8_3_, user3_.gender as gender7_8_3_, user3_.kakao_id as kakao_id8_8_3_, user3_.address as address9_8_3_, user3_.latitude as latitud10_8_3_, user3_.longitude as longitu11_8_3_, user3_.manner_score as manner_12_8_3_, user3_.password as passwor13_8_3_, user3_.profile_img as profile14_8_3_, user3_.username as usernam15_8_3_ from chat_room chatroom0_ left outer join post post1_ on chatroom0_.room_id=post1_.room_id left outer join menu menu2_ on post1_.menu_id=menu2_.id left outer join user user3_ on post1_.user_id=user3_.id where chatroom0_.room_id=?
Hibernate: select post0_.id as id1_6_3_, post0_.created_at as created_2_6_3_, post0_.modified_at as modified3_6_3_, post0_.room_id as room_id14_6_3_, post0_.check_deleted as check_de4_6_3_, post0_.check_valid as check_va5_6_3_, post0_.contents as contents6_6_3_, post0_.head_count as head_cou7_6_3_, post0_.address as address8_6_3_, post0_.latitude as latitude9_6_3_, post0_.longitude as longitu10_6_3_, post0_.menu_id as menu_id15_6_3_, post0_.order_time as order_t11_6_3_, post0_.restaurant as restaur12_6_3_, post0_.title as title13_6_3_, post0_.user_id as user_id16_6_3_, chatroom1_.room_id as room_id1_3_0_, chatroom1_.created_at as created_2_3_0_, chatroom1_.modified_at as modified3_3_0_, chatroom1_.chat_valid as chat_val4_3_0_, chatroom1_.own_user_id as own_user5_3_0_, chatroom1_.uuid as uuid6_3_0_, menu2_.id as id1_5_1_, menu2_.category as category2_5_1_, menu2_.count as count3_5_1_, menu2_.img_url as img_url4_5_1_, user3_.id as id1_8_2_, user3_.created_at as created_2_8_2_, user3_.modified_at as modified3_8_2_, user3_.age as age4_8_2_, user3_.comment as comment5_8_2_, user3_.email as email6_8_2_, user3_.gender as gender7_8_2_, user3_.kakao_id as kakao_id8_8_2_, user3_.address as address9_8_2_, user3_.latitude as latitud10_8_2_, user3_.longitude as longitu11_8_2_, user3_.manner_score as manner_12_8_2_, user3_.password as passwor13_8_2_, user3_.profile_img as profile14_8_2_, user3_.username as usernam15_8_2_ from post post0_ left outer join chat_room chatroom1_ on post0_.room_id=chatroom1_.room_id left outer join menu menu2_ on post0_.menu_id=menu2_.id left outer join user user3_ on post0_.user_id=user3_.id where post0_.room_id=?
Hibernate: select chatroom0_.room_id as room_id1_3_0_, chatroom0_.created_at as created_2_3_0_, chatroom0_.modified_at as modified3_3_0_, chatroom0_.chat_valid as chat_val4_3_0_, chatroom0_.own_user_id as own_user5_3_0_, chatroom0_.uuid as uuid6_3_0_, post1_.id as id1_6_1_, post1_.created_at as created_2_6_1_, post1_.modified_at as modified3_6_1_, post1_.room_id as room_id14_6_1_, post1_.check_deleted as check_de4_6_1_, post1_.check_valid as check_va5_6_1_, post1_.contents as contents6_6_1_, post1_.head_count as head_cou7_6_1_, post1_.address as address8_6_1_, post1_.latitude as latitude9_6_1_, post1_.longitude as longitu10_6_1_, post1_.menu_id as menu_id15_6_1_, post1_.order_time as order_t11_6_1_, post1_.restaurant as restaur12_6_1_, post1_.title as title13_6_1_, post1_.user_id as user_id16_6_1_, menu2_.id as id1_5_2_, menu2_.category as category2_5_2_, menu2_.count as count3_5_2_, menu2_.img_url as img_url4_5_2_, user3_.id as id1_8_3_, user3_.created_at as created_2_8_3_, user3_.modified_at as modified3_8_3_, user3_.age as age4_8_3_, user3_.comment as comment5_8_3_, user3_.email as email6_8_3_, user3_.gender as gender7_8_3_, user3_.kakao_id as kakao_id8_8_3_, user3_.address as address9_8_3_, user3_.latitude as latitud10_8_3_, user3_.longitude as longitu11_8_3_, user3_.manner_score as manner_12_8_3_, user3_.password as passwor13_8_3_, user3_.profile_img as profile14_8_3_, user3_.username as usernam15_8_3_ from chat_room chatroom0_ left outer join post post1_ on chatroom0_.room_id=post1_.room_id left outer join menu menu2_ on post1_.menu_id=menu2_.id left outer join user user3_ on post1_.user_id=user3_.id where chatroom0_.room_id=?
Hibernate: select post0_.id as id1_6_3_, post0_.created_at as created_2_6_3_, post0_.modified_at as modified3_6_3_, post0_.room_id as room_id14_6_3_, post0_.check_deleted as check_de4_6_3_, post0_.check_valid as check_va5_6_3_, post0_.contents as contents6_6_3_, post0_.head_count as head_cou7_6_3_, post0_.address as address8_6_3_, post0_.latitude as latitude9_6_3_, post0_.longitude as longitu10_6_3_, post0_.menu_id as menu_id15_6_3_, post0_.order_time as order_t11_6_3_, post0_.restaurant as restaur12_6_3_, post0_.title as title13_6_3_, post0_.user_id as user_id16_6_3_, chatroom1_.room_id as room_id1_3_0_, chatroom1_.created_at as created_2_3_0_, chatroom1_.modified_at as modified3_3_0_, chatroom1_.chat_valid as chat_val4_3_0_, chatroom1_.own_user_id as own_user5_3_0_, chatroom1_.uuid as uuid6_3_0_, menu2_.id as id1_5_1_, menu2_.category as category2_5_1_, menu2_.count as count3_5_1_, menu2_.img_url as img_url4_5_1_, user3_.id as id1_8_2_, user3_.created_at as created_2_8_2_, user3_.modified_at as modified3_8_2_, user3_.age as age4_8_2_, user3_.comment as comment5_8_2_, user3_.email as email6_8_2_, user3_.gender as gender7_8_2_, user3_.kakao_id as kakao_id8_8_2_, user3_.address as address9_8_2_, user3_.latitude as latitud10_8_2_, user3_.longitude as longitu11_8_2_, user3_.manner_score as manner_12_8_2_, user3_.password as passwor13_8_2_, user3_.profile_img as profile14_8_2_, user3_.username as usernam15_8_2_ from post post0_ left outer join chat_room chatroom1_ on post0_.room_id=chatroom1_.room_id left outer join menu menu2_ on post0_.menu_id=menu2_.id left outer join user user3_ on post0_.user_id=user3_.id where post0_.room_id=?
Hibernate: select chatroom0_.room_id as room_id1_3_0_, chatroom0_.created_at as created_2_3_0_, chatroom0_.modified_at as modified3_3_0_, chatroom0_.chat_valid as chat_val4_3_0_, chatroom0_.own_user_id as own_user5_3_0_, chatroom0_.uuid as uuid6_3_0_, post1_.id as id1_6_1_, post1_.created_at as created_2_6_1_, post1_.modified_at as modified3_6_1_, post1_.room_id as room_id14_6_1_, post1_.check_deleted as check_de4_6_1_, post1_.check_valid as check_va5_6_1_, post1_.contents as contents6_6_1_, post1_.head_count as head_cou7_6_1_, post1_.address as address8_6_1_, post1_.latitude as latitude9_6_1_, post1_.longitude as longitu10_6_1_, post1_.menu_id as menu_id15_6_1_, post1_.order_time as order_t11_6_1_, post1_.restaurant as restaur12_6_1_, post1_.title as title13_6_1_, post1_.user_id as user_id16_6_1_, menu2_.id as id1_5_2_, menu2_.category as category2_5_2_, menu2_.count as count3_5_2_, menu2_.img_url as img_url4_5_2_, user3_.id as id1_8_3_, user3_.created_at as created_2_8_3_, user3_.modified_at as modified3_8_3_, user3_.age as age4_8_3_, user3_.comment as comment5_8_3_, user3_.email as email6_8_3_, user3_.gender as gender7_8_3_, user3_.kakao_id as kakao_id8_8_3_, user3_.address as address9_8_3_, user3_.latitude as latitud10_8_3_, user3_.longitude as longitu11_8_3_, user3_.manner_score as manner_12_8_3_, user3_.password as passwor13_8_3_, user3_.profile_img as profile14_8_3_, user3_.username as usernam15_8_3_ from chat_room chatroom0_ left outer join post post1_ on chatroom0_.room_id=post1_.room_id left outer join menu menu2_ on post1_.menu_id=menu2_.id left outer join user user3_ on post1_.user_id=user3_.id where chatroom0_.room_id=?
Hibernate: select post0_.id as id1_6_3_, post0_.created_at as created_2_6_3_, post0_.modified_at as modified3_6_3_, post0_.room_id as room_id14_6_3_, post0_.check_deleted as check_de4_6_3_, post0_.check_valid as check_va5_6_3_, post0_.contents as contents6_6_3_, post0_.head_count as head_cou7_6_3_, post0_.address as address8_6_3_, post0_.latitude as latitude9_6_3_, post0_.longitude as longitu10_6_3_, post0_.menu_id as menu_id15_6_3_, post0_.order_time as order_t11_6_3_, post0_.restaurant as restaur12_6_3_, post0_.title as title13_6_3_, post0_.user_id as user_id16_6_3_, chatroom1_.room_id as room_id1_3_0_, chatroom1_.created_at as created_2_3_0_, chatroom1_.modified_at as modified3_3_0_, chatroom1_.chat_valid as chat_val4_3_0_, chatroom1_.own_user_id as own_user5_3_0_, chatroom1_.uuid as uuid6_3_0_, menu2_.id as id1_5_1_, menu2_.category as category2_5_1_, menu2_.count as count3_5_1_, menu2_.img_url as img_url4_5_1_, user3_.id as id1_8_2_, user3_.created_at as created_2_8_2_, user3_.modified_at as modified3_8_2_, user3_.age as age4_8_2_, user3_.comment as comment5_8_2_, user3_.email as email6_8_2_, user3_.gender as gender7_8_2_, user3_.kakao_id as kakao_id8_8_2_, user3_.address as address9_8_2_, user3_.latitude as latitud10_8_2_, user3_.longitude as longitu11_8_2_, user3_.manner_score as manner_12_8_2_, user3_.password as passwor13_8_2_, user3_.profile_img as profile14_8_2_, user3_.username as usernam15_8_2_ from post post0_ left outer join chat_room chatroom1_ on post0_.room_id=chatroom1_.room_id left outer join menu menu2_ on post0_.menu_id=menu2_.id left outer join user user3_ on post0_.user_id=user3_.id where post0_.room_id=?
Hibernate: select chatroom0_.room_id as room_id1_3_0_, chatroom0_.created_at as created_2_3_0_, chatroom0_.modified_at as modified3_3_0_, chatroom0_.chat_valid as chat_val4_3_0_, chatroom0_.own_user_id as own_user5_3_0_, chatroom0_.uuid as uuid6_3_0_, post1_.id as id1_6_1_, post1_.created_at as created_2_6_1_, post1_.modified_at as modified3_6_1_, post1_.room_id as room_id14_6_1_, post1_.check_deleted as check_de4_6_1_, post1_.check_valid as check_va5_6_1_, post1_.contents as contents6_6_1_, post1_.head_count as head_cou7_6_1_, post1_.address as address8_6_1_, post1_.latitude as latitude9_6_1_, post1_.longitude as longitu10_6_1_, post1_.menu_id as menu_id15_6_1_, post1_.order_time as order_t11_6_1_, post1_.restaurant as restaur12_6_1_, post1_.title as title13_6_1_, post1_.user_id as user_id16_6_1_, menu2_.id as id1_5_2_, menu2_.category as category2_5_2_, menu2_.count as count3_5_2_, menu2_.img_url as img_url4_5_2_, user3_.id as id1_8_3_, user3_.created_at as created_2_8_3_, user3_.modified_at as modified3_8_3_, user3_.age as age4_8_3_, user3_.comment as comment5_8_3_, user3_.email as email6_8_3_, user3_.gender as gender7_8_3_, user3_.kakao_id as kakao_id8_8_3_, user3_.address as address9_8_3_, user3_.latitude as latitud10_8_3_, user3_.longitude as longitu11_8_3_, user3_.manner_score as manner_12_8_3_, user3_.password as passwor13_8_3_, user3_.profile_img as profile14_8_3_, user3_.username as usernam15_8_3_ from chat_room chatroom0_ left outer join post post1_ on chatroom0_.room_id=post1_.room_id left outer join menu menu2_ on post1_.menu_id=menu2_.id left outer join user user3_ on post1_.user_id=user3_.id where chatroom0_.room_id=?
Hibernate: select post0_.id as id1_6_3_, post0_.created_at as created_2_6_3_, post0_.modified_at as modified3_6_3_, post0_.room_id as room_id14_6_3_, post0_.check_deleted as check_de4_6_3_, post0_.check_valid as check_va5_6_3_, post0_.contents as contents6_6_3_, post0_.head_count as head_cou7_6_3_, post0_.address as address8_6_3_, post0_.latitude as latitude9_6_3_, post0_.longitude as longitu10_6_3_, post0_.menu_id as menu_id15_6_3_, post0_.order_time as order_t11_6_3_, post0_.restaurant as restaur12_6_3_, post0_.title as title13_6_3_, post0_.user_id as user_id16_6_3_, chatroom1_.room_id as room_id1_3_0_, chatroom1_.created_at as created_2_3_0_, chatroom1_.modified_at as modified3_3_0_, chatroom1_.chat_valid as chat_val4_3_0_, chatroom1_.own_user_id as own_user5_3_0_, chatroom1_.uuid as uuid6_3_0_, menu2_.id as id1_5_1_, menu2_.category as category2_5_1_, menu2_.count as count3_5_1_, menu2_.img_url as img_url4_5_1_, user3_.id as id1_8_2_, user3_.created_at as created_2_8_2_, user3_.modified_at as modified3_8_2_, user3_.age as age4_8_2_, user3_.comment as comment5_8_2_, user3_.email as email6_8_2_, user3_.gender as gender7_8_2_, user3_.kakao_id as kakao_id8_8_2_, user3_.address as address9_8_2_, user3_.latitude as latitud10_8_2_, user3_.longitude as longitu11_8_2_, user3_.manner_score as manner_12_8_2_, user3_.password as passwor13_8_2_, user3_.profile_img as profile14_8_2_, user3_.username as usernam15_8_2_ from post post0_ left outer join chat_room chatroom1_ on post0_.room_id=chatroom1_.room_id left outer join menu menu2_ on post0_.menu_id=menu2_.id left outer join user user3_ on post0_.user_id=user3_.id where post0_.room_id=?
Hibernate: select chatroom0_.room_id as room_id1_3_0_, chatroom0_.created_at as created_2_3_0_, chatroom0_.modified_at as modified3_3_0_, chatroom0_.chat_valid as chat_val4_3_0_, chatroom0_.own_user_id as own_user5_3_0_, chatroom0_.uuid as uuid6_3_0_, post1_.id as id1_6_1_, post1_.created_at as created_2_6_1_, post1_.modified_at as modified3_6_1_, post1_.room_id as room_id14_6_1_, post1_.check_deleted as check_de4_6_1_, post1_.check_valid as check_va5_6_1_, post1_.contents as contents6_6_1_, post1_.head_count as head_cou7_6_1_, post1_.address as address8_6_1_, post1_.latitude as latitude9_6_1_, post1_.longitude as longitu10_6_1_, post1_.menu_id as menu_id15_6_1_, post1_.order_time as order_t11_6_1_, post1_.restaurant as restaur12_6_1_, post1_.title as title13_6_1_, post1_.user_id as user_id16_6_1_, menu2_.id as id1_5_2_, menu2_.category as category2_5_2_, menu2_.count as count3_5_2_, menu2_.img_url as img_url4_5_2_, user3_.id as id1_8_3_, user3_.created_at as created_2_8_3_, user3_.modified_at as modified3_8_3_, user3_.age as age4_8_3_, user3_.comment as comment5_8_3_, user3_.email as email6_8_3_, user3_.gender as gender7_8_3_, user3_.kakao_id as kakao_id8_8_3_, user3_.address as address9_8_3_, user3_.latitude as latitud10_8_3_, user3_.longitude as longitu11_8_3_, user3_.manner_score as manner_12_8_3_, user3_.password as passwor13_8_3_, user3_.profile_img as profile14_8_3_, user3_.username as usernam15_8_3_ from chat_room chatroom0_ left outer join post post1_ on chatroom0_.room_id=post1_.room_id left outer join menu menu2_ on post1_.menu_id=menu2_.id left outer join user user3_ on post1_.user_id=user3_.id where chatroom0_.room_id=?
Hibernate: select post0_.id as id1_6_3_, post0_.created_at as created_2_6_3_, post0_.modified_at as modified3_6_3_, post0_.room_id as room_id14_6_3_, post0_.check_deleted as check_de4_6_3_, post0_.check_valid as check_va5_6_3_, post0_.contents as contents6_6_3_, post0_.head_count as head_cou7_6_3_, post0_.address as address8_6_3_, post0_.latitude as latitude9_6_3_, post0_.longitude as longitu10_6_3_, post0_.menu_id as menu_id15_6_3_, post0_.order_time as order_t11_6_3_, post0_.restaurant as restaur12_6_3_, post0_.title as title13_6_3_, post0_.user_id as user_id16_6_3_, chatroom1_.room_id as room_id1_3_0_, chatroom1_.created_at as created_2_3_0_, chatroom1_.modified_at as modified3_3_0_, chatroom1_.chat_valid as chat_val4_3_0_, chatroom1_.own_user_id as own_user5_3_0_, chatroom1_.uuid as uuid6_3_0_, menu2_.id as id1_5_1_, menu2_.category as category2_5_1_, menu2_.count as count3_5_1_, menu2_.img_url as img_url4_5_1_, user3_.id as id1_8_2_, user3_.created_at as created_2_8_2_, user3_.modified_at as modified3_8_2_, user3_.age as age4_8_2_, user3_.comment as comment5_8_2_, user3_.email as email6_8_2_, user3_.gender as gender7_8_2_, user3_.kakao_id as kakao_id8_8_2_, user3_.address as address9_8_2_, user3_.latitude as latitud10_8_2_, user3_.longitude as longitu11_8_2_, user3_.manner_score as manner_12_8_2_, user3_.password as passwor13_8_2_, user3_.profile_img as profile14_8_2_, user3_.username as usernam15_8_2_ from post post0_ left outer join chat_room chatroom1_ on post0_.room_id=chatroom1_.room_id left outer join menu menu2_ on post0_.menu_id=menu2_.id left outer join user user3_ on post0_.user_id=user3_.id where post0_.room_id=?
Hibernate: select chatroom0_.room_id as room_id1_3_0_, chatroom0_.created_at as created_2_3_0_, chatroom0_.modified_at as modified3_3_0_, chatroom0_.chat_valid as chat_val4_3_0_, chatroom0_.own_user_id as own_user5_3_0_, chatroom0_.uuid as uuid6_3_0_, post1_.id as id1_6_1_, post1_.created_at as created_2_6_1_, post1_.modified_at as modified3_6_1_, post1_.room_id as room_id14_6_1_, post1_.check_deleted as check_de4_6_1_, post1_.check_valid as check_va5_6_1_, post1_.contents as contents6_6_1_, post1_.head_count as head_cou7_6_1_, post1_.address as address8_6_1_, post1_.latitude as latitude9_6_1_, post1_.longitude as longitu10_6_1_, post1_.menu_id as menu_id15_6_1_, post1_.order_time as order_t11_6_1_, post1_.restaurant as restaur12_6_1_, post1_.title as title13_6_1_, post1_.user_id as user_id16_6_1_, menu2_.id as id1_5_2_, menu2_.category as category2_5_2_, menu2_.count as count3_5_2_, menu2_.img_url as img_url4_5_2_, user3_.id as id1_8_3_, user3_.created_at as created_2_8_3_, user3_.modified_at as modified3_8_3_, user3_.age as age4_8_3_, user3_.comment as comment5_8_3_, user3_.email as email6_8_3_, user3_.gender as gender7_8_3_, user3_.kakao_id as kakao_id8_8_3_, user3_.address as address9_8_3_, user3_.latitude as latitud10_8_3_, user3_.longitude as longitu11_8_3_, user3_.manner_score as manner_12_8_3_, user3_.password as passwor13_8_3_, user3_.profile_img as profile14_8_3_, user3_.username as usernam15_8_3_ from chat_room chatroom0_ left outer join post post1_ on chatroom0_.room_id=post1_.room_id left outer join menu menu2_ on post1_.menu_id=menu2_.id left outer join user user3_ on post1_.user_id=user3_.id where chatroom0_.room_id=?
Hibernate: select post0_.id as id1_6_3_, post0_.created_at as created_2_6_3_, post0_.modified_at as modified3_6_3_, post0_.room_id as room_id14_6_3_, post0_.check_deleted as check_de4_6_3_, post0_.check_valid as check_va5_6_3_, post0_.contents as contents6_6_3_, post0_.head_count as head_cou7_6_3_, post0_.address as address8_6_3_, post0_.latitude as latitude9_6_3_, post0_.longitude as longitu10_6_3_, post0_.menu_id as menu_id15_6_3_, post0_.order_time as order_t11_6_3_, post0_.restaurant as restaur12_6_3_, post0_.title as title13_6_3_, post0_.user_id as user_id16_6_3_, chatroom1_.room_id as room_id1_3_0_, chatroom1_.created_at as created_2_3_0_, chatroom1_.modified_at as modified3_3_0_, chatroom1_.chat_valid as chat_val4_3_0_, chatroom1_.own_user_id as own_user5_3_0_, chatroom1_.uuid as uuid6_3_0_, menu2_.id as id1_5_1_, menu2_.category as category2_5_1_, menu2_.count as count3_5_1_, menu2_.img_url as img_url4_5_1_, user3_.id as id1_8_2_, user3_.created_at as created_2_8_2_, user3_.modified_at as modified3_8_2_, user3_.age as age4_8_2_, user3_.comment as comment5_8_2_, user3_.email as email6_8_2_, user3_.gender as gender7_8_2_, user3_.kakao_id as kakao_id8_8_2_, user3_.address as address9_8_2_, user3_.latitude as latitud10_8_2_, user3_.longitude as longitu11_8_2_, user3_.manner_score as manner_12_8_2_, user3_.password as passwor13_8_2_, user3_.profile_img as profile14_8_2_, user3_.username as usernam15_8_2_ from post post0_ left outer join chat_room chatroom1_ on post0_.room_id=chatroom1_.room_id left outer join menu menu2_ on post0_.menu_id=menu2_.id left outer join user user3_ on post0_.user_id=user3_.id where post0_.room_id=?
Hibernate: select chatroom0_.room_id as room_id1_3_0_, chatroom0_.created_at as created_2_3_0_, chatroom0_.modified_at as modified3_3_0_, chatroom0_.chat_valid as chat_val4_3_0_, chatroom0_.own_user_id as own_user5_3_0_, chatroom0_.uuid as uuid6_3_0_, post1_.id as id1_6_1_, post1_.created_at as created_2_6_1_, post1_.modified_at as modified3_6_1_, post1_.room_id as room_id14_6_1_, post1_.check_deleted as check_de4_6_1_, post1_.check_valid as check_va5_6_1_, post1_.contents as contents6_6_1_, post1_.head_count as head_cou7_6_1_, post1_.address as address8_6_1_, post1_.latitude as latitude9_6_1_, post1_.longitude as longitu10_6_1_, post1_.menu_id as menu_id15_6_1_, post1_.order_time as order_t11_6_1_, post1_.restaurant as restaur12_6_1_, post1_.title as title13_6_1_, post1_.user_id as user_id16_6_1_, menu2_.id as id1_5_2_, menu2_.category as category2_5_2_, menu2_.count as count3_5_2_, menu2_.img_url as img_url4_5_2_, user3_.id as id1_8_3_, user3_.created_at as created_2_8_3_, user3_.modified_at as modified3_8_3_, user3_.age as age4_8_3_, user3_.comment as comment5_8_3_, user3_.email as email6_8_3_, user3_.gender as gender7_8_3_, user3_.kakao_id as kakao_id8_8_3_, user3_.address as address9_8_3_, user3_.latitude as latitud10_8_3_, user3_.longitude as longitu11_8_3_, user3_.manner_score as manner_12_8_3_, user3_.password as passwor13_8_3_, user3_.profile_img as profile14_8_3_, user3_.username as usernam15_8_3_ from chat_room chatroom0_ left outer join post post1_ on chatroom0_.room_id=post1_.room_id left outer join menu menu2_ on post1_.menu_id=menu2_.id left outer join user user3_ on post1_.user_id=user3_.id where chatroom0_.room_id=?
Hibernate: select post0_.id as id1_6_3_, post0_.created_at as created_2_6_3_, post0_.modified_at as modified3_6_3_, post0_.room_id as room_id14_6_3_, post0_.check_deleted as check_de4_6_3_, post0_.check_valid as check_va5_6_3_, post0_.contents as contents6_6_3_, post0_.head_count as head_cou7_6_3_, post0_.address as address8_6_3_, post0_.latitude as latitude9_6_3_, post0_.longitude as longitu10_6_3_, post0_.menu_id as menu_id15_6_3_, post0_.order_time as order_t11_6_3_, post0_.restaurant as restaur12_6_3_, post0_.title as title13_6_3_, post0_.user_id as user_id16_6_3_, chatroom1_.room_id as room_id1_3_0_, chatroom1_.created_at as created_2_3_0_, chatroom1_.modified_at as modified3_3_0_, chatroom1_.chat_valid as chat_val4_3_0_, chatroom1_.own_user_id as own_user5_3_0_, chatroom1_.uuid as uuid6_3_0_, menu2_.id as id1_5_1_, menu2_.category as category2_5_1_, menu2_.count as count3_5_1_, menu2_.img_url as img_url4_5_1_, user3_.id as id1_8_2_, user3_.created_at as created_2_8_2_, user3_.modified_at as modified3_8_2_, user3_.age as age4_8_2_, user3_.comment as comment5_8_2_, user3_.email as email6_8_2_, user3_.gender as gender7_8_2_, user3_.kakao_id as kakao_id8_8_2_, user3_.address as address9_8_2_, user3_.latitude as latitud10_8_2_, user3_.longitude as longitu11_8_2_, user3_.manner_score as manner_12_8_2_, user3_.password as passwor13_8_2_, user3_.profile_img as profile14_8_2_, user3_.username as usernam15_8_2_ from post post0_ left outer join chat_room chatroom1_ on post0_.room_id=chatroom1_.room_id left outer join menu menu2_ on post0_.menu_id=menu2_.id left outer join user user3_ on post0_.user_id=user3_.id where post0_.room_id=?
Hibernate: select chatroom0_.room_id as room_id1_3_0_, chatroom0_.created_at as created_2_3_0_, chatroom0_.modified_at as modified3_3_0_, chatroom0_.chat_valid as chat_val4_3_0_, chatroom0_.own_user_id as own_user5_3_0_, chatroom0_.uuid as uuid6_3_0_, post1_.id as id1_6_1_, post1_.created_at as created_2_6_1_, post1_.modified_at as modified3_6_1_, post1_.room_id as room_id14_6_1_, post1_.check_deleted as check_de4_6_1_, post1_.check_valid as check_va5_6_1_, post1_.contents as contents6_6_1_, post1_.head_count as head_cou7_6_1_, post1_.address as address8_6_1_, post1_.latitude as latitude9_6_1_, post1_.longitude as longitu10_6_1_, post1_.menu_id as menu_id15_6_1_, post1_.order_time as order_t11_6_1_, post1_.restaurant as restaur12_6_1_, post1_.title as title13_6_1_, post1_.user_id as user_id16_6_1_, menu2_.id as id1_5_2_, menu2_.category as category2_5_2_, menu2_.count as count3_5_2_, menu2_.img_url as img_url4_5_2_, user3_.id as id1_8_3_, user3_.created_at as created_2_8_3_, user3_.modified_at as modified3_8_3_, user3_.age as age4_8_3_, user3_.comment as comment5_8_3_, user3_.email as email6_8_3_, user3_.gender as gender7_8_3_, user3_.kakao_id as kakao_id8_8_3_, user3_.address as address9_8_3_, user3_.latitude as latitud10_8_3_, user3_.longitude as longitu11_8_3_, user3_.manner_score as manner_12_8_3_, user3_.password as passwor13_8_3_, user3_.profile_img as profile14_8_3_, user3_.username as usernam15_8_3_ from chat_room chatroom0_ left outer join post post1_ on chatroom0_.room_id=post1_.room_id left outer join menu menu2_ on post1_.menu_id=menu2_.id left outer join user user3_ on post1_.user_id=user3_.id where chatroom0_.room_id=?
Hibernate: select post0_.id as id1_6_3_, post0_.created_at as created_2_6_3_, post0_.modified_at as modified3_6_3_, post0_.room_id as room_id14_6_3_, post0_.check_deleted as check_de4_6_3_, post0_.check_valid as check_va5_6_3_, post0_.contents as contents6_6_3_, post0_.head_count as head_cou7_6_3_, post0_.address as address8_6_3_, post0_.latitude as latitude9_6_3_, post0_.longitude as longitu10_6_3_, post0_.menu_id as menu_id15_6_3_, post0_.order_time as order_t11_6_3_, post0_.restaurant as restaur12_6_3_, post0_.title as title13_6_3_, post0_.user_id as user_id16_6_3_, chatroom1_.room_id as room_id1_3_0_, chatroom1_.created_at as created_2_3_0_, chatroom1_.modified_at as modified3_3_0_, chatroom1_.chat_valid as chat_val4_3_0_, chatroom1_.own_user_id as own_user5_3_0_, chatroom1_.uuid as uuid6_3_0_, menu2_.id as id1_5_1_, menu2_.category as category2_5_1_, menu2_.count as count3_5_1_, menu2_.img_url as img_url4_5_1_, user3_.id as id1_8_2_, user3_.created_at as created_2_8_2_, user3_.modified_at as modified3_8_2_, user3_.age as age4_8_2_, user3_.comment as comment5_8_2_, user3_.email as email6_8_2_, user3_.gender as gender7_8_2_, user3_.kakao_id as kakao_id8_8_2_, user3_.address as address9_8_2_, user3_.latitude as latitud10_8_2_, user3_.longitude as longitu11_8_2_, user3_.manner_score as manner_12_8_2_, user3_.password as passwor13_8_2_, user3_.profile_img as profile14_8_2_, user3_.username as usernam15_8_2_ from post post0_ left outer join chat_room chatroom1_ on post0_.room_id=chatroom1_.room_id left outer join menu menu2_ on post0_.menu_id=menu2_.id left outer join user user3_ on post0_.user_id=user3_.id where post0_.room_id=?
Hibernate: select chatroom0_.room_id as room_id1_3_0_, chatroom0_.created_at as created_2_3_0_, chatroom0_.modified_at as modified3_3_0_, chatroom0_.chat_valid as chat_val4_3_0_, chatroom0_.own_user_id as own_user5_3_0_, chatroom0_.uuid as uuid6_3_0_, post1_.id as id1_6_1_, post1_.created_at as created_2_6_1_, post1_.modified_at as modified3_6_1_, post1_.room_id as room_id14_6_1_, post1_.check_deleted as check_de4_6_1_, post1_.check_valid as check_va5_6_1_, post1_.contents as contents6_6_1_, post1_.head_count as head_cou7_6_1_, post1_.address as address8_6_1_, post1_.latitude as latitude9_6_1_, post1_.longitude as longitu10_6_1_, post1_.menu_id as menu_id15_6_1_, post1_.order_time as order_t11_6_1_, post1_.restaurant as restaur12_6_1_, post1_.title as title13_6_1_, post1_.user_id as user_id16_6_1_, menu2_.id as id1_5_2_, menu2_.category as category2_5_2_, menu2_.count as count3_5_2_, menu2_.img_url as img_url4_5_2_, user3_.id as id1_8_3_, user3_.created_at as created_2_8_3_, user3_.modified_at as modified3_8_3_, user3_.age as age4_8_3_, user3_.comment as comment5_8_3_, user3_.email as email6_8_3_, user3_.gender as gender7_8_3_, user3_.kakao_id as kakao_id8_8_3_, user3_.address as address9_8_3_, user3_.latitude as latitud10_8_3_, user3_.longitude as longitu11_8_3_, user3_.manner_score as manner_12_8_3_, user3_.password as passwor13_8_3_, user3_.profile_img as profile14_8_3_, user3_.username as usernam15_8_3_ from chat_room chatroom0_ left outer join post post1_ on chatroom0_.room_id=post1_.room_id left outer join menu menu2_ on post1_.menu_id=menu2_.id left outer join user user3_ on post1_.user_id=user3_.id where chatroom0_.room_id=?
Hibernate: select post0_.id as id1_6_3_, post0_.created_at as created_2_6_3_, post0_.modified_at as modified3_6_3_, post0_.room_id as room_id14_6_3_, post0_.check_deleted as check_de4_6_3_, post0_.check_valid as check_va5_6_3_, post0_.contents as contents6_6_3_, post0_.head_count as head_cou7_6_3_, post0_.address as address8_6_3_, post0_.latitude as latitude9_6_3_, post0_.longitude as longitu10_6_3_, post0_.menu_id as menu_id15_6_3_, post0_.order_time as order_t11_6_3_, post0_.restaurant as restaur12_6_3_, post0_.title as title13_6_3_, post0_.user_id as user_id16_6_3_, chatroom1_.room_id as room_id1_3_0_, chatroom1_.created_at as created_2_3_0_, chatroom1_.modified_at as modified3_3_0_, chatroom1_.chat_valid as chat_val4_3_0_, chatroom1_.own_user_id as own_user5_3_0_, chatroom1_.uuid as uuid6_3_0_, menu2_.id as id1_5_1_, menu2_.category as category2_5_1_, menu2_.count as count3_5_1_, menu2_.img_url as img_url4_5_1_, user3_.id as id1_8_2_, user3_.created_at as created_2_8_2_, user3_.modified_at as modified3_8_2_, user3_.age as age4_8_2_, user3_.comment as comment5_8_2_, user3_.email as email6_8_2_, user3_.gender as gender7_8_2_, user3_.kakao_id as kakao_id8_8_2_, user3_.address as address9_8_2_, user3_.latitude as latitud10_8_2_, user3_.longitude as longitu11_8_2_, user3_.manner_score as manner_12_8_2_, user3_.password as passwor13_8_2_, user3_.profile_img as profile14_8_2_, user3_.username as usernam15_8_2_ from post post0_ left outer join chat_room chatroom1_ on post0_.room_id=chatroom1_.room_id left outer join menu menu2_ on post0_.menu_id=menu2_.id left outer join user user3_ on post0_.user_id=user3_.id where post0_.room_id=?
Hibernate: select chatroom0_.room_id as room_id1_3_0_, chatroom0_.created_at as created_2_3_0_, chatroom0_.modified_at as modified3_3_0_, chatroom0_.chat_valid as chat_val4_3_0_, chatroom0_.own_user_id as own_user5_3_0_, chatroom0_.uuid as uuid6_3_0_, post1_.id as id1_6_1_, post1_.created_at as created_2_6_1_, post1_.modified_at as modified3_6_1_, post1_.room_id as room_id14_6_1_, post1_.check_deleted as check_de4_6_1_, post1_.check_valid as check_va5_6_1_, post1_.contents as contents6_6_1_, post1_.head_count as head_cou7_6_1_, post1_.address as address8_6_1_, post1_.latitude as latitude9_6_1_, post1_.longitude as longitu10_6_1_, post1_.menu_id as menu_id15_6_1_, post1_.order_time as order_t11_6_1_, post1_.restaurant as restaur12_6_1_, post1_.title as title13_6_1_, post1_.user_id as user_id16_6_1_, menu2_.id as id1_5_2_, menu2_.category as category2_5_2_, menu2_.count as count3_5_2_, menu2_.img_url as img_url4_5_2_, user3_.id as id1_8_3_, user3_.created_at as created_2_8_3_, user3_.modified_at as modified3_8_3_, user3_.age as age4_8_3_, user3_.comment as comment5_8_3_, user3_.email as email6_8_3_, user3_.gender as gender7_8_3_, user3_.kakao_id as kakao_id8_8_3_, user3_.address as address9_8_3_, user3_.latitude as latitud10_8_3_, user3_.longitude as longitu11_8_3_, user3_.manner_score as manner_12_8_3_, user3_.password as passwor13_8_3_, user3_.profile_img as profile14_8_3_, user3_.username as usernam15_8_3_ from chat_room chatroom0_ left outer join post post1_ on chatroom0_.room_id=post1_.room_id left outer join menu menu2_ on post1_.menu_id=menu2_.id left outer join user user3_ on post1_.user_id=user3_.id where chatroom0_.room_id=?
Hibernate: select post0_.id as id1_6_3_, post0_.created_at as created_2_6_3_, post0_.modified_at as modified3_6_3_, post0_.room_id as room_id14_6_3_, post0_.check_deleted as check_de4_6_3_, post0_.check_valid as check_va5_6_3_, post0_.contents as contents6_6_3_, post0_.head_count as head_cou7_6_3_, post0_.address as address8_6_3_, post0_.latitude as latitude9_6_3_, post0_.longitude as longitu10_6_3_, post0_.menu_id as menu_id15_6_3_, post0_.order_time as order_t11_6_3_, post0_.restaurant as restaur12_6_3_, post0_.title as title13_6_3_, post0_.user_id as user_id16_6_3_, chatroom1_.room_id as room_id1_3_0_, chatroom1_.created_at as created_2_3_0_, chatroom1_.modified_at as modified3_3_0_, chatroom1_.chat_valid as chat_val4_3_0_, chatroom1_.own_user_id as own_user5_3_0_, chatroom1_.uuid as uuid6_3_0_, menu2_.id as id1_5_1_, menu2_.category as category2_5_1_, menu2_.count as count3_5_1_, menu2_.img_url as img_url4_5_1_, user3_.id as id1_8_2_, user3_.created_at as created_2_8_2_, user3_.modified_at as modified3_8_2_, user3_.age as age4_8_2_, user3_.comment as comment5_8_2_, user3_.email as email6_8_2_, user3_.gender as gender7_8_2_, user3_.kakao_id as kakao_id8_8_2_, user3_.address as address9_8_2_, user3_.latitude as latitud10_8_2_, user3_.longitude as longitu11_8_2_, user3_.manner_score as manner_12_8_2_, user3_.password as passwor13_8_2_, user3_.profile_img as profile14_8_2_, user3_.username as usernam15_8_2_ from post post0_ left outer join chat_room chatroom1_ on post0_.room_id=chatroom1_.room_id left outer join menu menu2_ on post0_.menu_id=menu2_.id left outer join user user3_ on post0_.user_id=user3_.id where post0_.room_id=?
Hibernate: select chatroom0_.room_id as room_id1_3_0_, chatroom0_.created_at as created_2_3_0_, chatroom0_.modified_at as modified3_3_0_, chatroom0_.chat_valid as chat_val4_3_0_, chatroom0_.own_user_id as own_user5_3_0_, chatroom0_.uuid as uuid6_3_0_, post1_.id as id1_6_1_, post1_.created_at as created_2_6_1_, post1_.modified_at as modified3_6_1_, post1_.room_id as room_id14_6_1_, post1_.check_deleted as check_de4_6_1_, post1_.check_valid as check_va5_6_1_, post1_.contents as contents6_6_1_, post1_.head_count as head_cou7_6_1_, post1_.address as address8_6_1_, post1_.latitude as latitude9_6_1_, post1_.longitude as longitu10_6_1_, post1_.menu_id as menu_id15_6_1_, post1_.order_time as order_t11_6_1_, post1_.restaurant as restaur12_6_1_, post1_.title as title13_6_1_, post1_.user_id as user_id16_6_1_, menu2_.id as id1_5_2_, menu2_.category as category2_5_2_, menu2_.count as count3_5_2_, menu2_.img_url as img_url4_5_2_, user3_.id as id1_8_3_, user3_.created_at as created_2_8_3_, user3_.modified_at as modified3_8_3_, user3_.age as age4_8_3_, user3_.comment as comment5_8_3_, user3_.email as email6_8_3_, user3_.gender as gender7_8_3_, user3_.kakao_id as kakao_id8_8_3_, user3_.address as address9_8_3_, user3_.latitude as latitud10_8_3_, user3_.longitude as longitu11_8_3_, user3_.manner_score as manner_12_8_3_, user3_.password as passwor13_8_3_, user3_.profile_img as profile14_8_3_, user3_.username as usernam15_8_3_ from chat_room chatroom0_ left outer join post post1_ on chatroom0_.room_id=post1_.room_id left outer join menu menu2_ on post1_.menu_id=menu2_.id left outer join user user3_ on post1_.user_id=user3_.id where chatroom0_.room_id=?
Hibernate: select post0_.id as id1_6_3_, post0_.created_at as created_2_6_3_, post0_.modified_at as modified3_6_3_, post0_.room_id as room_id14_6_3_, post0_.check_deleted as check_de4_6_3_, post0_.check_valid as check_va5_6_3_, post0_.contents as contents6_6_3_, post0_.head_count as head_cou7_6_3_, post0_.address as address8_6_3_, post0_.latitude as latitude9_6_3_, post0_.longitude as longitu10_6_3_, post0_.menu_id as menu_id15_6_3_, post0_.order_time as order_t11_6_3_, post0_.restaurant as restaur12_6_3_, post0_.title as title13_6_3_, post0_.user_id as user_id16_6_3_, chatroom1_.room_id as room_id1_3_0_, chatroom1_.created_at as created_2_3_0_, chatroom1_.modified_at as modified3_3_0_, chatroom1_.chat_valid as chat_val4_3_0_, chatroom1_.own_user_id as own_user5_3_0_, chatroom1_.uuid as uuid6_3_0_, menu2_.id as id1_5_1_, menu2_.category as category2_5_1_, menu2_.count as count3_5_1_, menu2_.img_url as img_url4_5_1_, user3_.id as id1_8_2_, user3_.created_at as created_2_8_2_, user3_.modified_at as modified3_8_2_, user3_.age as age4_8_2_, user3_.comment as comment5_8_2_, user3_.email as email6_8_2_, user3_.gender as gender7_8_2_, user3_.kakao_id as kakao_id8_8_2_, user3_.address as address9_8_2_, user3_.latitude as latitud10_8_2_, user3_.longitude as longitu11_8_2_, user3_.manner_score as manner_12_8_2_, user3_.password as passwor13_8_2_, user3_.profile_img as profile14_8_2_, user3_.username as usernam15_8_2_ from post post0_ left outer join chat_room chatroom1_ on post0_.room_id=chatroom1_.room_id left outer join menu menu2_ on post0_.menu_id=menu2_.id left outer join user user3_ on post0_.user_id=user3_.id where post0_.room_id=?
Hibernate: select chatroom0_.room_id as room_id1_3_0_, chatroom0_.created_at as created_2_3_0_, chatroom0_.modified_at as modified3_3_0_, chatroom0_.chat_valid as chat_val4_3_0_, chatroom0_.own_user_id as own_user5_3_0_, chatroom0_.uuid as uuid6_3_0_, post1_.id as id1_6_1_, post1_.created_at as created_2_6_1_, post1_.modified_at as modified3_6_1_, post1_.room_id as room_id14_6_1_, post1_.check_deleted as check_de4_6_1_, post1_.check_valid as check_va5_6_1_, post1_.contents as contents6_6_1_, post1_.head_count as head_cou7_6_1_, post1_.address as address8_6_1_, post1_.latitude as latitude9_6_1_, post1_.longitude as longitu10_6_1_, post1_.menu_id as menu_id15_6_1_, post1_.order_time as order_t11_6_1_, post1_.restaurant as restaur12_6_1_, post1_.title as title13_6_1_, post1_.user_id as user_id16_6_1_, menu2_.id as id1_5_2_, menu2_.category as category2_5_2_, menu2_.count as count3_5_2_, menu2_.img_url as img_url4_5_2_, user3_.id as id1_8_3_, user3_.created_at as created_2_8_3_, user3_.modified_at as modified3_8_3_, user3_.age as age4_8_3_, user3_.comment as comment5_8_3_, user3_.email as email6_8_3_, user3_.gender as gender7_8_3_, user3_.kakao_id as kakao_id8_8_3_, user3_.address as address9_8_3_, user3_.latitude as latitud10_8_3_, user3_.longitude as longitu11_8_3_, user3_.manner_score as manner_12_8_3_, user3_.password as passwor13_8_3_, user3_.profile_img as profile14_8_3_, user3_.username as usernam15_8_3_ from chat_room chatroom0_ left outer join post post1_ on chatroom0_.room_id=post1_.room_id left outer join menu menu2_ on post1_.menu_id=menu2_.id left outer join user user3_ on post1_.user_id=user3_.id where chatroom0_.room_id=?
Hibernate: select post0_.id as id1_6_3_, post0_.created_at as created_2_6_3_, post0_.modified_at as modified3_6_3_, post0_.room_id as room_id14_6_3_, post0_.check_deleted as check_de4_6_3_, post0_.check_valid as check_va5_6_3_, post0_.contents as contents6_6_3_, post0_.head_count as head_cou7_6_3_, post0_.address as address8_6_3_, post0_.latitude as latitude9_6_3_, post0_.longitude as longitu10_6_3_, post0_.menu_id as menu_id15_6_3_, post0_.order_time as order_t11_6_3_, post0_.restaurant as restaur12_6_3_, post0_.title as title13_6_3_, post0_.user_id as user_id16_6_3_, chatroom1_.room_id as room_id1_3_0_, chatroom1_.created_at as created_2_3_0_, chatroom1_.modified_at as modified3_3_0_, chatroom1_.chat_valid as chat_val4_3_0_, chatroom1_.own_user_id as own_user5_3_0_, chatroom1_.uuid as uuid6_3_0_, menu2_.id as id1_5_1_, menu2_.category as category2_5_1_, menu2_.count as count3_5_1_, menu2_.img_url as img_url4_5_1_, user3_.id as id1_8_2_, user3_.created_at as created_2_8_2_, user3_.modified_at as modified3_8_2_, user3_.age as age4_8_2_, user3_.comment as comment5_8_2_, user3_.email as email6_8_2_, user3_.gender as gender7_8_2_, user3_.kakao_id as kakao_id8_8_2_, user3_.address as address9_8_2_, user3_.latitude as latitud10_8_2_, user3_.longitude as longitu11_8_2_, user3_.manner_score as manner_12_8_2_, user3_.password as passwor13_8_2_, user3_.profile_img as profile14_8_2_, user3_.username as usernam15_8_2_ from post post0_ left outer join chat_room chatroom1_ on post0_.room_id=chatroom1_.room_id left outer join menu menu2_ on post0_.menu_id=menu2_.id left outer join user user3_ on post0_.user_id=user3_.id where post0_.room_id=?
Hibernate: select chatroom0_.room_id as room_id1_3_0_, chatroom0_.created_at as created_2_3_0_, chatroom0_.modified_at as modified3_3_0_, chatroom0_.chat_valid as chat_val4_3_0_, chatroom0_.own_user_id as own_user5_3_0_, chatroom0_.uuid as uuid6_3_0_, post1_.id as id1_6_1_, post1_.created_at as created_2_6_1_, post1_.modified_at as modified3_6_1_, post1_.room_id as room_id14_6_1_, post1_.check_deleted as check_de4_6_1_, post1_.check_valid as check_va5_6_1_, post1_.contents as contents6_6_1_, post1_.head_count as head_cou7_6_1_, post1_.address as address8_6_1_, post1_.latitude as latitude9_6_1_, post1_.longitude as longitu10_6_1_, post1_.menu_id as menu_id15_6_1_, post1_.order_time as order_t11_6_1_, post1_.restaurant as restaur12_6_1_, post1_.title as title13_6_1_, post1_.user_id as user_id16_6_1_, menu2_.id as id1_5_2_, menu2_.category as category2_5_2_, menu2_.count as count3_5_2_, menu2_.img_url as img_url4_5_2_, user3_.id as id1_8_3_, user3_.created_at as created_2_8_3_, user3_.modified_at as modified3_8_3_, user3_.age as age4_8_3_, user3_.comment as comment5_8_3_, user3_.email as email6_8_3_, user3_.gender as gender7_8_3_, user3_.kakao_id as kakao_id8_8_3_, user3_.address as address9_8_3_, user3_.latitude as latitud10_8_3_, user3_.longitude as longitu11_8_3_, user3_.manner_score as manner_12_8_3_, user3_.password as passwor13_8_3_, user3_.profile_img as profile14_8_3_, user3_.username as usernam15_8_3_ from chat_room chatroom0_ left outer join post post1_ on chatroom0_.room_id=post1_.room_id left outer join menu menu2_ on post1_.menu_id=menu2_.id left outer join user user3_ on post1_.user_id=user3_.id where chatroom0_.room_id=?
Hibernate: select post0_.id as id1_6_3_, post0_.created_at as created_2_6_3_, post0_.modified_at as modified3_6_3_, post0_.room_id as room_id14_6_3_, post0_.check_deleted as check_de4_6_3_, post0_.check_valid as check_va5_6_3_, post0_.contents as contents6_6_3_, post0_.head_count as head_cou7_6_3_, post0_.address as address8_6_3_, post0_.latitude as latitude9_6_3_, post0_.longitude as longitu10_6_3_, post0_.menu_id as menu_id15_6_3_, post0_.order_time as order_t11_6_3_, post0_.restaurant as restaur12_6_3_, post0_.title as title13_6_3_, post0_.user_id as user_id16_6_3_, chatroom1_.room_id as room_id1_3_0_, chatroom1_.created_at as created_2_3_0_, chatroom1_.modified_at as modified3_3_0_, chatroom1_.chat_valid as chat_val4_3_0_, chatroom1_.own_user_id as own_user5_3_0_, chatroom1_.uuid as uuid6_3_0_, menu2_.id as id1_5_1_, menu2_.category as category2_5_1_, menu2_.count as count3_5_1_, menu2_.img_url as img_url4_5_1_, user3_.id as id1_8_2_, user3_.created_at as created_2_8_2_, user3_.modified_at as modified3_8_2_, user3_.age as age4_8_2_, user3_.comment as comment5_8_2_, user3_.email as email6_8_2_, user3_.gender as gender7_8_2_, user3_.kakao_id as kakao_id8_8_2_, user3_.address as address9_8_2_, user3_.latitude as latitud10_8_2_, user3_.longitude as longitu11_8_2_, user3_.manner_score as manner_12_8_2_, user3_.password as passwor13_8_2_, user3_.profile_img as profile14_8_2_, user3_.username as usernam15_8_2_ from post post0_ left outer join chat_room chatroom1_ on post0_.room_id=chatroom1_.room_id left outer join menu menu2_ on post0_.menu_id=menu2_.id left outer join user user3_ on post0_.user_id=user3_.id where post0_.room_id=?
Hibernate: select chatroom0_.room_id as room_id1_3_0_, chatroom0_.created_at as created_2_3_0_, chatroom0_.modified_at as modified3_3_0_, chatroom0_.chat_valid as chat_val4_3_0_, chatroom0_.own_user_id as own_user5_3_0_, chatroom0_.uuid as uuid6_3_0_, post1_.id as id1_6_1_, post1_.created_at as created_2_6_1_, post1_.modified_at as modified3_6_1_, post1_.room_id as room_id14_6_1_, post1_.check_deleted as check_de4_6_1_, post1_.check_valid as check_va5_6_1_, post1_.contents as contents6_6_1_, post1_.head_count as head_cou7_6_1_, post1_.address as address8_6_1_, post1_.latitude as latitude9_6_1_, post1_.longitude as longitu10_6_1_, post1_.menu_id as menu_id15_6_1_, post1_.order_time as order_t11_6_1_, post1_.restaurant as restaur12_6_1_, post1_.title as title13_6_1_, post1_.user_id as user_id16_6_1_, menu2_.id as id1_5_2_, menu2_.category as category2_5_2_, menu2_.count as count3_5_2_, menu2_.img_url as img_url4_5_2_, user3_.id as id1_8_3_, user3_.created_at as created_2_8_3_, user3_.modified_at as modified3_8_3_, user3_.age as age4_8_3_, user3_.comment as comment5_8_3_, user3_.email as email6_8_3_, user3_.gender as gender7_8_3_, user3_.kakao_id as kakao_id8_8_3_, user3_.address as address9_8_3_, user3_.latitude as latitud10_8_3_, user3_.longitude as longitu11_8_3_, user3_.manner_score as manner_12_8_3_, user3_.password as passwor13_8_3_, user3_.profile_img as profile14_8_3_, user3_.username as usernam15_8_3_ from chat_room chatroom0_ left outer join post post1_ on chatroom0_.room_id=post1_.room_id left outer join menu menu2_ on post1_.menu_id=menu2_.id left outer join user user3_ on post1_.user_id=user3_.id where chatroom0_.room_id=?
Hibernate: select post0_.id as id1_6_3_, post0_.created_at as created_2_6_3_, post0_.modified_at as modified3_6_3_, post0_.room_id as room_id14_6_3_, post0_.check_deleted as check_de4_6_3_, post0_.check_valid as check_va5_6_3_, post0_.contents as contents6_6_3_, post0_.head_count as head_cou7_6_3_, post0_.address as address8_6_3_, post0_.latitude as latitude9_6_3_, post0_.longitude as longitu10_6_3_, post0_.menu_id as menu_id15_6_3_, post0_.order_time as order_t11_6_3_, post0_.restaurant as restaur12_6_3_, post0_.title as title13_6_3_, post0_.user_id as user_id16_6_3_, chatroom1_.room_id as room_id1_3_0_, chatroom1_.created_at as created_2_3_0_, chatroom1_.modified_at as modified3_3_0_, chatroom1_.chat_valid as chat_val4_3_0_, chatroom1_.own_user_id as own_user5_3_0_, chatroom1_.uuid as uuid6_3_0_, menu2_.id as id1_5_1_, menu2_.category as category2_5_1_, menu2_.count as count3_5_1_, menu2_.img_url as img_url4_5_1_, user3_.id as id1_8_2_, user3_.created_at as created_2_8_2_, user3_.modified_at as modified3_8_2_, user3_.age as age4_8_2_, user3_.comment as comment5_8_2_, user3_.email as email6_8_2_, user3_.gender as gender7_8_2_, user3_.kakao_id as kakao_id8_8_2_, user3_.address as address9_8_2_, user3_.latitude as latitud10_8_2_, user3_.longitude as longitu11_8_2_, user3_.manner_score as manner_12_8_2_, user3_.password as passwor13_8_2_, user3_.profile_img as profile14_8_2_, user3_.username as usernam15_8_2_ from post post0_ left outer join chat_room chatroom1_ on post0_.room_id=chatroom1_.room_id left outer join menu menu2_ on post0_.menu_id=menu2_.id left outer join user user3_ on post0_.user_id=user3_.id where post0_.room_id=?
Hibernate: select chatroom0_.room_id as room_id1_3_0_, chatroom0_.created_at as created_2_3_0_, chatroom0_.modified_at as modified3_3_0_, chatroom0_.chat_valid as chat_val4_3_0_, chatroom0_.own_user_id as own_user5_3_0_, chatroom0_.uuid as uuid6_3_0_, post1_.id as id1_6_1_, post1_.created_at as created_2_6_1_, post1_.modified_at as modified3_6_1_, post1_.room_id as room_id14_6_1_, post1_.check_deleted as check_de4_6_1_, post1_.check_valid as check_va5_6_1_, post1_.contents as contents6_6_1_, post1_.head_count as head_cou7_6_1_, post1_.address as address8_6_1_, post1_.latitude as latitude9_6_1_, post1_.longitude as longitu10_6_1_, post1_.menu_id as menu_id15_6_1_, post1_.order_time as order_t11_6_1_, post1_.restaurant as restaur12_6_1_, post1_.title as title13_6_1_, post1_.user_id as user_id16_6_1_, menu2_.id as id1_5_2_, menu2_.category as category2_5_2_, menu2_.count as count3_5_2_, menu2_.img_url as img_url4_5_2_, user3_.id as id1_8_3_, user3_.created_at as created_2_8_3_, user3_.modified_at as modified3_8_3_, user3_.age as age4_8_3_, user3_.comment as comment5_8_3_, user3_.email as email6_8_3_, user3_.gender as gender7_8_3_, user3_.kakao_id as kakao_id8_8_3_, user3_.address as address9_8_3_, user3_.latitude as latitud10_8_3_, user3_.longitude as longitu11_8_3_, user3_.manner_score as manner_12_8_3_, user3_.password as passwor13_8_3_, user3_.profile_img as profile14_8_3_, user3_.username as usernam15_8_3_ from chat_room chatroom0_ left outer join post post1_ on chatroom0_.room_id=post1_.room_id left outer join menu menu2_ on post1_.menu_id=menu2_.id left outer join user user3_ on post1_.user_id=user3_.id where chatroom0_.room_id=?
Hibernate: select post0_.id as id1_6_3_, post0_.created_at as created_2_6_3_, post0_.modified_at as modified3_6_3_, post0_.room_id as room_id14_6_3_, post0_.check_deleted as check_de4_6_3_, post0_.check_valid as check_va5_6_3_, post0_.contents as contents6_6_3_, post0_.head_count as head_cou7_6_3_, post0_.address as address8_6_3_, post0_.latitude as latitude9_6_3_, post0_.longitude as longitu10_6_3_, post0_.menu_id as menu_id15_6_3_, post0_.order_time as order_t11_6_3_, post0_.restaurant as restaur12_6_3_, post0_.title as title13_6_3_, post0_.user_id as user_id16_6_3_, chatroom1_.room_id as room_id1_3_0_, chatroom1_.created_at as created_2_3_0_, chatroom1_.modified_at as modified3_3_0_, chatroom1_.chat_valid as chat_val4_3_0_, chatroom1_.own_user_id as own_user5_3_0_, chatroom1_.uuid as uuid6_3_0_, menu2_.id as id1_5_1_, menu2_.category as category2_5_1_, menu2_.count as count3_5_1_, menu2_.img_url as img_url4_5_1_, user3_.id as id1_8_2_, user3_.created_at as created_2_8_2_, user3_.modified_at as modified3_8_2_, user3_.age as age4_8_2_, user3_.comment as comment5_8_2_, user3_.email as email6_8_2_, user3_.gender as gender7_8_2_, user3_.kakao_id as kakao_id8_8_2_, user3_.address as address9_8_2_, user3_.latitude as latitud10_8_2_, user3_.longitude as longitu11_8_2_, user3_.manner_score as manner_12_8_2_, user3_.password as passwor13_8_2_, user3_.profile_img as profile14_8_2_, user3_.username as usernam15_8_2_ from post post0_ left outer join chat_room chatroom1_ on post0_.room_id=chatroom1_.room_id left outer join menu menu2_ on post0_.menu_id=menu2_.id left outer join user user3_ on post0_.user_id=user3_.id where post0_.room_id=?
Hibernate: select chatroom0_.room_id as room_id1_3_0_, chatroom0_.created_at as created_2_3_0_, chatroom0_.modified_at as modified3_3_0_, chatroom0_.chat_valid as chat_val4_3_0_, chatroom0_.own_user_id as own_user5_3_0_, chatroom0_.uuid as uuid6_3_0_, post1_.id as id1_6_1_, post1_.created_at as created_2_6_1_, post1_.modified_at as modified3_6_1_, post1_.room_id as room_id14_6_1_, post1_.check_deleted as check_de4_6_1_, post1_.check_valid as check_va5_6_1_, post1_.contents as contents6_6_1_, post1_.head_count as head_cou7_6_1_, post1_.address as address8_6_1_, post1_.latitude as latitude9_6_1_, post1_.longitude as longitu10_6_1_, post1_.menu_id as menu_id15_6_1_, post1_.order_time as order_t11_6_1_, post1_.restaurant as restaur12_6_1_, post1_.title as title13_6_1_, post1_.user_id as user_id16_6_1_, menu2_.id as id1_5_2_, menu2_.category as category2_5_2_, menu2_.count as count3_5_2_, menu2_.img_url as img_url4_5_2_, user3_.id as id1_8_3_, user3_.created_at as created_2_8_3_, user3_.modified_at as modified3_8_3_, user3_.age as age4_8_3_, user3_.comment as comment5_8_3_, user3_.email as email6_8_3_, user3_.gender as gender7_8_3_, user3_.kakao_id as kakao_id8_8_3_, user3_.address as address9_8_3_, user3_.latitude as latitud10_8_3_, user3_.longitude as longitu11_8_3_, user3_.manner_score as manner_12_8_3_, user3_.password as passwor13_8_3_, user3_.profile_img as profile14_8_3_, user3_.username as usernam15_8_3_ from chat_room chatroom0_ left outer join post post1_ on chatroom0_.room_id=post1_.room_id left outer join menu menu2_ on post1_.menu_id=menu2_.id left outer join user user3_ on post1_.user_id=user3_.id where chatroom0_.room_id=?
Hibernate: select post0_.id as id1_6_3_, post0_.created_at as created_2_6_3_, post0_.modified_at as modified3_6_3_, post0_.room_id as room_id14_6_3_, post0_.check_deleted as check_de4_6_3_, post0_.check_valid as check_va5_6_3_, post0_.contents as contents6_6_3_, post0_.head_count as head_cou7_6_3_, post0_.address as address8_6_3_, post0_.latitude as latitude9_6_3_, post0_.longitude as longitu10_6_3_, post0_.menu_id as menu_id15_6_3_, post0_.order_time as order_t11_6_3_, post0_.restaurant as restaur12_6_3_, post0_.title as title13_6_3_, post0_.user_id as user_id16_6_3_, chatroom1_.room_id as room_id1_3_0_, chatroom1_.created_at as created_2_3_0_, chatroom1_.modified_at as modified3_3_0_, chatroom1_.chat_valid as chat_val4_3_0_, chatroom1_.own_user_id as own_user5_3_0_, chatroom1_.uuid as uuid6_3_0_, menu2_.id as id1_5_1_, menu2_.category as category2_5_1_, menu2_.count as count3_5_1_, menu2_.img_url as img_url4_5_1_, user3_.id as id1_8_2_, user3_.created_at as created_2_8_2_, user3_.modified_at as modified3_8_2_, user3_.age as age4_8_2_, user3_.comment as comment5_8_2_, user3_.email as email6_8_2_, user3_.gender as gender7_8_2_, user3_.kakao_id as kakao_id8_8_2_, user3_.address as address9_8_2_, user3_.latitude as latitud10_8_2_, user3_.longitude as longitu11_8_2_, user3_.manner_score as manner_12_8_2_, user3_.password as passwor13_8_2_, user3_.profile_img as profile14_8_2_, user3_.username as usernam15_8_2_ from post post0_ left outer join chat_room chatroom1_ on post0_.room_id=chatroom1_.room_id left outer join menu menu2_ on post0_.menu_id=menu2_.id left outer join user user3_ on post0_.user_id=user3_.id where post0_.room_id=?
Hibernate: select chatroom0_.room_id as room_id1_3_0_, chatroom0_.created_at as created_2_3_0_, chatroom0_.modified_at as modified3_3_0_, chatroom0_.chat_valid as chat_val4_3_0_, chatroom0_.own_user_id as own_user5_3_0_, chatroom0_.uuid as uuid6_3_0_, post1_.id as id1_6_1_, post1_.created_at as created_2_6_1_, post1_.modified_at as modified3_6_1_, post1_.room_id as room_id14_6_1_, post1_.check_deleted as check_de4_6_1_, post1_.check_valid as check_va5_6_1_, post1_.contents as contents6_6_1_, post1_.head_count as head_cou7_6_1_, post1_.address as address8_6_1_, post1_.latitude as latitude9_6_1_, post1_.longitude as longitu10_6_1_, post1_.menu_id as menu_id15_6_1_, post1_.order_time as order_t11_6_1_, post1_.restaurant as restaur12_6_1_, post1_.title as title13_6_1_, post1_.user_id as user_id16_6_1_, menu2_.id as id1_5_2_, menu2_.category as category2_5_2_, menu2_.count as count3_5_2_, menu2_.img_url as img_url4_5_2_, user3_.id as id1_8_3_, user3_.created_at as created_2_8_3_, user3_.modified_at as modified3_8_3_, user3_.age as age4_8_3_, user3_.comment as comment5_8_3_, user3_.email as email6_8_3_, user3_.gender as gender7_8_3_, user3_.kakao_id as kakao_id8_8_3_, user3_.address as address9_8_3_, user3_.latitude as latitud10_8_3_, user3_.longitude as longitu11_8_3_, user3_.manner_score as manner_12_8_3_, user3_.password as passwor13_8_3_, user3_.profile_img as profile14_8_3_, user3_.username as usernam15_8_3_ from chat_room chatroom0_ left outer join post post1_ on chatroom0_.room_id=post1_.room_id left outer join menu menu2_ on post1_.menu_id=menu2_.id left outer join user user3_ on post1_.user_id=user3_.id where chatroom0_.room_id=?
Hibernate: select post0_.id as id1_6_3_, post0_.created_at as created_2_6_3_, post0_.modified_at as modified3_6_3_, post0_.room_id as room_id14_6_3_, post0_.check_deleted as check_de4_6_3_, post0_.check_valid as check_va5_6_3_, post0_.contents as contents6_6_3_, post0_.head_count as head_cou7_6_3_, post0_.address as address8_6_3_, post0_.latitude as latitude9_6_3_, post0_.longitude as longitu10_6_3_, post0_.menu_id as menu_id15_6_3_, post0_.order_time as order_t11_6_3_, post0_.restaurant as restaur12_6_3_, post0_.title as title13_6_3_, post0_.user_id as user_id16_6_3_, chatroom1_.room_id as room_id1_3_0_, chatroom1_.created_at as created_2_3_0_, chatroom1_.modified_at as modified3_3_0_, chatroom1_.chat_valid as chat_val4_3_0_, chatroom1_.own_user_id as own_user5_3_0_, chatroom1_.uuid as uuid6_3_0_, menu2_.id as id1_5_1_, menu2_.category as category2_5_1_, menu2_.count as count3_5_1_, menu2_.img_url as img_url4_5_1_, user3_.id as id1_8_2_, user3_.created_at as created_2_8_2_, user3_.modified_at as modified3_8_2_, user3_.age as age4_8_2_, user3_.comment as comment5_8_2_, user3_.email as email6_8_2_, user3_.gender as gender7_8_2_, user3_.kakao_id as kakao_id8_8_2_, user3_.address as address9_8_2_, user3_.latitude as latitud10_8_2_, user3_.longitude as longitu11_8_2_, user3_.manner_score as manner_12_8_2_, user3_.password as passwor13_8_2_, user3_.profile_img as profile14_8_2_, user3_.username as usernam15_8_2_ from post post0_ left outer join chat_room chatroom1_ on post0_.room_id=chatroom1_.room_id left outer join menu menu2_ on post0_.menu_id=menu2_.id left outer join user user3_ on post0_.user_id=user3_.id where post0_.room_id=?
Hibernate: select chatroom0_.room_id as room_id1_3_0_, chatroom0_.created_at as created_2_3_0_, chatroom0_.modified_at as modified3_3_0_, chatroom0_.chat_valid as chat_val4_3_0_, chatroom0_.own_user_id as own_user5_3_0_, chatroom0_.uuid as uuid6_3_0_, post1_.id as id1_6_1_, post1_.created_at as created_2_6_1_, post1_.modified_at as modified3_6_1_, post1_.room_id as room_id14_6_1_, post1_.check_deleted as check_de4_6_1_, post1_.check_valid as check_va5_6_1_, post1_.contents as contents6_6_1_, post1_.head_count as head_cou7_6_1_, post1_.address as address8_6_1_, post1_.latitude as latitude9_6_1_, post1_.longitude as longitu10_6_1_, post1_.menu_id as menu_id15_6_1_, post1_.order_time as order_t11_6_1_, post1_.restaurant as restaur12_6_1_, post1_.title as title13_6_1_, post1_.user_id as user_id16_6_1_, menu2_.id as id1_5_2_, menu2_.category as category2_5_2_, menu2_.count as count3_5_2_, menu2_.img_url as img_url4_5_2_, user3_.id as id1_8_3_, user3_.created_at as created_2_8_3_, user3_.modified_at as modified3_8_3_, user3_.age as age4_8_3_, user3_.comment as comment5_8_3_, user3_.email as email6_8_3_, user3_.gender as gender7_8_3_, user3_.kakao_id as kakao_id8_8_3_, user3_.address as address9_8_3_, user3_.latitude as latitud10_8_3_, user3_.longitude as longitu11_8_3_, user3_.manner_score as manner_12_8_3_, user3_.password as passwor13_8_3_, user3_.profile_img as profile14_8_3_, user3_.username as usernam15_8_3_ from chat_room chatroom0_ left outer join post post1_ on chatroom0_.room_id=post1_.room_id left outer join menu menu2_ on post1_.menu_id=menu2_.id left outer join user user3_ on post1_.user_id=user3_.id where chatroom0_.room_id=?
Hibernate: select post0_.id as id1_6_3_, post0_.created_at as created_2_6_3_, post0_.modified_at as modified3_6_3_, post0_.room_id as room_id14_6_3_, post0_.check_deleted as check_de4_6_3_, post0_.check_valid as check_va5_6_3_, post0_.contents as contents6_6_3_, post0_.head_count as head_cou7_6_3_, post0_.address as address8_6_3_, post0_.latitude as latitude9_6_3_, post0_.longitude as longitu10_6_3_, post0_.menu_id as menu_id15_6_3_, post0_.order_time as order_t11_6_3_, post0_.restaurant as restaur12_6_3_, post0_.title as title13_6_3_, post0_.user_id as user_id16_6_3_, chatroom1_.room_id as room_id1_3_0_, chatroom1_.created_at as created_2_3_0_, chatroom1_.modified_at as modified3_3_0_, chatroom1_.chat_valid as chat_val4_3_0_, chatroom1_.own_user_id as own_user5_3_0_, chatroom1_.uuid as uuid6_3_0_, menu2_.id as id1_5_1_, menu2_.category as category2_5_1_, menu2_.count as count3_5_1_, menu2_.img_url as img_url4_5_1_, user3_.id as id1_8_2_, user3_.created_at as created_2_8_2_, user3_.modified_at as modified3_8_2_, user3_.age as age4_8_2_, user3_.comment as comment5_8_2_, user3_.email as email6_8_2_, user3_.gender as gender7_8_2_, user3_.kakao_id as kakao_id8_8_2_, user3_.address as address9_8_2_, user3_.latitude as latitud10_8_2_, user3_.longitude as longitu11_8_2_, user3_.manner_score as manner_12_8_2_, user3_.password as passwor13_8_2_, user3_.profile_img as profile14_8_2_, user3_.username as usernam15_8_2_ from post post0_ left outer join chat_room chatroom1_ on post0_.room_id=chatroom1_.room_id left outer join menu menu2_ on post0_.menu_id=menu2_.id left outer join user user3_ on post0_.user_id=user3_.id where post0_.room_id=?
Hibernate: select chatroom0_.room_id as room_id1_3_0_, chatroom0_.created_at as created_2_3_0_, chatroom0_.modified_at as modified3_3_0_, chatroom0_.chat_valid as chat_val4_3_0_, chatroom0_.own_user_id as own_user5_3_0_, chatroom0_.uuid as uuid6_3_0_, post1_.id as id1_6_1_, post1_.created_at as created_2_6_1_, post1_.modified_at as modified3_6_1_, post1_.room_id as room_id14_6_1_, post1_.check_deleted as check_de4_6_1_, post1_.check_valid as check_va5_6_1_, post1_.contents as contents6_6_1_, post1_.head_count as head_cou7_6_1_, post1_.address as address8_6_1_, post1_.latitude as latitude9_6_1_, post1_.longitude as longitu10_6_1_, post1_.menu_id as menu_id15_6_1_, post1_.order_time as order_t11_6_1_, post1_.restaurant as restaur12_6_1_, post1_.title as title13_6_1_, post1_.user_id as user_id16_6_1_, menu2_.id as id1_5_2_, menu2_.category as category2_5_2_, menu2_.count as count3_5_2_, menu2_.img_url as img_url4_5_2_, user3_.id as id1_8_3_, user3_.created_at as created_2_8_3_, user3_.modified_at as modified3_8_3_, user3_.age as age4_8_3_, user3_.comment as comment5_8_3_, user3_.email as email6_8_3_, user3_.gender as gender7_8_3_, user3_.kakao_id as kakao_id8_8_3_, user3_.address as address9_8_3_, user3_.latitude as latitud10_8_3_, user3_.longitude as longitu11_8_3_, user3_.manner_score as manner_12_8_3_, user3_.password as passwor13_8_3_, user3_.profile_img as profile14_8_3_, user3_.username as usernam15_8_3_ from chat_room chatroom0_ left outer join post post1_ on chatroom0_.room_id=post1_.room_id left outer join menu menu2_ on post1_.menu_id=menu2_.id left outer join user user3_ on post1_.user_id=user3_.id where chatroom0_.room_id=?
Hibernate: select post0_.id as id1_6_3_, post0_.created_at as created_2_6_3_, post0_.modified_at as modified3_6_3_, post0_.room_id as room_id14_6_3_, post0_.check_deleted as check_de4_6_3_, post0_.check_valid as check_va5_6_3_, post0_.contents as contents6_6_3_, post0_.head_count as head_cou7_6_3_, post0_.address as address8_6_3_, post0_.latitude as latitude9_6_3_, post0_.longitude as longitu10_6_3_, post0_.menu_id as menu_id15_6_3_, post0_.order_time as order_t11_6_3_, post0_.restaurant as restaur12_6_3_, post0_.title as title13_6_3_, post0_.user_id as user_id16_6_3_, chatroom1_.room_id as room_id1_3_0_, chatroom1_.created_at as created_2_3_0_, chatroom1_.modified_at as modified3_3_0_, chatroom1_.chat_valid as chat_val4_3_0_, chatroom1_.own_user_id as own_user5_3_0_, chatroom1_.uuid as uuid6_3_0_, menu2_.id as id1_5_1_, menu2_.category as category2_5_1_, menu2_.count as count3_5_1_, menu2_.img_url as img_url4_5_1_, user3_.id as id1_8_2_, user3_.created_at as created_2_8_2_, user3_.modified_at as modified3_8_2_, user3_.age as age4_8_2_, user3_.comment as comment5_8_2_, user3_.email as email6_8_2_, user3_.gender as gender7_8_2_, user3_.kakao_id as kakao_id8_8_2_, user3_.address as address9_8_2_, user3_.latitude as latitud10_8_2_, user3_.longitude as longitu11_8_2_, user3_.manner_score as manner_12_8_2_, user3_.password as passwor13_8_2_, user3_.profile_img as profile14_8_2_, user3_.username as usernam15_8_2_ from post post0_ left outer join chat_room chatroom1_ on post0_.room_id=chatroom1_.room_id left outer join menu menu2_ on post0_.menu_id=menu2_.id left outer join user user3_ on post0_.user_id=user3_.id where post0_.room_id=?
Hibernate: select chatroom0_.room_id as room_id1_3_0_, chatroom0_.created_at as created_2_3_0_, chatroom0_.modified_at as modified3_3_0_, chatroom0_.chat_valid as chat_val4_3_0_, chatroom0_.own_user_id as own_user5_3_0_, chatroom0_.uuid as uuid6_3_0_, post1_.id as id1_6_1_, post1_.created_at as created_2_6_1_, post1_.modified_at as modified3_6_1_, post1_.room_id as room_id14_6_1_, post1_.check_deleted as check_de4_6_1_, post1_.check_valid as check_va5_6_1_, post1_.contents as contents6_6_1_, post1_.head_count as head_cou7_6_1_, post1_.address as address8_6_1_, post1_.latitude as latitude9_6_1_, post1_.longitude as longitu10_6_1_, post1_.menu_id as menu_id15_6_1_, post1_.order_time as order_t11_6_1_, post1_.restaurant as restaur12_6_1_, post1_.title as title13_6_1_, post1_.user_id as user_id16_6_1_, menu2_.id as id1_5_2_, menu2_.category as category2_5_2_, menu2_.count as count3_5_2_, menu2_.img_url as img_url4_5_2_, user3_.id as id1_8_3_, user3_.created_at as created_2_8_3_, user3_.modified_at as modified3_8_3_, user3_.age as age4_8_3_, user3_.comment as comment5_8_3_, user3_.email as email6_8_3_, user3_.gender as gender7_8_3_, user3_.kakao_id as kakao_id8_8_3_, user3_.address as address9_8_3_, user3_.latitude as latitud10_8_3_, user3_.longitude as longitu11_8_3_, user3_.manner_score as manner_12_8_3_, user3_.password as passwor13_8_3_, user3_.profile_img as profile14_8_3_, user3_.username as usernam15_8_3_ from chat_room chatroom0_ left outer join post post1_ on chatroom0_.room_id=post1_.room_id left outer join menu menu2_ on post1_.menu_id=menu2_.id left outer join user user3_ on post1_.user_id=user3_.id where chatroom0_.room_id=?
Hibernate: select post0_.id as id1_6_3_, post0_.created_at as created_2_6_3_, post0_.modified_at as modified3_6_3_, post0_.room_id as room_id14_6_3_, post0_.check_deleted as check_de4_6_3_, post0_.check_valid as check_va5_6_3_, post0_.contents as contents6_6_3_, post0_.head_count as head_cou7_6_3_, post0_.address as address8_6_3_, post0_.latitude as latitude9_6_3_, post0_.longitude as longitu10_6_3_, post0_.menu_id as menu_id15_6_3_, post0_.order_time as order_t11_6_3_, post0_.restaurant as restaur12_6_3_, post0_.title as title13_6_3_, post0_.user_id as user_id16_6_3_, chatroom1_.room_id as room_id1_3_0_, chatroom1_.created_at as created_2_3_0_, chatroom1_.modified_at as modified3_3_0_, chatroom1_.chat_valid as chat_val4_3_0_, chatroom1_.own_user_id as own_user5_3_0_, chatroom1_.uuid as uuid6_3_0_, menu2_.id as id1_5_1_, menu2_.category as category2_5_1_, menu2_.count as count3_5_1_, menu2_.img_url as img_url4_5_1_, user3_.id as id1_8_2_, user3_.created_at as created_2_8_2_, user3_.modified_at as modified3_8_2_, user3_.age as age4_8_2_, user3_.comment as comment5_8_2_, user3_.email as email6_8_2_, user3_.gender as gender7_8_2_, user3_.kakao_id as kakao_id8_8_2_, user3_.address as address9_8_2_, user3_.latitude as latitud10_8_2_, user3_.longitude as longitu11_8_2_, user3_.manner_score as manner_12_8_2_, user3_.password as passwor13_8_2_, user3_.profile_img as profile14_8_2_, user3_.username as usernam15_8_2_ from post post0_ left outer join chat_room chatroom1_ on post0_.room_id=chatroom1_.room_id left outer join menu menu2_ on post0_.menu_id=menu2_.id left outer join user user3_ on post0_.user_id=user3_.id where post0_.room_id=?
Hibernate: select chatroom0_.room_id as room_id1_3_0_, chatroom0_.created_at as created_2_3_0_, chatroom0_.modified_at as modified3_3_0_, chatroom0_.chat_valid as chat_val4_3_0_, chatroom0_.own_user_id as own_user5_3_0_, chatroom0_.uuid as uuid6_3_0_, post1_.id as id1_6_1_, post1_.created_at as created_2_6_1_, post1_.modified_at as modified3_6_1_, post1_.room_id as room_id14_6_1_, post1_.check_deleted as check_de4_6_1_, post1_.check_valid as check_va5_6_1_, post1_.contents as contents6_6_1_, post1_.head_count as head_cou7_6_1_, post1_.address as address8_6_1_, post1_.latitude as latitude9_6_1_, post1_.longitude as longitu10_6_1_, post1_.menu_id as menu_id15_6_1_, post1_.order_time as order_t11_6_1_, post1_.restaurant as restaur12_6_1_, post1_.title as title13_6_1_, post1_.user_id as user_id16_6_1_, menu2_.id as id1_5_2_, menu2_.category as category2_5_2_, menu2_.count as count3_5_2_, menu2_.img_url as img_url4_5_2_, user3_.id as id1_8_3_, user3_.created_at as created_2_8_3_, user3_.modified_at as modified3_8_3_, user3_.age as age4_8_3_, user3_.comment as comment5_8_3_, user3_.email as email6_8_3_, user3_.gender as gender7_8_3_, user3_.kakao_id as kakao_id8_8_3_, user3_.address as address9_8_3_, user3_.latitude as latitud10_8_3_, user3_.longitude as longitu11_8_3_, user3_.manner_score as manner_12_8_3_, user3_.password as passwor13_8_3_, user3_.profile_img as profile14_8_3_, user3_.username as usernam15_8_3_ from chat_room chatroom0_ left outer join post post1_ on chatroom0_.room_id=post1_.room_id left outer join menu menu2_ on post1_.menu_id=menu2_.id left outer join user user3_ on post1_.user_id=user3_.id where chatroom0_.room_id=?
Hibernate: select post0_.id as id1_6_3_, post0_.created_at as created_2_6_3_, post0_.modified_at as modified3_6_3_, post0_.room_id as room_id14_6_3_, post0_.check_deleted as check_de4_6_3_, post0_.check_valid as check_va5_6_3_, post0_.contents as contents6_6_3_, post0_.head_count as head_cou7_6_3_, post0_.address as address8_6_3_, post0_.latitude as latitude9_6_3_, post0_.longitude as longitu10_6_3_, post0_.menu_id as menu_id15_6_3_, post0_.order_time as order_t11_6_3_, post0_.restaurant as restaur12_6_3_, post0_.title as title13_6_3_, post0_.user_id as user_id16_6_3_, chatroom1_.room_id as room_id1_3_0_, chatroom1_.created_at as created_2_3_0_, chatroom1_.modified_at as modified3_3_0_, chatroom1_.chat_valid as chat_val4_3_0_, chatroom1_.own_user_id as own_user5_3_0_, chatroom1_.uuid as uuid6_3_0_, menu2_.id as id1_5_1_, menu2_.category as category2_5_1_, menu2_.count as count3_5_1_, menu2_.img_url as img_url4_5_1_, user3_.id as id1_8_2_, user3_.created_at as created_2_8_2_, user3_.modified_at as modified3_8_2_, user3_.age as age4_8_2_, user3_.comment as comment5_8_2_, user3_.email as email6_8_2_, user3_.gender as gender7_8_2_, user3_.kakao_id as kakao_id8_8_2_, user3_.address as address9_8_2_, user3_.latitude as latitud10_8_2_, user3_.longitude as longitu11_8_2_, user3_.manner_score as manner_12_8_2_, user3_.password as passwor13_8_2_, user3_.profile_img as profile14_8_2_, user3_.username as usernam15_8_2_ from post post0_ left outer join chat_room chatroom1_ on post0_.room_id=chatroom1_.room_id left outer join menu menu2_ on post0_.menu_id=menu2_.id left outer join user user3_ on post0_.user_id=user3_.id where post0_.room_id=?
Hibernate: select chatroom0_.room_id as room_id1_3_0_, chatroom0_.created_at as created_2_3_0_, chatroom0_.modified_at as modified3_3_0_, chatroom0_.chat_valid as chat_val4_3_0_, chatroom0_.own_user_id as own_user5_3_0_, chatroom0_.uuid as uuid6_3_0_, post1_.id as id1_6_1_, post1_.created_at as created_2_6_1_, post1_.modified_at as modified3_6_1_, post1_.room_id as room_id14_6_1_, post1_.check_deleted as check_de4_6_1_, post1_.check_valid as check_va5_6_1_, post1_.contents as contents6_6_1_, post1_.head_count as head_cou7_6_1_, post1_.address as address8_6_1_, post1_.latitude as latitude9_6_1_, post1_.longitude as longitu10_6_1_, post1_.menu_id as menu_id15_6_1_, post1_.order_time as order_t11_6_1_, post1_.restaurant as restaur12_6_1_, post1_.title as title13_6_1_, post1_.user_id as user_id16_6_1_, menu2_.id as id1_5_2_, menu2_.category as category2_5_2_, menu2_.count as count3_5_2_, menu2_.img_url as img_url4_5_2_, user3_.id as id1_8_3_, user3_.created_at as created_2_8_3_, user3_.modified_at as modified3_8_3_, user3_.age as age4_8_3_, user3_.comment as comment5_8_3_, user3_.email as email6_8_3_, user3_.gender as gender7_8_3_, user3_.kakao_id as kakao_id8_8_3_, user3_.address as address9_8_3_, user3_.latitude as latitud10_8_3_, user3_.longitude as longitu11_8_3_, user3_.manner_score as manner_12_8_3_, user3_.password as passwor13_8_3_, user3_.profile_img as profile14_8_3_, user3_.username as usernam15_8_3_ from chat_room chatroom0_ left outer join post post1_ on chatroom0_.room_id=post1_.room_id left outer join menu menu2_ on post1_.menu_id=menu2_.id left outer join user user3_ on post1_.user_id=user3_.id where chatroom0_.room_id=?
Hibernate: select post0_.id as id1_6_3_, post0_.created_at as created_2_6_3_, post0_.modified_at as modified3_6_3_, post0_.room_id as room_id14_6_3_, post0_.check_deleted as check_de4_6_3_, post0_.check_valid as check_va5_6_3_, post0_.contents as contents6_6_3_, post0_.head_count as head_cou7_6_3_, post0_.address as address8_6_3_, post0_.latitude as latitude9_6_3_, post0_.longitude as longitu10_6_3_, post0_.menu_id as menu_id15_6_3_, post0_.order_time as order_t11_6_3_, post0_.restaurant as restaur12_6_3_, post0_.title as title13_6_3_, post0_.user_id as user_id16_6_3_, chatroom1_.room_id as room_id1_3_0_, chatroom1_.created_at as created_2_3_0_, chatroom1_.modified_at as modified3_3_0_, chatroom1_.chat_valid as chat_val4_3_0_, chatroom1_.own_user_id as own_user5_3_0_, chatroom1_.uuid as uuid6_3_0_, menu2_.id as id1_5_1_, menu2_.category as category2_5_1_, menu2_.count as count3_5_1_, menu2_.img_url as img_url4_5_1_, user3_.id as id1_8_2_, user3_.created_at as created_2_8_2_, user3_.modified_at as modified3_8_2_, user3_.age as age4_8_2_, user3_.comment as comment5_8_2_, user3_.email as email6_8_2_, user3_.gender as gender7_8_2_, user3_.kakao_id as kakao_id8_8_2_, user3_.address as address9_8_2_, user3_.latitude as latitud10_8_2_, user3_.longitude as longitu11_8_2_, user3_.manner_score as manner_12_8_2_, user3_.password as passwor13_8_2_, user3_.profile_img as profile14_8_2_, user3_.username as usernam15_8_2_ from post post0_ left outer join chat_room chatroom1_ on post0_.room_id=chatroom1_.room_id left outer join menu menu2_ on post0_.menu_id=menu2_.id left outer join user user3_ on post0_.user_id=user3_.id where post0_.room_id=?
Hibernate: select chatroom0_.room_id as room_id1_3_0_, chatroom0_.created_at as created_2_3_0_, chatroom0_.modified_at as modified3_3_0_, chatroom0_.chat_valid as chat_val4_3_0_, chatroom0_.own_user_id as own_user5_3_0_, chatroom0_.uuid as uuid6_3_0_, post1_.id as id1_6_1_, post1_.created_at as created_2_6_1_, post1_.modified_at as modified3_6_1_, post1_.room_id as room_id14_6_1_, post1_.check_deleted as check_de4_6_1_, post1_.check_valid as check_va5_6_1_, post1_.contents as contents6_6_1_, post1_.head_count as head_cou7_6_1_, post1_.address as address8_6_1_, post1_.latitude as latitude9_6_1_, post1_.longitude as longitu10_6_1_, post1_.menu_id as menu_id15_6_1_, post1_.order_time as order_t11_6_1_, post1_.restaurant as restaur12_6_1_, post1_.title as title13_6_1_, post1_.user_id as user_id16_6_1_, menu2_.id as id1_5_2_, menu2_.category as category2_5_2_, menu2_.count as count3_5_2_, menu2_.img_url as img_url4_5_2_, user3_.id as id1_8_3_, user3_.created_at as created_2_8_3_, user3_.modified_at as modified3_8_3_, user3_.age as age4_8_3_, user3_.comment as comment5_8_3_, user3_.email as email6_8_3_, user3_.gender as gender7_8_3_, user3_.kakao_id as kakao_id8_8_3_, user3_.address as address9_8_3_, user3_.latitude as latitud10_8_3_, user3_.longitude as longitu11_8_3_, user3_.manner_score as manner_12_8_3_, user3_.password as passwor13_8_3_, user3_.profile_img as profile14_8_3_, user3_.username as usernam15_8_3_ from chat_room chatroom0_ left outer join post post1_ on chatroom0_.room_id=post1_.room_id left outer join menu menu2_ on post1_.menu_id=menu2_.id left outer join user user3_ on post1_.user_id=user3_.id where chatroom0_.room_id=?
Hibernate: select post0_.id as id1_6_3_, post0_.created_at as created_2_6_3_, post0_.modified_at as modified3_6_3_, post0_.room_id as room_id14_6_3_, post0_.check_deleted as check_de4_6_3_, post0_.check_valid as check_va5_6_3_, post0_.contents as contents6_6_3_, post0_.head_count as head_cou7_6_3_, post0_.address as address8_6_3_, post0_.latitude as latitude9_6_3_, post0_.longitude as longitu10_6_3_, post0_.menu_id as menu_id15_6_3_, post0_.order_time as order_t11_6_3_, post0_.restaurant as restaur12_6_3_, post0_.title as title13_6_3_, post0_.user_id as user_id16_6_3_, chatroom1_.room_id as room_id1_3_0_, chatroom1_.created_at as created_2_3_0_, chatroom1_.modified_at as modified3_3_0_, chatroom1_.chat_valid as chat_val4_3_0_, chatroom1_.own_user_id as own_user5_3_0_, chatroom1_.uuid as uuid6_3_0_, menu2_.id as id1_5_1_, menu2_.category as category2_5_1_, menu2_.count as count3_5_1_, menu2_.img_url as img_url4_5_1_, user3_.id as id1_8_2_, user3_.created_at as created_2_8_2_, user3_.modified_at as modified3_8_2_, user3_.age as age4_8_2_, user3_.comment as comment5_8_2_, user3_.email as email6_8_2_, user3_.gender as gender7_8_2_, user3_.kakao_id as kakao_id8_8_2_, user3_.address as address9_8_2_, user3_.latitude as latitud10_8_2_, user3_.longitude as longitu11_8_2_, user3_.manner_score as manner_12_8_2_, user3_.password as passwor13_8_2_, user3_.profile_img as profile14_8_2_, user3_.username as usernam15_8_2_ from post post0_ left outer join chat_room chatroom1_ on post0_.room_id=chatroom1_.room_id left outer join menu menu2_ on post0_.menu_id=menu2_.id left outer join user user3_ on post0_.user_id=user3_.id where post0_.room_id=?
Hibernate: select chatroom0_.room_id as room_id1_3_0_, chatroom0_.created_at as created_2_3_0_, chatroom0_.modified_at as modified3_3_0_, chatroom0_.chat_valid as chat_val4_3_0_, chatroom0_.own_user_id as own_user5_3_0_, chatroom0_.uuid as uuid6_3_0_, post1_.id as id1_6_1_, post1_.created_at as created_2_6_1_, post1_.modified_at as modified3_6_1_, post1_.room_id as room_id14_6_1_, post1_.check_deleted as check_de4_6_1_, post1_.check_valid as check_va5_6_1_, post1_.contents as contents6_6_1_, post1_.head_count as head_cou7_6_1_, post1_.address as address8_6_1_, post1_.latitude as latitude9_6_1_, post1_.longitude as longitu10_6_1_, post1_.menu_id as menu_id15_6_1_, post1_.order_time as order_t11_6_1_, post1_.restaurant as restaur12_6_1_, post1_.title as title13_6_1_, post1_.user_id as user_id16_6_1_, menu2_.id as id1_5_2_, menu2_.category as category2_5_2_, menu2_.count as count3_5_2_, menu2_.img_url as img_url4_5_2_, user3_.id as id1_8_3_, user3_.created_at as created_2_8_3_, user3_.modified_at as modified3_8_3_, user3_.age as age4_8_3_, user3_.comment as comment5_8_3_, user3_.email as email6_8_3_, user3_.gender as gender7_8_3_, user3_.kakao_id as kakao_id8_8_3_, user3_.address as address9_8_3_, user3_.latitude as latitud10_8_3_, user3_.longitude as longitu11_8_3_, user3_.manner_score as manner_12_8_3_, user3_.password as passwor13_8_3_, user3_.profile_img as profile14_8_3_, user3_.username as usernam15_8_3_ from chat_room chatroom0_ left outer join post post1_ on chatroom0_.room_id=post1_.room_id left outer join menu menu2_ on post1_.menu_id=menu2_.id left outer join user user3_ on post1_.user_id=user3_.id where chatroom0_.room_id=?
Hibernate: select post0_.id as id1_6_3_, post0_.created_at as created_2_6_3_, post0_.modified_at as modified3_6_3_, post0_.room_id as room_id14_6_3_, post0_.check_deleted as check_de4_6_3_, post0_.check_valid as check_va5_6_3_, post0_.contents as contents6_6_3_, post0_.head_count as head_cou7_6_3_, post0_.address as address8_6_3_, post0_.latitude as latitude9_6_3_, post0_.longitude as longitu10_6_3_, post0_.menu_id as menu_id15_6_3_, post0_.order_time as order_t11_6_3_, post0_.restaurant as restaur12_6_3_, post0_.title as title13_6_3_, post0_.user_id as user_id16_6_3_, chatroom1_.room_id as room_id1_3_0_, chatroom1_.created_at as created_2_3_0_, chatroom1_.modified_at as modified3_3_0_, chatroom1_.chat_valid as chat_val4_3_0_, chatroom1_.own_user_id as own_user5_3_0_, chatroom1_.uuid as uuid6_3_0_, menu2_.id as id1_5_1_, menu2_.category as category2_5_1_, menu2_.count as count3_5_1_, menu2_.img_url as img_url4_5_1_, user3_.id as id1_8_2_, user3_.created_at as created_2_8_2_, user3_.modified_at as modified3_8_2_, user3_.age as age4_8_2_, user3_.comment as comment5_8_2_, user3_.email as email6_8_2_, user3_.gender as gender7_8_2_, user3_.kakao_id as kakao_id8_8_2_, user3_.address as address9_8_2_, user3_.latitude as latitud10_8_2_, user3_.longitude as longitu11_8_2_, user3_.manner_score as manner_12_8_2_, user3_.password as passwor13_8_2_, user3_.profile_img as profile14_8_2_, user3_.username as usernam15_8_2_ from post post0_ left outer join chat_room chatroom1_ on post0_.room_id=chatroom1_.room_id left outer join menu menu2_ on post0_.menu_id=menu2_.id left outer join user user3_ on post0_.user_id=user3_.id where post0_.room_id=?
Hibernate: select chatroom0_.room_id as room_id1_3_0_, chatroom0_.created_at as created_2_3_0_, chatroom0_.modified_at as modified3_3_0_, chatroom0_.chat_valid as chat_val4_3_0_, chatroom0_.own_user_id as own_user5_3_0_, chatroom0_.uuid as uuid6_3_0_, post1_.id as id1_6_1_, post1_.created_at as created_2_6_1_, post1_.modified_at as modified3_6_1_, post1_.room_id as room_id14_6_1_, post1_.check_deleted as check_de4_6_1_, post1_.check_valid as check_va5_6_1_, post1_.contents as contents6_6_1_, post1_.head_count as head_cou7_6_1_, post1_.address as address8_6_1_, post1_.latitude as latitude9_6_1_, post1_.longitude as longitu10_6_1_, post1_.menu_id as menu_id15_6_1_, post1_.order_time as order_t11_6_1_, post1_.restaurant as restaur12_6_1_, post1_.title as title13_6_1_, post1_.user_id as user_id16_6_1_, menu2_.id as id1_5_2_, menu2_.category as category2_5_2_, menu2_.count as count3_5_2_, menu2_.img_url as img_url4_5_2_, user3_.id as id1_8_3_, user3_.created_at as created_2_8_3_, user3_.modified_at as modified3_8_3_, user3_.age as age4_8_3_, user3_.comment as comment5_8_3_, user3_.email as email6_8_3_, user3_.gender as gender7_8_3_, user3_.kakao_id as kakao_id8_8_3_, user3_.address as address9_8_3_, user3_.latitude as latitud10_8_3_, user3_.longitude as longitu11_8_3_, user3_.manner_score as manner_12_8_3_, user3_.password as passwor13_8_3_, user3_.profile_img as profile14_8_3_, user3_.username as usernam15_8_3_ from chat_room chatroom0_ left outer join post post1_ on chatroom0_.room_id=post1_.room_id left outer join menu menu2_ on post1_.menu_id=menu2_.id left outer join user user3_ on post1_.user_id=user3_.id where chatroom0_.room_id=?
Hibernate: select post0_.id as id1_6_3_, post0_.created_at as created_2_6_3_, post0_.modified_at as modified3_6_3_, post0_.room_id as room_id14_6_3_, post0_.check_deleted as check_de4_6_3_, post0_.check_valid as check_va5_6_3_, post0_.contents as contents6_6_3_, post0_.head_count as head_cou7_6_3_, post0_.address as address8_6_3_, post0_.latitude as latitude9_6_3_, post0_.longitude as longitu10_6_3_, post0_.menu_id as menu_id15_6_3_, post0_.order_time as order_t11_6_3_, post0_.restaurant as restaur12_6_3_, post0_.title as title13_6_3_, post0_.user_id as user_id16_6_3_, chatroom1_.room_id as room_id1_3_0_, chatroom1_.created_at as created_2_3_0_, chatroom1_.modified_at as modified3_3_0_, chatroom1_.chat_valid as chat_val4_3_0_, chatroom1_.own_user_id as own_user5_3_0_, chatroom1_.uuid as uuid6_3_0_, menu2_.id as id1_5_1_, menu2_.category as category2_5_1_, menu2_.count as count3_5_1_, menu2_.img_url as img_url4_5_1_, user3_.id as id1_8_2_, user3_.created_at as created_2_8_2_, user3_.modified_at as modified3_8_2_, user3_.age as age4_8_2_, user3_.comment as comment5_8_2_, user3_.email as email6_8_2_, user3_.gender as gender7_8_2_, user3_.kakao_id as kakao_id8_8_2_, user3_.address as address9_8_2_, user3_.latitude as latitud10_8_2_, user3_.longitude as longitu11_8_2_, user3_.manner_score as manner_12_8_2_, user3_.password as passwor13_8_2_, user3_.profile_img as profile14_8_2_, user3_.username as usernam15_8_2_ from post post0_ left outer join chat_room chatroom1_ on post0_.room_id=chatroom1_.room_id left outer join menu menu2_ on post0_.menu_id=menu2_.id left outer join user user3_ on post0_.user_id=user3_.id where post0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
이렇게 어마어마하게 길던것이
querydsl fetch join 적용후
Hibernate: select post0_.id as id1_6_0_, chatroom3_.room_id as room_id1_3_1_, post0_.created_at as created_2_6_0_, post0_.modified_at as modified3_6_0_, post0_.room_id as room_id14_6_0_, post0_.check_deleted as check_de4_6_0_, post0_.check_valid as check_va5_6_0_, post0_.contents as contents6_6_0_, post0_.head_count as head_cou7_6_0_, post0_.address as address8_6_0_, post0_.latitude as latitude9_6_0_, post0_.longitude as longitu10_6_0_, post0_.menu_id as menu_id15_6_0_, post0_.order_time as order_t11_6_0_, post0_.restaurant as restaur12_6_0_, post0_.title as title13_6_0_, post0_.user_id as user_id16_6_0_, chatroom3_.created_at as created_2_3_1_, chatroom3_.modified_at as modified3_3_1_, chatroom3_.chat_valid as chat_val4_3_1_, chatroom3_.own_user_id as own_user5_3_1_, chatroom3_.uuid as uuid6_3_1_ from post post0_ inner join user user1_ on post0_.user_id=user1_.id inner join menu menu2_ on post0_.menu_id=menu2_.id inner join chat_room chatroom3_ on post0_.room_id=chatroom3_.room_id where post0_.check_valid=? order by post0_.order_time asc
Hibernate: select menu0_.id as id1_5_0_, menu0_.category as category2_5_0_, menu0_.count as count3_5_0_, menu0_.img_url as img_url4_5_0_ from menu menu0_ where menu0_.id=?
Hibernate: select user0_.id as id1_8_0_, user0_.created_at as created_2_8_0_, user0_.modified_at as modified3_8_0_, user0_.age as age4_8_0_, user0_.comment as comment5_8_0_, user0_.email as email6_8_0_, user0_.gender as gender7_8_0_, user0_.kakao_id as kakao_id8_8_0_, user0_.address as address9_8_0_, user0_.latitude as latitud10_8_0_, user0_.longitude as longitu11_8_0_, user0_.manner_score as manner_12_8_0_, user0_.password as passwor13_8_0_, user0_.profile_img as profile14_8_0_, user0_.username as usernam15_8_0_ from user user0_ where user0_.id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
Hibernate: select count(allchatinf0_.id) as col_0_0_ from all_chat_info allchatinf0_ where allchatinf0_.room_id=?
이렇게 줄어들었다
이번엔 정말로 findby로 찾으려했던값이나 orderby등등 전부 잘 적용된다
응답속도 또한 1100ms~1800ms -> 150ms->450ms정도로 확줄어들었다
(응답속도가 튀는이유는 잘모르겠다 이것도 좀 찾아볼필요가있을것같음)
이젠 모든 레포지토리에 적용하는일만 남았다!
'Java' 카테고리의 다른 글
Spring 이미지 내려줄때 캐시설정하기 (0) | 2021.08.20 |
---|---|
Querydsl IDE에서는 실행이 되는데 build가 실패한다면? (1) | 2021.08.19 |
JPA join fetch 사용후 성능개선(인줄 알았는데 아님) (0) | 2021.08.17 |
Spring Embedded Redis 사용하며 겪은문제 (0) | 2021.08.16 |
웹소켓채팅 적용하며 겪은 문제점&해결법 (0) | 2021.08.15 |