我在hibernate中使用啦一对多映射,一的那端我用String来做关键字,
多的那端用int来做关键字,但是在多的那端提取时用session.load(*.class,1);
时报错:
    The method load(Class, Serializable) in the type Session is not applicable for the arguments (Class, int)
请问是为什么呢?