已迁址http://www.cnblogs.com/live365wang/
Audio为音频表,AudioTypeAudios为类型关联表,Audio OneToMany AudioTypeAudio ,audioTypeAuios为Audio表中Set集合
HQL hql=new HQL();
hql.setHql("from Audio as a left join fetch a.audioTypeAudios as ata where a.weatherAudit=false and a.user.strId='"+ uid + "'");
Powered by: BlogJava Copyright © 已迁址