资源描述:
《struts+hibernate+oracle分页》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、STRUTS+HIBERNATE+ORACLE分页STRUTS+HIBERNATE+ORACLE分页时间:2006-10-11来源:作者:点击:449次收藏到:主要由:message.jspMessageFormMessageActionPlayer.hbm.xmlstruts-config.xmlMeisaiBean.java来实现:先看数据库结构:CREATETABLEplayer(PLAYER_IDVARCHAR(32)PRIMARYKEY,TEAMVARCHAR(3),displayNameVARCHAR(100),LAST_NAMEVARCHAR
2、(100),MIDDLE 主要由:message.jspMessageFormMessageActionPlayer.hbm.xmlstruts-config.xmlMeisaiBean.java来实现:先看数据库结构:CREATETABLEplayer(PLAYER_IDVARCHAR(32)PRIMARYKEY,TEAMVARCHAR(3),displayNameVARCHAR(100),LAST_NAMEVARCHAR(100),MIDDLE_NAMEVARCHAR(100),STATUSVARCHAR(32),POSVARCHAR(1),PPGI
3、NTEGERdefault25);INSERTINTOplayer(PLAYER_ID,TEAM,displayName,LAST_NAME,MIDDLE_NAME,STATUS,POS)VALUES(''''2113999'''',''''DAL'''',''''Dirk'''',null,'''''''',null,''''F'''');INSERTINTOplayer(PLAYER_ID,TEAM,displayName,LAST_NAME,MIDDLE_NAME,STATUS,POS)VALUES(''''30361'''',''''IND''''
4、,''''Ron'''',''''Artest'''','''''''',''''A'''',''''G'''');INSERTINTOplayer(PLAYER_ID,TEAM,displayName,LAST_NAME,MIDDLE_NAME,STATUS,POS)VALUES(''''30273'''',''''ORL'''',''''Tracy'''',''''McGrady'''','''''''',''''A'''',''''F'''');INSERTINTOplayer(PLAYER_ID,TEAM,displayName,LAST_NAME
5、,MIDDLE_NAME,STATUS,POS)VALUES(''''30190'''',''''LAL'''',''''Kobe'''',''''Bryant'''','''''''',''''A'''',''''G'''');INSERTINTOplayer(PLAYER_ID,TEAM,displayName,LAST_NAME,MIDDLE_NAME,STATUS,POS)VALUES(''''30328'''',''''SEA'''',''''Rashard'''',''''Lewis'''','''''''',''''A'''',''''G''
6、'');INSERTINTOplayer(PLAYER_ID,TEAM,displayName,LAST_NAME,MIDDLE_NAME,STATUS,POS)VALUES(''''30197'''',''''NJN'''',''''Kerry'''',''''Kittles'''','''''''',''''A'''',''''G'''');INSERTINTOplayer(PLAYER_ID,TEAM,displayName,LAST_NAME,MIDDLE_NAME,STATUS,POS)VALUES(''''30341'''',''''HOU''
7、'',''''Steve'''',''''Francis'''','''''''',''''A'''',''''G'''');INSERTINTOplayer(PLAYER_ID,TEAM,displayName,LAST_NAME,MIDDLE_NAME,STATUS,POS)VALUES(''''30146'''',''''MIN'''',''''Kevin'''',''''Garnett'''','''''''',''''A'''',''''F'''');INSERTINTOplayer(PLAYER_ID,TEAM,displayName,LAST
8、_NAME,MIDDLE_NAME,STATUS,POS)VALU