锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲美免无码中文字幕在线,久久亚洲国产视频,日韩亚洲国产二区http://www.tkk7.com/leekiang/category/38341.htmlMDA/MDD/TDD/DDD/DDDDDDDzh-cnThu, 19 Aug 2010 21:31:54 GMTThu, 19 Aug 2010 21:31:54 GMT60flashhttp://www.tkk7.com/leekiang/archive/2010/06/07/322962.htmlleekiangleekiangMon, 07 Jun 2010 05:34:00 GMThttp://www.tkk7.com/leekiang/archive/2010/06/07/322962.htmlhttp://www.tkk7.com/leekiang/comments/322962.htmlhttp://www.tkk7.com/leekiang/archive/2010/06/07/322962.html#Feedback0http://www.tkk7.com/leekiang/comments/commentRss/322962.htmlhttp://www.tkk7.com/leekiang/services/trackbacks/322962.htmlPost/Redirect/Get (PRG) is a common design pattern for web developers to help avoid certain duplicate form聽 submissions and allow user agents to behave more intuitively with bookmarks and the refresh button. PRG妯″紡涔熺О涓簆ost-redirect pattern鎴朢edirect-After-Post pattern
How to operate the partition table with Hibernate & GORM
Sorry I had been on a business trip for a few days
Although the Hibernate Shards has some urgent limitations, like
'Cross-Shard
Object Graphs' , it is a wonderful solution for this. But the Hibernate
Shards has implemented its own Session/SessionFactory(etc.), maybe bring
GROM some troubles.
Thanks for your reply. And to look forward to that GROM can support
Hibernate Shards.
To take an advantage of the Spring JDBC Template for any Grail
application, the first thing you need to do, is to define the DataSource
bean in resources.groovy , Don't forget to have the jdbc driver(.jar)
corresponding to your backend database server under the lib folder of
your grail application.
4,濂芥枃绔?br />聽 ibm緗戠珯鏈変竴緋誨垪Mastering Grails鏂囩珷錛岄潪甯告銆備富棰樻湁 Testing your Grails application錛?Grails in the enterprise錛孉synchronous Grails with JSON and Ajax絳夊崄鏉ヤ釜銆?br />聽 http://www.ibm.com/developerworks/views/java/libraryview.jsp?search_by=mastering+grails 聽 http://www.ibm.com/developerworks/java/library/j-grails10148/index.html 聽 聽 SiteMesh瀛︿範鍏ラ棬
GRAILS浣跨敤Hibernate浣滀負ORM鐨勫熀紜銆傛柟渚跨殑鍚屾椂涔熷甫鏉ヤ竴浜涘鏉傦紝姣斿澶氬澶氭煡璇€傚亣璁炬垜鏈変袱涓鍩熸ā鍨嬶紙鍏跺疄灝辨槸rails閲岄潰鐨刴odel錛屼笉榪嘕ava鐨勪笢瑗垮槢錛屾繪槸姣旇緝瀛︽湳鍖栵級
class Product {
static hasMany=[scenario:Scenario]
static belongsTo=Scenario
}
class Scenario{
static hasMany=[product:Product]
}
濡傛灉鎴戣鏌ヨProduct涓紝鎵灞瀞cenario鍦╯cenario琛ㄤ腑鐨刬d涓?錛屽彲浠ラ氳繃濡備笅鐨勬柟娉曟煡璇細
def scenario=Scenario.get(1)
return scenario? Product.findAll("from Product p where :scenario in elements(p.scenario)",[scenario:scenario]):[] 鏉ユ簮錛歨ttp://www.leesoft.com.cn/2009/04/12/grails%E5%A4%9A%E5%AF%B9%E5%A4%9A%E7%9A%84%E6%9F%A5%E8%AF%A2%E6%9E%84%E9%80%A0/