??xml version="1.0" encoding="utf-8" standalone="yes"?>欧美蜜桃一区二区三区,伊人精品在线观看,专区另类欧美日韩http://www.aygfsteel.com/echoseason/archive/2015/05/18/425136.htmlseasonseasonMon, 18 May 2015 06:24:00 GMThttp://www.aygfsteel.com/echoseason/archive/2015/05/18/425136.htmlhttp://www.aygfsteel.com/echoseason/comments/425136.htmlhttp://www.aygfsteel.com/echoseason/archive/2015/05/18/425136.html#Feedback0http://www.aygfsteel.com/echoseason/comments/commentRss/425136.htmlhttp://www.aygfsteel.com/echoseason/services/trackbacks/425136.htmll计图表FineReport聚合报表
1. 问题描述
使用嵌入式主子表制作模板Q如果子报表比较大,不止一,q时嵌入C报表中只能显C部分(嵌入式的子报表只能在固定大小的区域中昄Q不能自动扩展)Q怎么能显C其余页的数据呢Q或者两个扩展的单元格怎样讄互补影响呢?q时可以用聚合报表来实现Q如下图聚合报表实现效果Q?/div>
2. CZ
2.1 聚合块自动扩展位|大?/div>
d聚合模板Q拖动数据表字段Q设计表中样式等Q模块大不用固定可跟设计模板大相同即可,如下图:
预览模板聚合块自动扩展数据,过一大,以分늚方式昄Q如下图?/div>
2.2 聚合块扩展互不媄?/div>
讄固定格式表头Q不需要受到扩展数据的影响Q这时就两个聚合块,一个设表头格式Q另一个就是展C扩展数据,两个聚合块相互独立,如下图设|效果:
2.3 数据分析预览聚合报表
已完成模板可参照%FR_HOME%\WebReport\WEB-INF\reportlets\doc\Advanced\polybook.cpt。模板效果在U查看请点击polybook.cpt
如果只希望内容在一|C完全,则可以点击设计器右上角上面的数据分析预览Q即预览模板时在后面加上参数&op=viewQ则可看到文档中W一张图的效果?/div>


season 2015-05-18 14:24 发表评论
]]>java报表开发FineReport Excel双向导入http://www.aygfsteel.com/echoseason/archive/2015/05/12/425017.htmlseasonseasonTue, 12 May 2015 05:59:00 GMThttp://www.aygfsteel.com/echoseason/archive/2015/05/12/425017.htmlhttp://www.aygfsteel.com/echoseason/comments/425017.htmlhttp://www.aygfsteel.com/echoseason/archive/2015/05/12/425017.html#Feedback0http://www.aygfsteel.com/echoseason/comments/commentRss/425017.htmlhttp://www.aygfsteel.com/echoseason/services/trackbacks/425017.htmljava报表开?/a>FineReport Excel双向导入
1. 描述
Excel双向导入是指标题行列是从单元格扩展得到的Qƈ导入数据的单元g是可扩展的,如下图所C效果,标题字段通过横向扩展得到Q导入数据的单元格纵向扩展,导入不定行数据:
Excel双向导入模板在web端填报预览打开之后Q其展示效果与固定标题行导入不定行是一LQ那么双向导入的逻辑仍然是首先根据标题匹配,如果标题匚w不上或者只有一个可以匹配上或者设|了不执行根据标题匹配,则执行根据位|匹配?/div>
2. CZ
2.1 模板准备
新徏一个模板,d内置数据?/span>Q该数据集中只有一列数据,存储的是产品?/span>中的字段名称Q如下图Q?/div>
内置数据集准备好之后Q将字段名称数据列拖曛_A2单元gQ设|ؓ横向扩展QƈA3单元D|ؓU向扩展Q如下图Q?/div>
2.2 工具栏设|?/div>
默认填报工具栏是没有导入Excel按钮的,点击模板>模板web属?gt;填报面讄Q?span class="doc_navigation" style="font-weight: bold; color: #008080;">模板单独讄Q勾?span class="doc_navigation" style="font-weight: bold; color: #008080;">使用工具?/span>Qؓ该报表单独设|工hQ清I工hQ然后在按钮面板中双?span class="doc_navigation" style="font-weight: bold; color: #008080;">提交按钮?span class="doc_navigation" style="font-weight: bold; color: #008080;">导入excel按钮Q将q两个按钮添加到剙工具栏中Q与Ҏ位置匚wCZ中的讄相同?/div>
2.3 配置文g修改
FineReport默认不开启双向导入,故,如果要用双向导入,首先要先修改配置文gQ其开启双向导入?/div>
打开%FR_HOME%\WebReport\WEB-INF\resources下面?span class="doc_formula" style="font-weight: bold; color: #0000ff;">customconfig.xml文gQ如果没有该文gQ则复制config.xml臌文g夹中Qƈ重命名ؓcustomconfig.xmlQ如下图Q?/div>
?span class="doc_formula" style="font-weight: bold; color: #0000ff;">customconfig.xml文g最后面?span class="doc_formula" style="font-weight: bold; color: #0000ff;"></ReportServerParameter>标签之前插入<ImportDoubleDir doubledir = "true"/>Q表C开启双向导入,如下图:
2.4 Excel导入
点击填报预览按钮Q在web端预览报表,可以看到标题字段是扩展出来的Q点dh上的导入Excel按钮Q选择excelimport.xlsQ可以看到如下图所C效果:
已完成模板请参照%FR_HOME%\WebReport\WEB-INF\reportlets\doc\SpecialSubject|\ExcelImport\ExcelImport_5.cpt?/span>



season 2015-05-12 13:59 发表评论
]]>l计图表FineReport之SQL函数http://www.aygfsteel.com/echoseason/archive/2015/05/11/424996.htmlseasonseasonMon, 11 May 2015 09:17:00 GMThttp://www.aygfsteel.com/echoseason/archive/2015/05/11/424996.htmlhttp://www.aygfsteel.com/echoseason/comments/424996.htmlhttp://www.aygfsteel.com/echoseason/archive/2015/05/11/424996.html#Feedback0http://www.aygfsteel.com/echoseason/comments/commentRss/424996.htmlhttp://www.aygfsteel.com/echoseason/services/trackbacks/424996.htmll计图表FineReport之SQL函数

有的时候希望某个单元格能够直接获取到数据库中的某个|而不是先要定义一个数据集后,再去取数据。这时就可以用函数Sql()公式Q下面讲解下其用法?/div>
1. 公式解释
SQL(connectionName,sql,columnIndex,rowIndex)Q返回的数据是从connectionName数据库中获取的sql语句的表中的WcolumnIndex列第rowIndex行所对应的元素?/div>
connectionNameQ数据库名,字符串Ş式,需要用引号?FRDemo"Q?/div>
sqlQSQL语句Q字W串形式Q?/div>
columnIndexQ列序号Q整型;
rowIndexQ行序号Q整型?/div>
备注Q行序号可以不写Q这栯回gؓ数据列?/span>
2. 以我们提供的数据源FRDemoZ
2.1 CZQ就一般的只获取某个字D内容)
从表 STSCORE中,我们可看到第3行第3列的gؓAlexQ如下:
现在若要直接在报表的单元g昄数据|AlexQ而不通过先定义一个数据集后,再去取数据的方式Q这里就可以使用sql()公式Q此时只需在单元格中输入:=sql("FRDemo","SELECT * FROM STSCORE",3,3)卛_Q预览就可看到Alex倹{?/div>
2.2 CZQ带有参数时公式的用)
带有参数形式的时候,直接在报表的单元g获取数据|写法如下Q?/div>
=sql("FRDemo","SELECT * FROM STSCORE where CLASSNO = 'Class1' ",3)
昄效果Q班UؓClass1的第3列所有|Q如下:
若需要显C某个具体|如:昄 Jonny 的效果(即班UؓClass1的第3列第4行的|Q写法如下:
=sql("FRDemo","SELECT * FROM STSCORE where CLASSNO = 'Class1' ",3,4)
若参数gؓ变量如ؓ报表参数或者是某个单元|则写法如下:
=sql("FRDemo","SELECT * FROM STSCORE where CLASSNO = '"+$class+"' ",3,4)
?/div>
=sql("FRDemo","SELECT * FROM STSCORE where CLASSNO = '"+A1+"' ",3,4)
如果传递的参数是获取当前单元格的|即用$$$作ؓ参数Ӟ字符串类型同样需要拼接单引号Q如下:
=sql("FRDemo","SELECT * FROM STSCORE where CLASSNO = '"+$$$+"' ",3,4)
注:如果参数或者单元格值有多个Q那么sql函数的写法如下:
=sql("FRDemo","SELECT * FROM STSCORE where CLASSNO in ('"+$class+"') ",3,4)
q且class参数q回值的分隔W需?,'Q具体请查看下拉复选框参数联动?/div>

season 2015-05-11 17:17 发表评论
]]>Finereport常见问题&紧急处理方?/title><link>http://www.aygfsteel.com/echoseason/archive/2012/11/15/391370.html</link><dc:creator>season</dc:creator><author>season</author><pubDate>Thu, 15 Nov 2012 03:39:00 GMT</pubDate><guid>http://www.aygfsteel.com/echoseason/archive/2012/11/15/391370.html</guid><wfw:comment>http://www.aygfsteel.com/echoseason/comments/391370.html</wfw:comment><comments>http://www.aygfsteel.com/echoseason/archive/2012/11/15/391370.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/echoseason/comments/commentRss/391370.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/echoseason/services/trackbacks/391370.html</trackback:ping><description><![CDATA[<div><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: 宋体; ">                            </span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">出现问题先搜一下文档上有没有,再看看度娘有没有Q再看看论坛有没有。有报错要看日志Q?.5的日志在设计器的菜单栏有H口视图日志Q。下面简单罗列下常见的问题,大多文档上都有提到的?/span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">address pool is fullQ?/span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">地址池满Q连接数过q发C限?/span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">文档</span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">使用了未注册的功能:</span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">未注册的版本是可以试用所有功能的。注册的lic是勾选过功能点的Q如果制作的模板使用了未注册的功能就会报q个错误。一般容易分辨,有的客户可能掉报错界面Q这h试是好的Q一攑ֈ服务器上出不来Q没有报错界面就不太Ҏ发现了?/span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">文档</span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">提示注册Q?/span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">注册常见问题处理ҎQhttp://www.finereporthelp.com/help/9/4.html</span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">文档</span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">session timed outQ?/span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">session时?/span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">文档</span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">没有q回数据集:</span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">在存储过E中的操作语句之前加上set nocount on 或者在数据集exec调用存储q程的前面加上这句?/span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">当SET NOCOUNT ?nbsp;ON Ӟ不返回计敎ͼ表示?nbsp;Transact-SQL 语句影响的行敎ͼ。当 SET NOCOUNT ?nbsp;OFF Ӟq回计数?/span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">如果存储q程中包含的一些语句ƈ不返回许多实际的数据Q则该设|由于大量减了|络量Q因此可显著提高性能?/span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">文档</span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">模板文g损坏Q或者打开模板没有反应Q?/span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">FR的cpt模板p计器做出源文件是一l组的标{括h的语句。像HTML的结构那P可以用文本编辑器打开。有些客L模板可能做的比较BTQ或者高低版本ؕ捣鼓Q或者正操作着出现什么DT的情况导致模板不完整。一般报错会告诉出错的位|?55版本可以用bak文gq原下,7.0׃太好办,可以试填补部分语句主要是标{来抢救部分模板?/span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">找不到模板:</span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">找不到模板可能的原因看看是不是URL的问题,直接在模板中写中文的话,有些览器是会自动{码的Q记得chrome、搜狗好像是Q,有些不会Q比如IE?/span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">文档</span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">java heap space、stack overflowQ?/span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">q个问度娘。常见的原因是模板做的很复杂Q用了上癑֭D,上百行的sql语句Q各U嵌套,其要注意有没有d@环。也有可能是服务器端的问题,比如tomcat最大内存太了用了默认?4M?/span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">数据集定义中有下拉复选框参数出问题:</span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">下拉复选框控gq回值默认情况下是数l,参数取到的字W串是不带引LQ所以在数据集定义的sql语句中调用字W串cd的参数的话要手动加上单引h行)。多个值用inQsql的in语句参数是字W串数组Q每个都要求带单引号。所以要转化下,把控件的q回值改成字W串Q间隔符?,'?/span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">文档</span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">本地预览的效果和服务器上的效果不一P</span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">首先查jar包等是不是有问题。也有可能是嵌入q_后出现的问题?/span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">文档</span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">q_理忘了密码或者登不进Q?/span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">报表q_理只有一个̎P用户名和密码攑֜web-inf/resources/privilege.xml中?55密码没加密,7.0密码是加密的Q密码在<rootManagerPassword>标签中,把里面改?lt;![CDATA[___0022]]>密码是一?.用这个密码登q去再重新设|?/span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">图表中文qQ方框)Q?/span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">q个Linux环境下装了oracle后容易出现这L情况Q方框是~少中文字体的缘故(常见英文字体各种环境应该都有的)。安装对应的中文字体卛_解决?/span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">大块头的数据库搞坏字体环境ƈ不少见,上次在win7里面装dominoQ好多Y件的字体都被搞了Q重装了pȝ的中文字体重启了计算机才恢复正常?/span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">数据集预览的时候中文ؕ码(全问PQ?/span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">q有几U情况:一U是ҎQ这个是字体的原因,M出来汉字。一U是问号Q这个是~码的问题,比如mysql数据库默认的~码是latin1Q库里面没有中文对应的编码,p析不了中文,解决Ҏ是改变编码,比如把mysql的编码改成utf8或者gbk。这里要注意下的是,数据库有服务器编码,客户端编码,具体的某一个数据库和具体的表也有编码,只有在徏数据库徏表的时候选对了编码才行(没选的话就用的默认的)?/span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">repeated column width is larger than paper widthQ?/span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">q个看这D话应该是很好理解的。比如做的模杉K面宽度只能放开5列,l果l?列做了重复和ȝQ这个逻辑上肯定是说不q去的?/span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">文档</span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">模板打不开Q拒l访问:</span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">可能是win7操作pȝҎ件有权限?/span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">安装设计器后无法预览报表Q?04报错Q:</span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">文档</span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">对象不支持此属性或者方法、XXX未定义:</span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">文档</span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">THREE未定?</span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">自己没碰到过没解册?/span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">日期比较D出错Q?/span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">我测试用的是自己搭的sqlserver2005.2012/01/01q种格式的日期和FR上的2012-01-01q种格式的是不能比较的,直接从数据库中读取的日期格式都比较长Q不光是q月日,而且M出来Q不知道是ؓ什么,预览时可以看到的。然后我加了个在条g属性中加了个left(todate($$$),10)转化了一下就解决了,todate转化成了-q接Q前10是年月日?/span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">׃个单元格扩展出来的行高不一_填报预览Q:</span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">但是分页预览却是没有问题的。最后发现时因ؓ讄了数据字典。设|了数据字典的单元格其真实g行显CZ了的Q就换行了,所以变宽了。难道是填报预览时计需要空间的时候用的是真实D的Q解x法,注意点,拉宽点就好了?/span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">使用E序数据集出错:</span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">654?55都有个问题是加蝲了有问题的class文g作ؓE序数据集,下次打不开了,655是设计面板单元格界面没有了?.0版本没这个问题?/span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">E序数据集class文g必须攑֜class com fr data目录下?nbsp;~译好了后的class名也是不能修改的?/span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">自定义数据字典显C等号问题:</span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">FR的像自定义数据字典这U地方,跟单元格q有提示定义框一定,如果不是‘=’号开头是当做字符串处理,‘=’号开头当做公式处理。所以单写一个等号就是空白的。显C等L话用="="</span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">一个单元格内容q多报错Q?/span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:18.7500pt; background:#ffffff; "><span style="font-size: 10.5pt; font-family: Tahoma; ">临时解决ҎQ直接合q多个单元格可以增加输入内容?/span></p><p style="margin-bottom:0pt; margin-top:0pt; "></p></div><img src ="http://www.aygfsteel.com/echoseason/aggbug/391370.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/echoseason/" target="_blank">season</a> 2012-11-15 11:39 <a href="http://www.aygfsteel.com/echoseason/archive/2012/11/15/391370.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>java报表工具中Oracle数据库厉行计划详?/title><link>http://www.aygfsteel.com/echoseason/archive/2012/08/23/386158.html</link><dc:creator>season</dc:creator><author>season</author><pubDate>Thu, 23 Aug 2012 15:31:00 GMT</pubDate><guid>http://www.aygfsteel.com/echoseason/archive/2012/08/23/386158.html</guid><wfw:comment>http://www.aygfsteel.com/echoseason/comments/386158.html</wfw:comment><comments>http://www.aygfsteel.com/echoseason/archive/2012/08/23/386158.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/echoseason/comments/commentRss/386158.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/echoseason/services/trackbacks/386158.html</trackback:ping><description><![CDATA[<div><p style="text-align: center;margin-bottom: 0pt; margin-top: 0pt; background-color: #ffffff; background-position: initial initial; background-repeat: initial initial; "><span style="font-size: 10.5pt; line-height: 15.75pt; text-align: left; ">      </span><span style="color: #333333; font-family: Tahoma; font-size: 10.5pt; line-height: 15.75pt; text-align: left; ">Oracle数据库厉行计划的相关知识是本文我们主要要介绍的内容,我们首先介绍了厉行计划的概念Q然后给Z两个厉行计划的实例进行说明,最后介l了Oracle优化器的形式以及厉行计划Ҏ们的用途,接下来就让我们一h了解一下这部分内容?/span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:15.7500pt; "><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; "><br /></span><span style="mso-spacerun:'yes'; color:#333333; font-weight:bold; font-size:12.0000pt; font-family:'宋体'; background:#ffffff; ">QQ?/span><span style="mso-spacerun:'yes'; color:#333333; font-weight:bold; font-size:12.0000pt; font-family:'Tahoma'; background:#ffffff; ">什么是厉行计划</span><span style="mso-spacerun:'yes'; color:#333333; font-weight:bold; font-size:12.0000pt; font-family:'Tahoma'; "><br /></span><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; "><br /></span><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">        所谓厉行计划,望文生义Q即便对一个查询Q务,做出一份怎样dlQ务的实计划。D个生存中的例子,我从珠v要去英国Q我能够抉择先去香港然后赯Q也能够先去北京赯Q可能去q州也能够。然而究竟怎样去英国划,也即便我的开支v码,q是一件划考究的事情。同样对于查询而言Q我们提交的SQL仅仅是描写出了我们的目标地是英国Q但至于怎么去,{闲我们的SQL中是未曾l出提醒消息的,是由数据库来定夺的?/span><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; "><br /></span><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; "><br /></span><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">        我们先容易的看一个厉行计划的比拟QSQL> set autotrace traceonly</span><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; "><br /></span><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; "><br /></span><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">厉行计划一Q?/span></p><p style="margin-left:34.5000pt; margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:15.7500pt; "><span style="mso-spacerun:'yes'; color:#666666; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">SQL> select count(*) from t;</span></p><p style="margin-left:34.5000pt; margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:15.7500pt; "><span style="mso-spacerun:'yes'; color:#666666; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">COUNT(*)</span></p><p style="margin-left:34.5000pt; margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:15.7500pt; "><span style="mso-spacerun:'yes'; color:#666666; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">----------</span></p><p style="margin-left:34.5000pt; margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:15.7500pt; "><span style="mso-spacerun:'yes'; color:#666666; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">24815</span></p><p style="margin-left:34.5000pt; margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:15.7500pt; "><span style="mso-spacerun:'yes'; color:#666666; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">Execution Plan</span></p><p style="margin-left:34.5000pt; margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:15.7500pt; "><span style="mso-spacerun:'yes'; color:#666666; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">0 SELECT STATEMENT Optimizer=CHOOSE</span></p><p style="margin-left:34.5000pt; margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:15.7500pt; "><span style="mso-spacerun:'yes'; color:#666666; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">10  SORT (AGGREGATE)</span></p><p style="margin-left:34.5000pt; margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:15.7500pt; "><span style="mso-spacerun:'yes'; color:#666666; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">21 TABLE Access (FULL) OF 'T'</span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:15.7500pt; "></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:15.7500pt; "><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">厉行计划二:</span></p><p style="margin-left:34.5000pt; margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:15.7500pt; "><span style="mso-spacerun:'yes'; color:#666666; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">SQL> select count(*) from t;</span></p><p style="margin-left:34.5000pt; margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:15.7500pt; "><span style="mso-spacerun:'yes'; color:#666666; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">COUNT(*)</span></p><p style="margin-left:34.5000pt; margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:15.7500pt; "><span style="mso-spacerun:'yes'; color:#666666; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">24815</span></p><p style="margin-left:34.5000pt; margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:15.7500pt; "><span style="mso-spacerun:'yes'; color:#666666; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">Execution Plan</span></p><p style="margin-left:34.5000pt; margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:15.7500pt; "><span style="mso-spacerun:'yes'; color:#666666; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">0 SELECT STATEMENT Optimizer=CHOOSE (Cost=26 Card=1)</span></p><p style="margin-left:34.5000pt; margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:15.7500pt; "><span style="mso-spacerun:'yes'; color:#666666; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">10  SORT (AGGREGATE)</span></p><p style="margin-left:34.5000pt; margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:15.7500pt; "><span style="mso-spacerun:'yes'; color:#666666; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">21 INDEX (FULL SCAN) OF 'T_INDEX' (NON-UNIQUE)(Cost=26 Card=28180)</span></p><p style="margin-left:34.5000pt; margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:15.7500pt; "></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:15.7500pt; "><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">q两个厉行计划中Q第一个表C求和是I越举行全表扫描来做的,把全副表中数据读入内存来逐条累加;W二个表CZ据表中烦引,把全副烦引读q内存来逐条累加Q而无d读表中的数据。然而这两种措施I竟哪种快呢?{闲来说可能二比一快,但也不是l对的。这是一个很Ҏ的例子演C厉行计划的差异。对于؜杂的SQL(表连接、嵌套子查询{?Q厉行计划可能几十种甚至上百U,然而究竟那U良好呢?我们事前q不懂得Q数据库本n也不懂得Q然而数据库会依据定然的法定可能普查消息(statistics)L择一个厉行计划,{闲来说抉择的是比拟优的Q但也有抉择失手的时候,q即便这ơ谈论的价值所在?/span><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; "><br /></span><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; "><br /></span><span style="mso-spacerun:'yes'; color:#333333; font-weight:bold; font-size:12.0000pt; font-family:'宋体'; background:#ffffff; ">QQ?/span><span style="mso-spacerun:'yes'; color:#333333; font-weight:bold; font-size:12.0000pt; font-family:'Tahoma'; background:#ffffff; ">Oracle优化器Ş?/span><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; "><br /></span><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; "><br /></span><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">        Oracle优化器有两大c,Z法定的和Z代h的,在SQLPLUS中我们能够察看init文g中定义的~省的优化器形式?/span></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:15.7500pt; "></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:15.7500pt; "><span style="mso-spacerun:'yes'; color:#666666; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">SQL> show parameters optimizer_mode</span> <span style="mso-spacerun:'yes'; color:#666666; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">NAME TYPEVALUE</span> <span style="mso-spacerun:'yes'; color:#666666; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">optimizer_mode string  CHOOSE</span><span style="mso-spacerun:'yes'; color:#666666; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">  </span><span style="mso-spacerun:'yes'; color:#666666; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">SQL></span></p><p style="margin-left:34.5000pt; margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:15.7500pt; "></p><p style="margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:15.7500pt; "><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">q是Oracle8.1.7 企业版,我们能够看出Q默认安装后数据库优化器形式为CHOOSE,我们q能够设|ؓ RULE、FIRST_ROWS,ALL_ROWS。能够在init文g中对全副instance的所有会话设|,也能够独自对某个会话讄Q?/span></p><p style="margin-left:34.5000pt; margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:15.7500pt; "><span style="mso-spacerun:'yes'; color:#666666; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">SQL> ALTER SESSION SET optimizer_mode = RULE;</span></p><p style="margin-left:34.5000pt; margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:15.7500pt; "><span style="mso-spacerun:'yes'; color:#666666; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">会话已改动?/span></p><p style="margin-left:34.5000pt; margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:15.7500pt; "><span style="mso-spacerun:'yes'; color:#666666; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">SQL> ALTER SESSION SET optimizer_mode = FIRST_ROWS;</span></p><p style="margin-left:34.5000pt; margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:15.7500pt; "><span style="mso-spacerun:'yes'; color:#666666; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">会话已改动?/span></p><p style="margin-left:34.5000pt; margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:15.7500pt; "><span style="mso-spacerun:'yes'; color:#666666; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">SQL> ALTER SESSION SET optimizer_mode = ALL_ROWS;</span></p><p style="margin-left:34.5000pt; margin-bottom:0pt; margin-top:0pt; text-align:left; line-height:15.7500pt; "><span style="mso-spacerun:'yes'; color:#666666; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">会话已改动?/span></p><p style="margin-bottom:0pt; margin-top:0pt; "></p><p style="text-indent:28.3500pt; margin-bottom:0pt; margin-top:0pt; "><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">Z法定的查询,数据库依据表和烦引等定义消息Q按照定然的法定来发生厉行计?Z代h的查询,数据库依据搜集的表和索引的数据的普查消息(I越analyze 号召可能利用dbms_stats包来搜集)归纳来定夺拨取一个数据库感受最优的厉行计划(切实上无d最?。RULE是基于法定的QCHOOSE表示万一查询的表存在搜集的普查消息则Z代h来厉?在CHOOSE形式下Oracle批准的是 FIRST_ROWS)Q否则基于法定来厉行。在Z代h的两U措施中QFIRST_ROWS指厉行计划批准v码资源尽快的归来局部收L客户端,对于排序分页|CU查询尤其实用,ALL_ROWS指以大局p资源L的措施归来收L客户端?/span><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; "><br /></span><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; "><br /></span><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">        Z法定的Ş式下Q数据库的厉行计划等闲比拟安宁。但在基于代L形式下,我们才有更大的时机抉择最优的厉行计划。也׃Oracle的许多查询方面的个性定然在Z代h的Ş式下能力揭示出来Q因而我们等闲不抉择RULE(q且OracleL?nbsp;Oracle 10i版本数据库开始将不再扶持 RULE)。既然是Z代h的Ş式,也即便说厉行计划的抉择是依据表、烦引等定义和数据的普查消息来定夺的Q这个普查消息是依据 analyze 号召可能dbms_stats包来定期搜集的。率先存在着一U可能,即便׃搜集消息是一个很p资源和工夫的动作Q尤其当表数据量很大的时候,因ؓ搜集消息是对全副表数据D行重新的全面普查Q因而这是我们定然端庄琢的问题。我们只能在服务器安逸的时候定期的举行消息搜集。这解释我们在一D|期内Q普查消息可能和数据库本w的数据q不合乎;另外即便Oracle的普查数据本w也存在着不准局?实参看Oracle DOCUMENT)Q更重要的一个问题即便及时普查数据相Ҏl比拟准,然而Oracle的优化器的抉择也q不是始l是最优的计划。这也攀附于Oracle对不同厉行计划的代h的计法?我们{闲是无法懂得翔实的计算法定?。这好像我们定夺从香港还是从北京去英国,车票、机等切实hI竟是怎么核算出来的我们ƈ不懂得,可能说我们目前打听的h消息Q在我们乘R前往的时候,xh跟我们的核算曄发生了改变。所有的因素Q都L及我们的全副开支?/span><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; "><br /></span><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; "><br /></span><span style="mso-spacerun:'yes'; color:#333333; font-weight:bold; font-size:12.0000pt; font-family:'宋体'; background:#ffffff; ">QQ?/span><span style="mso-spacerun:'yes'; color:#333333; font-weight:bold; font-size:12.0000pt; font-family:'Tahoma'; background:#ffffff; ">厉行计划安宁功能带给我们什?/span><span style="mso-spacerun:'yes'; color:#333333; font-weight:bold; font-size:12.0000pt; font-family:'Tahoma'; "><br /></span><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; "><br /></span><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">      Oracle存在着厉行计划抉择失手的可能。这也是我们l常见的一些假象,例如L我的q程在测验数据库中跑的很好,但在产品数据库上即便跑的很差Q甚臛_者硬件条件比前者还好,q究竟是Z?g资源、普查消息、参数设|都可能对厉行计划发生L及。由于因素太多,我们LҎ来怀着一U莫名的生怕,我的产品数据库上U后I竟跑的好不?于是Oracle供给了一U安宁厉行计划的力气Q也即便把在验环境中的q行良好的厉行计划所发生的OUTLINESULC品数据库Q得厉行计划不会随着其他因素的改变而改变?/span><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; "><br /></span><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; "><br /></span><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">    </span><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">那么OUTLINES是什么呢?先要推荐一个内容,Oracle供给了在SQL中利用HINTS来领g化器发生我们惌的厉行计划的力气。这在多表连接、؜杂查询中其用。HINTS的种c许多,能够讄优化器目?RULE、CHOOSE、FIRST_ROWS、ALL_ROWS)Q能够指定表q接的次序,能够指定利用哪个表的哪个索引{等Q能够对SQL举行许多_的扼制。穿这U措施发生我们想要的厉行计划的这些HINTS,Oracle能够存储q些HINTSQ我们称之ؓOUTLINES。穿STORE OUTLINES能够使得我们h后发生雷同厉行计划的力气,也即便我们h了安宁厉行计划的力气?/span><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; "><br /></span><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; "><br /></span><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">      q里想给Z个附带的解释即便Q切实上Q我们穿工具修改SQLQ例如利用SQL EXPERT修改后的SQLQ这些不但仅是加了HINTS而且文本都曾l发生了改变的SQLQ也能够存储OUTLINESQƈ可被利用到利用中。但q不是定然见效,我们定然验察看是否见效。但׃ql了讹谬的OUTLINES,数据库在厉行的时候,揖 智疏忽过去重新生成厉行计划而不会归来讹谬,因而我们才敢塌心的q么利用。当然在Oracle文档中ƈ未曾指明能够q么做,文档中只是解释,万一存在OUTLINES的同时又在SQL中加了HINTSQ则会利用OUTLINES而疏忽HINTS。这U功能在LECCO公布的产品中会利用q一功能Q这么能够将SQL EXPERT的修改SQL的力气和安宁厉行计划的力气联合v来,那么我们对不能改动源代码的利用h了相当壮大的SQL优化力气?/span><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; "><br /></span><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; "><br /></span><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">      可能我们会有疑问Q假定安宁了厉行计划Q那q搜集普查消息干?q是因ؓ几个起因构成的,率先Q目前的厉行计划对于未来发生了改变的数据未必即便M的,存在着目前的厉行计划不中意未来数据的改变后的效率,而新的普查消息的情Ş下所发生的厉行计划也q不是全副都U学的。那q个时候,我们能够批准新搜集的普查消息Q然而却Ҏ普查消息下不良的厉行计划批准Oracle供给的厉行计划安宁性这个力气安宁厉行计划,q么联合h我们能够发生心的高效的数据库运行环境?/span><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; "><br /></span><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; "><br /></span><span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">    </span> <span style="mso-spacerun:'yes'; color:#333333; font-size:10.5000pt; font-family:'Tahoma'; background:#ffffff; ">我们q必需x的一个东西,Oracle供给的dbms_stats包除非具有搜集普查消息的力气Q还h把数据库中普查消?statistics)export/import的力气,q具有只搜集普查消息而得普查消息不利用于数据库的力?把普查消息搜集到一个特定的表中而不是即刻见?Q在q个基础上我们就能够把普查消息export出来再importC个测验环境中Q再q行我们的利用,在测验环境中我们考察最新的普查消息会导致哪些厉行计划发生改?DB EXPERT的Plan Version Tracer是模仿不同环境ƈU极察看不同环境中厉行计划改变的工具)Q是变好了还是变差了。我们能够把变差的这一局部在验环境中利用hints可能利用工具(SQL EXPERT是在重写SQLq一领土现在最强有力的工具)发生良好的厉行计划的SQLQ利用这些SQL能够发生OUTLINES,然后在品数据库利用最新的普查消息的同时移植进q些OUTLINES?br /><br /><br /><p style="margin-left:18.0000pt; text-indent:-18.0000pt; margin-bottom:0pt; margin-top:0pt; "><span style="mso-spacerun:'yes'; font-size:10.5000pt; font-family:'Times New Roman'; "> </span><span style="mso-spacerun:'yes'; color:#ff0000; font-size:10.5000pt; font-family:'宋体'; ">java报表工具Q?/span></p><p style="margin-left:18.0000pt; margin-bottom:0pt; margin-top:0pt; "><a ><span style="color: #ff0000; font-size: 10pt; font-family: 'Times New Roman'; ">http://www.finereport.com/javareport</span></a> </p></span></p></div><img src ="http://www.aygfsteel.com/echoseason/aggbug/386158.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/echoseason/" target="_blank">season</a> 2012-08-23 23:31 <a href="http://www.aygfsteel.com/echoseason/archive/2012/08/23/386158.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>java报表工具中本地效果与服务器效果不一致问题处理经验分?/title><link>http://www.aygfsteel.com/echoseason/archive/2012/08/23/386156.html</link><dc:creator>season</dc:creator><author>season</author><pubDate>Thu, 23 Aug 2012 15:14:00 GMT</pubDate><guid>http://www.aygfsteel.com/echoseason/archive/2012/08/23/386156.html</guid><wfw:comment>http://www.aygfsteel.com/echoseason/comments/386156.html</wfw:comment><comments>http://www.aygfsteel.com/echoseason/archive/2012/08/23/386156.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/echoseason/comments/commentRss/386156.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/echoseason/services/trackbacks/386156.html</trackback:ping><description><![CDATA[<div><p style="margin-bottom:0pt; margin-top:0pt; text-align:center; background:#ffffff; "><span style="color: #444444; font-family: 宋体; font-size: 10.5pt; ">我们做报表通常情况下都是在本地PCZ调试没问题后再发布到服务器上Q这个时候经怼出现本地明明调的很好的模板发布后׃对了Q!Q这边将我遇到过的所有本地效果与服务器效果不一致的问题及解x\整理下来~~~~</span></p><p style="margin-bottom:0pt; margin-top:0pt; "><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">当你发现同一张报表在本地环境中访问正常,但是发布到服务器后就不正怺Q不是哪边不正常,首先要做的一定是</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#ff0000; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">A. 查一下是不是同一张模板,最好是重新部v一?/span><span style="mso-spacerun:'yes'; color:#444444; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#ff0000; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">B. 查一下服务器的jar包与本地的jar包版本是否相同,一定要保证jar版本相同Q同步后要重启服务器</span><span style="mso-spacerun:'yes'; color:#444444; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">查方?/span><a ><span style="color: #336699; font-size: 10.5pt; font-family: 宋体; background-color: #ffffff; background-position: initial initial; background-repeat: initial initial; ">http://www.finereporthelp.com/help/4/0/6/8.html</span></a><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">在确保上面两炚w已经查的情况下,若还有问题,再具体分析?/span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#0000ff; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">问题1. 部v后报表报错如nullpointerQ或者其他非数据相关的错?/span> </p><p style="margin-bottom:0pt; margin-top:0pt; "><span style="mso-spacerun:'yes'; color:#444444; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">原因</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">Q最常见的原因是服务器jar与本地jar版本不同Q其ơ是模板没有同步</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">U错思\</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">Q?/span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">       A、B两步</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">       如果q有问题Q则可能是bugQ联pFR技?/span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#0000ff; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">问题2. 部v后报找不到数据连?/span><span style="mso-spacerun:'yes'; color:#444444; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">原因</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">Q服务器数据q接定义有问题,比如本地定义的数据连接名字用的testQ报表数据集那边选择的数据库是testQ而服务器Z规范Q把数据q接名字改了如dbQ模板中数据集那Ҏ改,q是用的testQ就错了</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">U错思\</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">Q?/span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">      A、B两步</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">      然后认本地数据q接定义与服务器数据q接定义是否正确</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">      再确认模板数据集那边使用的数据库是否正确</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">      q里最好是试环境与正式环境尽可能的相同,发布报表的时候数据相关的配置文gdatasource.xml也要上传</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#0000ff; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">问题3. 部v后报表空的,没有数据/下拉控g中没有数据等</span><span style="mso-spacerun:'yes'; color:#444444; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">原因</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">Q和上面一个问题类|都是数据问题Q往往都是本地环境中定义的数据q接、数据表与服务器名字{不一致导_比如模板数据集被误删了,被传C服务器上Q数据没?/span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">U错思\</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">Q?/span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">       A、B两步</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">      认数据q接定义对不?/span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">      认模板中的数据集定义对不对</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#0000ff; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">问题4. 部v后报表可以访问,但是与本地有差异</span><span style="mso-spacerun:'yes'; color:#444444; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">原因</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">Q通常都是模板不同步导_比如改了一个小地方Q以p盖服务器上的模板了,实际上还没传</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">U错思\</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">Q?/span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">      A、B 两步</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#0000ff; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">问题5. 部v后报表工h不见?/span><span style="mso-spacerun:'yes'; color:#444444; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">原因</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">Q模板工h讄用的是服务器讄Q而服务器上的没设|全局工具?/span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">U错思\</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">Q?/span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">       A、B两步</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">       打开模板看一下工h用的模板单独讄q是采用的服务器讄</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">       如果用的是服务器讄Q则设计器远E登陆到服务器环境,看一下服务器讄工具栏有没有</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">       部v的时候注意要把服务器配置config.xml也要传到服务器上</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#0000ff; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">问题6. 部v后报表原来居中显C的变成居左昄了或相反情况</span><span style="mso-spacerun:'yes'; color:#444444; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">原因</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">Q和上面的问题类|用的是服务器配置Q而服务器配置中设|不正确</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">U错思\</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">Q?/span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">       A、B两步</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">       打开模板看一下预览配|用的是单独配置q是采用服务器设|?/span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">       一般可以直接改为单独设|,把显CZ|改为如居中Q再重新上传一下模?/span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">       如果q是不行Q则可能是bugQ联pFR技?/span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#0000ff; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">问题7. 部v后报表边框缺׃</span><span style="mso-spacerun:'yes'; color:#444444; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">原因</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">Q这个一般是服务器jar与本地jar版本不同D</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">U错思\</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">Q?/span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">       A、B两步</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">       jar同步后本地好的,服务器上q是有问题,则可能是bugQ联pFR技?/span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">      Ҏ问题FRq边处理的不完美Q通常遇到q样的情况,和FR反馈后,自己也通过一些变通的Ҏ解决Q比如在临近的单元格加上Ҏ</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#0000ff; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">问题8. 部v后报表单元格自动调整行高效果不对</span><span style="mso-spacerun:'yes'; color:#444444; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">原因</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">Q这个一般是服务器jar与本地jar版本不同D</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">U错思\</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">Q?/span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">       A、B两步</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">       jar同步后本地好的,服务器上q是有问题,则可能是bugQ联pFR技?/span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#0000ff; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">问题9. 部v报表后地图显CZ出来</span></p><p style="margin-bottom: 0pt; margin-top: 0pt; "><span style="mso-spacerun:'yes'; color:#444444; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">原因</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">Q部|的时候没把地囄到的内置数据库拷贝到服务?/span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-weight:bold; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">U错思\</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">Q?/span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">       A、B两步</span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; "><br /></span><span style="mso-spacerun:'yes'; color:#444444; font-size:10.5000pt; font-family:'宋体'; background:#ffffff; ">       认WEB-INF\resources\chartdb有没有拷贝到服务?br /><br /><br /><span style="color: #ff0000; font-size: 10.5pt; text-indent: -18pt; ">java报表工具Q?/span><br /><p style="margin-left:18.0000pt; margin-bottom:0pt; margin-top:0pt; "><a ><span style="color: #ff0000; font-size: 10pt; font-family: 'Times New Roman'; ">http://www.finereport.com/javareport</span></a> </p></span></p></div><img src ="http://www.aygfsteel.com/echoseason/aggbug/386156.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/echoseason/" target="_blank">season</a> 2012-08-23 23:14 <a href="http://www.aygfsteel.com/echoseason/archive/2012/08/23/386156.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>E序数据集传参用解x?/title><link>http://www.aygfsteel.com/echoseason/archive/2011/12/01/365270.html</link><dc:creator>season</dc:creator><author>season</author><pubDate>Thu, 01 Dec 2011 03:39:00 GMT</pubDate><guid>http://www.aygfsteel.com/echoseason/archive/2011/12/01/365270.html</guid><wfw:comment>http://www.aygfsteel.com/echoseason/comments/365270.html</wfw:comment><comments>http://www.aygfsteel.com/echoseason/archive/2011/12/01/365270.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/echoseason/comments/commentRss/365270.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/echoseason/services/trackbacks/365270.html</trackback:ping><description><![CDATA[     摘要: 通过TableData接口可以dM形式的数据源Qjava报表FineReport报表的数据来源可以是数据库数据或是文本数据,q且q可以是其它Mcd的数据,因ؓq些所有的数据来源都实CTableData接口Q所以用户只要实CTableData接口Q也可以用自定义类型的数据源了。对于传参,我们可以在程序数据集中写入传入的参数Q此Ҏ传入的参Cؓ tableName 和c...  <a href='http://www.aygfsteel.com/echoseason/archive/2011/12/01/365270.html'>阅读全文</a><img src ="http://www.aygfsteel.com/echoseason/aggbug/365270.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/echoseason/" target="_blank">season</a> 2011-12-01 11:39 <a href="http://www.aygfsteel.com/echoseason/archive/2011/12/01/365270.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>FineReport报表工具关于Linux下字体ؕ码终极解x?/title><link>http://www.aygfsteel.com/echoseason/archive/2011/11/10/363381.html</link><dc:creator>season</dc:creator><author>season</author><pubDate>Thu, 10 Nov 2011 02:07:00 GMT</pubDate><guid>http://www.aygfsteel.com/echoseason/archive/2011/11/10/363381.html</guid><wfw:comment>http://www.aygfsteel.com/echoseason/comments/363381.html</wfw:comment><comments>http://www.aygfsteel.com/echoseason/archive/2011/11/10/363381.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/echoseason/comments/commentRss/363381.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/echoseason/services/trackbacks/363381.html</trackback:ping><description><![CDATA[<p style="margin: 0cm 0cm 0pt" class="MsoNormal"><span style="mso-bidi-font-size: 10.5pt" lang="EN-US"><font face="Times New Roman"></font></span><span style="font-family: 宋体; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"></p> <p style="margin: 0cm 0cm 0pt" class="MsoNormal"><span style="mso-bidi-font-size: 10.5pt" lang="EN-US">1</span><span style="font-family: 宋体; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">Q在</span><span style="mso-bidi-font-size: 10.5pt" lang="EN-US">windows</span><span style="font-family: 宋体; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">下找到系l用到的字体,q里以楷体D?/span><span style="mso-bidi-font-size: 10.5pt" lang="EN-US"><o:p></o:p></span></p> <p style="margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 宋体; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">·?/span><span style="mso-bidi-font-size: 10.5pt" lang="EN-US">c</span><span style="font-family: 宋体; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">盘的</span><span style="mso-bidi-font-size: 10.5pt" lang="EN-US"> windows</span><span style="font-family: 宋体; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">文g夹的</span><span style="mso-bidi-font-size: 10.5pt" lang="EN-US"> Fonts</span><span style="font-family: 宋体; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">文g多w面存放了</span><span style="mso-bidi-font-size: 10.5pt" lang="EN-US">windows</span><span style="font-family: 宋体; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">中用到的所有字体,具体路径</span><span style="mso-bidi-font-size: 10.5pt" lang="EN-US">C:\WINDOWS\Fonts<o:p></o:p></span></p> <p style="margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 宋体; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">·扑ֈ楷体字体</span><span style="mso-bidi-font-size: 10.5pt" lang="EN-US">SIMKAI.TTF<o:p></o:p></span></p> <p style="margin: 0cm 0cm 0pt" class="MsoNormal"><span style="mso-bidi-font-size: 10.5pt" lang="EN-US"><v:shapetype id="_x0000_t75" stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75" coordsize="21600,21600"><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v:path o:connecttype="rect" gradientshapeok="t" o:extrusionok="f"></v:path><o:lock aspectratio="t" v:ext="edit"></o:lock></v:shapetype><img border="0" alt="" src="http://www.finereport.com/forumimages/font.png " width="84" height="81" /><o:p></o:p></span></p> <p style="margin: 0cm 0cm 0pt" class="MsoNormal"><span style="mso-bidi-font-size: 10.5pt" lang="EN-US"><a ><font color="#0000ff">http://www.finereport.com/forumimages/font.png</font></a> <o:p></o:p></span></p> <p style="margin: 0cm 0cm 0pt" class="MsoNormal"><span style="mso-bidi-font-size: 10.5pt" lang="EN-US">2</span><span style="font-family: 宋体; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">Q将楷体字体拯?/span><u><span style="color: #00b0f0; mso-bidi-font-size: 10.5pt" lang="EN-US">Linux</span></u><u><span style="font-family: 宋体; color: #00b0f0; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">操作pȝ软g</span></u><span style="font-family: 宋体; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">?/span><span style="mso-bidi-font-size: 10.5pt" lang="EN-US">JRE</span><span style="font-family: 宋体; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">下的</span><span style="mso-bidi-font-size: 10.5pt" lang="EN-US">\lib\fonts</span><span style="font-family: 宋体; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">文g?/span><span style="mso-bidi-font-size: 10.5pt" lang="EN-US"><o:p></o:p></span></p> <p style="margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 宋体; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">·注意q个</span><span style="mso-bidi-font-size: 10.5pt" lang="EN-US">JRE</span><span style="font-family: 宋体; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">必须是服务器用到?/span><span style="mso-bidi-font-size: 10.5pt" lang="EN-US">JDK</span><span style="font-family: 宋体; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">下的</span><span style="mso-bidi-font-size: 10.5pt" lang="EN-US">JRE<o:p></o:p></span></p> <p style="margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 宋体; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">例如服务器ؓ</span><span style="mso-bidi-font-size: 10.5pt" lang="EN-US">tomcat <o:p></o:p></span></p> <p style="margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 宋体; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">使用?/span><span style="mso-bidi-font-size: 10.5pt"> <span lang="EN-US">jdk</span></span><span style="font-family: 宋体; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">?/span><span style="mso-bidi-font-size: 10.5pt" lang="EN-US">usr</span><span style="font-family: 宋体; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">?/span><span style="mso-bidi-font-size: 10.5pt" lang="EN-US"> /java/jdk1.5.0_13<o:p></o:p></span></p> <p style="margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 宋体; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">登陆?/span><u><span style="color: #00b0f0; mso-bidi-font-size: 10.5pt" lang="EN-US">linux</span></u><u><span style="font-family: 宋体; color: #00b0f0; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">操作pȝ软g</span></u><span style="mso-bidi-font-size: 10.5pt" lang="EN-US"><o:p></o:p></span></p> <p style="margin: 0cm 0cm 0pt" class="MsoNormal"><span style="mso-bidi-font-size: 10.5pt" lang="EN-US">Cd</span><span style="font-family: 宋体; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">?/span><span style="mso-bidi-font-size: 10.5pt" lang="EN-US">usr/java/jdk1.5.0_13/jre/lib/fonts<o:p></o:p></span></p> <p style="margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 宋体; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">·登陆?/span><span style="mso-bidi-font-size: 10.5pt" lang="EN-US">ftp </span><span style="font-family: 宋体; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">之前准备好的楷体拷贝到当前目录?/span><span style="mso-bidi-font-size: 10.5pt" lang="EN-US"><o:p></o:p></span></p> <p style="margin: 0cm 0cm 0pt" class="MsoNormal"><span style="mso-bidi-font-size: 10.5pt" lang="EN-US">ftp id<o:p></o:p></span></p> <p style="margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 宋体; mso-bidi-font-size: 10.5pt">转到字体所在位|?span lang="EN-US"><o:p></o:p></span></span></p> <p style="margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 宋体; mso-bidi-font-size: 10.5pt" lang="EN-US">get SIMKAL.TTF </span><span style="font-family: 宋体; mso-bidi-font-size: 10.5pt">到当前目录下<span lang="EN-US"><o:p></o:p></span></span></p> <p style="margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 宋体; mso-bidi-font-size: 10.5pt" lang="EN-US">exit </span><span style="font-family: 宋体; mso-bidi-font-size: 10.5pt">退?span style="color: #00b0f0" lang="EN-US">ftp</span><span style="color: #00b0f0">工具可以了</span><span lang="EN-US"><o:p></o:p></span></span></p> <p style="margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 宋体; mso-bidi-font-size: 10.5pt" lang="EN-US"><o:p> </o:p></span></p> <p style="margin: 0cm 0cm 0pt" class="MsoNormal"><span style="mso-bidi-font-size: 10.5pt" lang="EN-US">3</span><span style="font-family: 宋体; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">Q重启服务器</span><span style="mso-bidi-font-size: 10.5pt"> </span><span style="font-family: 宋体; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">解决<u><span style="color: #00b0f0">功能强大的操作系l?/span></u></span><u><span style="color: #00b0f0; mso-bidi-font-size: 10.5pt" lang="EN-US">linux</span></u><span style="font-family: 宋体; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">下字体ؕ码问?/span><span style="mso-bidi-font-size: 10.5pt" lang="EN-US"><o:p></o:p></span></p> <p style="margin: 0cm 0cm 0pt" class="MsoNormal">文章转自Q?span style="font-family: 'Times New Roman','serif'; font-size: 10.5pt; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: 宋体; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA" lang="EN-US"><a ><font color="#0000ff">http://blog.vsharing.com/fanfanzheng/A1443212.html</font></a></span></span></p> <img src ="http://www.aygfsteel.com/echoseason/aggbug/363381.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/echoseason/" target="_blank">season</a> 2011-11-10 10:07 <a href="http://www.aygfsteel.com/echoseason/archive/2011/11/10/363381.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>JAVA报表工具中Cannot create PoolableConnectionFactory解决Ҏhttp://www.aygfsteel.com/echoseason/archive/2011/09/05/357975.htmlseasonseasonMon, 05 Sep 2011 02:29:00 GMThttp://www.aygfsteel.com/echoseason/archive/2011/09/05/357975.htmlhttp://www.aygfsteel.com/echoseason/comments/357975.htmlhttp://www.aygfsteel.com/echoseason/archive/2011/09/05/357975.html#Feedback0http://www.aygfsteel.com/echoseason/comments/commentRss/357975.htmlhttp://www.aygfsteel.com/echoseason/services/trackbacks/357975.html

    ?a >FineReport报表中,q接Oracle数据库时Q有时会出现Cannot create PoolableConnectionFactory的报错,该错误原因是无法创徏q接池工厂对象。这时可能是服务器端口地址、端口、数据库名或者数据库实例名等信息错误。下面详l介l?a >java报表工具中如何解册问题?/p>

1. 可能sid_name出错Q需要修改sid_name

该错误常见日志的报错信息为:

ORA-12505:TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
172.30.10.15:1521:slsdb

该错误中slsdb不是正确的sid_nameQ可能是server_nameQ因此只要修改sid_namep。重启后报表工具p正常q行?/p>

2. 配置q接池时出错

该错误常见报错日志ؓQ?/span>

TNS-12505:TNS:listener could not resolve SID given in connect descriptor

解决1Q看看端口后面的sid是否写错?/span>

解决2Q在oracle里面用tnspingQ检查一下listener启动了没有,再看看listener config file里面有没有写上你的SID?/span>

解决3Q到服务器上看一下,listener.ora

SID_LIST_LISTENER=

(SID_DESC=

(GLOBAL_DBNAME=oracle9i)

(ORACLE_HOME=/opt/oracle9i/product/9.2.0)

(SID_NAME=ORCL)

)

你的url里面可能用的是上面的GLOBAL_DBNAME的|是用的SERVICE_NAMEQ替换成SID_NAMEQ也可以dsqlplus服务?sqlplus/as sysdba SQL>SELECT * FROM V$instance;查看本机上sid的名字?/span>

3. 监听器不能解析SERVICE_NAME

报错日志为:

ORA-12514:TNS:监听q程不能解析在连接描q符中给出的SERVICE_NAME

解决ҎQSID_NAME跟安装oracle时的ORACLE_SID相同Q?span>SERVICE_NAME=DBNAME.DB_DOMAIN
DBNAME
x数据库名Q它是oracle数据库的内部标识Q安装以后轻易不要修?/span>

文章转蝲Q?/span>


 



season 2011-09-05 10:29 发表评论
]]>
6.5 Java报表工具注册常见问题处理Ҏhttp://www.aygfsteel.com/echoseason/archive/2011/08/29/357495.htmlseasonseasonMon, 29 Aug 2011 06:13:00 GMThttp://www.aygfsteel.com/echoseason/archive/2011/08/29/357495.htmlhttp://www.aygfsteel.com/echoseason/comments/357495.htmlhttp://www.aygfsteel.com/echoseason/archive/2011/08/29/357495.html#Feedback0http://www.aygfsteel.com/echoseason/comments/commentRss/357495.htmlhttp://www.aygfsteel.com/echoseason/services/trackbacks/357495.html

最q一个月?/span>java报表工具注册Ӟ׃q艾思,上v泛微Q上?/span>IBM都有注册不成功的情况?/span>
大抵分三U情形:
1.
版本、ƈ发数不对Q没有严格按照订货单来,注意标准版和企业版的区别?/span>
   
q个原因往往是客户那边的商务部和技术部没有沟通协调好Q上h微)
2.Mac
地址不对Q多个网卡(׃q艾思)
3.
要求是服务器上的mac地址Q不能是本机上的Q上?/span>IBMQ?/span>

 

发生?/span>linux?/span>unixpȝ下的报表注册Q?/span>
1.  1inux
?/span>unixpȝ?/span>mac地址格式和一般的mac形式不一P比如?/span> 0*001F296EFD64Q此时不要奇怪,和一般情况下一h册?/span>
2.  
?/span>linux下注册,填好公司名称和项目名U后Q弹出的文g?/span> ReportSever文gQ不?/span>txt文gQ。若在没有关掉迅L听浏览器Q不可进行注册,此时应将其关掉,便可注册?/span>

文章转自Q?a >http://blog.vsharing.com/fanfanzheng/A1404193.html




season 2011-08-29 14:13 发表评论
]]>
վ֩ģ壺 | | ն| | ָ| | | ֹ| | | | ֣| Ԫı| | | | ֶ| ɳ| | ¤| | ɽ| ų| | | | | | DZɽ| | | ̨| | ͼ| »| ˮ| ҳ| ɽ| ξ| | |