J2EE作业的坑
qq_38941327
这个作者很懒,什么都没留下…
展开
-
JPA:Repeated column in mapping for entity
坑:这个来自新建实体类(New-..JPA entities from tables) 大概会造成三种错误:一种是①标题这种,一种大意是②至少要有一个非只读的列(大意关键词non-read only,There should be one non-read-only mapping defined for the primary key field),还有一个大意是③update错误之类的。 ...原创 2019-09-04 21:25:29 · 3088 阅读 · 0 评论 -
坑:JSF 中的页面跳转
<h:CommandLink> :可以实现页面跳转,比如这样: <h:body> <h:outputLabel value="注册成功,请登陆"></h:outputLabel> <h:form> <h:commandLink value="点击此处" action="login"></h:commandLin...原创 2019-09-04 21:32:05 · 854 阅读 · 0 评论