拿来主义
sql:
引用
[code:1]
1.Oracle:
select * from ( select row_.*, rownum rownum_ from ( query_SQL ) row_ where
rownum =< max) where rownum_ >= min
2.SQL Server:
select top @pagesize * from tablename where id not in
(select top @pagesize*(@page-1) id
fr ...
- 16:40
- 浏览 (757)
- 评论 (0)
没什么JAVA BEAN基础,看了看spring的beanwrapper
大概了解了propertyEditor的工作方式,主要关注convert string to object
记下来,省得用到时再乱找
步聚:
1,写出你要转换的bean及对应的propertyEditor(如:Person=>PersonEditor)
2,用PropertyEditorManager注册:
[code:1]
PropertyEditorManager.registerEditor(Person.class,PersonEditor.class)
[/code:1]
3,你得到一 ...
- 16:20
- 浏览 (1080)
- 评论 (1)







评论排行榜