- 博客(107)
- 收藏
- 关注
转载 C语言 system()函数打开一个程序,路径有空格的问题
可以把包含空间的路径部分用双引号引起来例如我在c盘的program files文件夹中建了一个a.txt文件可以使用这种形式打开system("c:\\\"program files\"\\a.txt");注意每个双引号前要有转义字符\前缀
2015-07-08 17:23:24 3156
转载 ’javac’ is not recognized as an internal or external command,operable program or batch file.
【问题】windows的cmd下运行javac结果出错:D:\DevRoot\IndustrialMobileAutomation\HandheldDataSetter\ANTLR\projects\demoHello>javac Hello*.java ‘javac’ is not recognized as an internal or external command,
2015-05-29 17:47:37 3803
转载 什麽是MBS,ABS和CDO
1.都是資產證券化產品 華爾街有句名言“如果要增加未來的現金流,就把它做成證券。如果想經營風險,就把它做成證券”。從本質上來講,MBS,ABS和CDO都是資產證券化產品。根據美國證券交易委員會(SEC)給出的定義,資產證券化,指產生這樣一種證券,它們主要是由一個特定的應收款資產池或其他金融資產池來支持(backed),保證償付。而這些資產證券化產品的價值P可以用下面公式來表示:
2015-05-20 10:21:11 1988
转载 Setting parameter value for binding with code
Back in the 10.1.3 days I wrote an entry that showed how to set the value of a parameter that is referenced in your page's binding by writing some code in your backing bean.Well with 11g we moved to
2015-05-06 10:33:41 682
转载 Display row number in af:table
Environment (JDeveloper 11.1.1.5.0, ADF Faces)In this post, I will explain how to add an extra leading column to display the row’s number. This example assumed that we have oracle.adf.RichTable in o
2015-04-30 10:12:34 702
原创 ADF BC: erro: JBO-25028: Number.bigDecimalValue Creation Error
ADF BC: erro: JBO-25028: Number.bigDecimalValue Creation ErrorADF如何出现这个错误,说明 数据库中的表和 eo,vo不同, 数据库的表的字段为string 但是 eo,vo为number即可解决
2015-04-29 17:45:09 883
原创 popup dialog 案例
package com.contract.app.view.beans;import com.contract.app.model.am.HomeAMImpl;import com.contract.app.model.vo.ContractChangeTerminateAutoVOImpl;import com.contract.app.view.utils.ADFUtils;i
2015-04-24 17:40:29 598
转载 How to create LOV on a reference attribute (a different approach)
Create a new update-able transient attribute say ManagerName in the EmployeesView. Create a new read-only VO to fetch manager name and idAdd the manager LOV on ManagerName attribute. Mak
2015-04-02 14:33:36 600
原创 ADF升级版查询
当前用户:ADFContext.getCurrent().getSessionScope().get("userId");==========================================================升级版查询:(在VO增加一个attribute A, A的类型为boolean,control type为checkbox,A不用绑定LOV,
2015-04-01 18:14:15 545
原创 ADF实现SQL,传递参数查询sql
ADF实现SQL,传递参数查询sql1. AM实现类实现sqlAM:public int increaseSalary(int deptId, int increamentPercent){DBTransaction trans = getDBTransaction();CallableStatement statement = null;int rows
2015-03-31 22:30:48 959
原创 如何使用ADF中的查询
总的来说ADF的查询:VO + query criteria主要的操作界面如下:默认情况下,ADF在data control中已经为我们创建了 all queriable attributes,但是如果我们需要用到参数,自定义,那么需要自己在VO创建一个criteria,如果需要变量,需要创建一个变量字段绑定一个变量 yesNoBindVAR(刚刚创建的变量)
2015-03-30 18:07:44 1194
原创 ADF TABLE 和 ADF read only Table的转换
ADF TABLE 和 ADF read only Table的转换将ADF TABLE中的 inputText 改为 ADF read only Table中的 outputText即可。
2015-03-30 09:38:08 383
转载 ADF中使用Sequence
概述 在Oracle相关应用中,经常使用Sequence作为主键,而在Oracle ADF应用中,应用Sequence自动产生主键也是非常方便的,文本中将介绍两种比较通用的使用方法。实现方法一 编写Java代码,即在Entity Object的实现类中重写create()方法,利用Oracle ADF提供的SequenceImpl帮助类实现Sequenc
2015-03-26 15:28:41 495
转载 查找所有SEQUENCE、TABLE, 创建SEQUENCE
查找所有SEQUENCE、TABLE select * from user_objects ubs; www.2cto.com select * from user_objects ubs where ubs.OBJECT_TYPE='SEQUENCE'; --查找所有SEQUENCE select * from user_o
2015-03-26 15:04:11 724
原创 JDeveloper Issue: "The specified schema object name is not an existing object. Unselect Existing Ob
JDeveloper Issue: "The specified schema object name is not an existing object. Unselect Existing Object or enter an existing schema object."解决办法:在schema object 那里加上“schema的名
2015-03-26 10:04:31 1046
原创 Oracle PLSQL语句实例
/** * plsql:某个项目对效率要求比较高的时候用,一般不用,大多数项目写的是夸数据库平台的,用不上。 * pssql大多数能做的东西,java都能替代它。在某些特殊的地方要求用plsql的时候你才会用。 * * 变量声明的规则: * 1、变量名不能使用保留字,如from、select等 * 2、第一个字符必须是字母 * 3、变量名最多包含30个字
2015-03-12 16:14:18 436
转载 程序员那些事
摘自Easy的《程序员跳槽全攻略》提升架构能力DRYDRY是Don't Repeat Yourself的缩写,翻译过来就是「不做重复事」。这正是一个逼近软件本质的原则,它指导我们把经常使用的功能抽象成库,把重复出现的代码重构为可重用的框架模块。如果你用DRY来要求自己,很快你就会发现自己抽象和架构能力的飙升。半自动化但是我们活
2015-02-12 10:54:11 618
转载 Great Teacher Friedman
摘自王垠的文章《GTF - Great Teacher Friedman》Dan Friedman 是一个不随波逐流,有独立思想的人。他的眼里容不下过于复杂的东西,他喜欢把一个东西简化到容得进几行程序,把相关的问 题理解得非常清楚。他的书是一种独特的“问答式”的结构,很像孔夫子或者苏格拉底的讲学方式。他的教学方式也非常独特。这在本科生课程 C311 里已经有一些表现,但是在研究生的课程 B
2015-02-11 17:26:17 514
转载 Conditional Page Breaking
Quick tidbit today from Hok Min, the new RTF uber meister. It came out of a question with someone trying to use the 'split-by-page-break' command in a bit of a funky way. They had the following code
2015-02-11 15:05:05 438
转载 Number Formatting in XML Publisher
While designing XML Publisher reports, many a times we need to play with numbers and change their formats as part of the client’s requirements. Here is a brief explanation of couple of techniques that
2015-02-09 17:37:52 613
转载 Using Variables in OBIEE
Using VariablesYou can reference variables in several areas of Oracle BI Enterprise Edition, including in analyses, dashboards, KPIs, actions, agents, and conditions. For example, suppose that you w
2015-02-06 12:16:34 907
转载 外部系统集成BIEE 11g页面同时去掉顶部工具栏和仪表盘菜单
转自csdn会员lele5000的文章:经常有网友问到,怎样在外部系统中集成BIEE的仪表盘页,同时不要显示上面的工具栏和仪表盘右上角的菜单,如下图所示: 需要将1和2都去掉,1比较容易,在集成的时候用PortalPages这个参数而不是Dashboard就可以了。要去掉2的话就需要借助CSS来实现了,下面分别给出实现过程。
2015-02-03 13:59:04 1129
转载 biee的Ago的函数和todate函数
ago函数的语法ago(需要增减的字段,增减的等级,数字)Ago("xxx."xx"."ff" , "xxx"."dd"."Month Level" , 1)
2015-02-03 11:08:35 3869
转载 用PLSQL查询Oracle数据库某字段的本年数,上年同期数,同比
使用分析函数:偏移量函数偏移量函数:Lag(exp,N,defval) over(PARTITION BY region order by year)Lag函数为Lag(exp,N,defval),exp是所要取值的列,N表示偏移量,若设为1表示为上一个值,defval是当该函数无值可用的情况下返回的值。region 表示参照序列,只对同一个region的值取上一个值。你写的时候需要按per
2015-01-28 11:48:32 3606
转载 Excel数据导入到oracle
打开pl/sql,如图所示界面,点击菜单栏中的T00LS ODBC Imtorper,打开ODBC Importer选项框在Data fromODBC页中选择需要导入的文件的格式,选择ExcelFiles.输入用户名密码。然后点击Connect在跳出的选择工作簿对话框,选择所要导入的Excel文件,点击确定。在出现的Table/Query中的Import Table
2015-01-27 11:45:51 770
转载 java.io.UnsupportedEncodingException: GBK
我也遇到这个问题了,但是我把charsets.jar放到jre中并没有解决问题,而是把charsets.jar放到jre/ext中,才解决问题的
2014-12-18 17:49:23 4617
转载 Installation error: INSTALL_FAILED_MEDIA_UNAVAILABLE
问题描述:用eclipse编译程序,然后在android手机上运行,报错如下:[2012-06-21 12:56:17 - xmobile17] Installation error: INSTALL_FAILED_MEDIA_UNAVAILABLE[2012-06-21 12:56:17 - xmobile17] Please check logcat output fo
2014-12-18 17:38:15 531
转载 How to solve "Failed to locate the Google Cloud Messaging" in ADF Mobile deployment
I recently had this issue and also could not install the GCM library from the Android SDK manager (Android 4.4 API 19). As per a previous comment, I resolved as follows:1) Downloaded gcm_r03.zip f
2014-12-18 14:40:47 619
原创 执行impdp命令出错的解决办法
问题一:With the Partitioning, OLAP, Data Mining and Real Application Testing optionsORA-39002: invalid operationORA-39070: Unable to open the log file.ORA-29283: invalid file operationORA-06512
2014-12-12 16:06:30 11876
原创 Unable to Sign In An invalid User Name or Password was entered解决办法
OBIEE Unable to Sign In An invalid User Name or Password was entered如果登陆biee遇到以上提示,如果你load了rpd后解决办法:用administrator tool 打开rpd,管理-身份-delete所有用户,保存,重新restart bi server
2014-12-11 18:01:29 5395
转载 10 free tools for creating infographics
For all the importance we place on text, it's an indisputable fact that images are processed in the brain faster than words. Hence the rise and rise of the infographic which, at its best, transforms c
2014-12-08 13:57:38 1042
转载 Infographics
As Mike says, “The first thing you need to think about is data, then structure. Styling is the final consideration in the process.”
2014-12-08 11:18:36 708
转载 BIP_BI Pubisher的基本语法(概念)
1. XML Publisher概念 (1).数据逻辑 (2).报表布局---->XML Publisher---->报表输出 (3).翻译转化 2. 开发Xml publisher流程报表 (1). 设计数据源文件---->注册数据源文件 (2). 设计RTF模板---->注册RTF模板
2014-12-01 10:57:19 1455
转载 oracle tnsping命令、sql*plus使用
1、测试数据库服务的命令: 控制台 tnsping命令 IP地址 端口号 数据库服务名称cmd->tnsping 192.168.1.123:1521/oracle10g tnsping命令:如果能够ping通,则说明客户端能解析listener的机器名,而且lister也已经启动,但是并不能说明数据库已经打开,而且tsnping的过
2014-11-27 10:59:21 625
转载 PowerCenter 使用日记
1. INFORMATICA CLIENT的使用1.1 Repository Manager 的使用1.1.1 创建Repository。前提:a. 在ODBC数据源管理器中新建一个数据源连接至你要创建Repository的数据库(例:jzjxdev) b. 要在你要连接的数据库中新建一个用户(例:name: ETL password: ETL)
2014-11-26 17:02:17 3465
转载 informatica中的导航器窗口嵌入到主界面的问题。
解决办法:9.1的,你先用鼠标右击Repositories的空白处,点击勾上Allow docking,然后你鼠标双击导航窗口的上边框,它就还原了。
2014-11-26 10:44:27 2324 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人