ADF11g从Excel导入到Table.doc

  1. 1、本文档共9页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
ADF11g从Excel导入到Table

ADF 11g : Import From Excel Into an ADF Table ADF 11g provides an “export to excel” feature that allows you to take data from an ADF table into an excel sheet. But what about the other way around. Sometimes you need to work with excel sheets or comma separated values, and load the content of such a file into a database table. You could use the external table feature of the Oracle Database for that, or you just use any tool to load the csv contents into a database table. The use case I have is that the data in the csv needs to be validated and changed before it is committed into the database. In this post I show you how to load the csv contents into an ADF table component so you can edit the data before committing Setting up the application This post is based on a simple table and on a simple csv file. The Staff table definition is here:  HYPERLINK http://technology.amis.nl/blog/8418/adf-11g-import-from-excel-into-an-adf-table \l viewSource \o view source view source  HYPERLINK http://technology.amis.nl/blog/8418/adf-11g-import-from-excel-into-an-adf-table \l printSource \o print print HYPERLINK http://technology.amis.nl/blog/8418/adf-11g-import-from-excel-into-an-adf-table \l about \o ? ? 1CREATE TABLE ALS_STAFF 2??(  3????ID??????????? NUMBER(3,0), 4????FIRST_NAME??? VARCHAR2(20 BYTE),  5????LAST_NAME???? VARCHAR2(30 BYTE), 6????EMAIL_ADDRESS VARCHAR2(100 BYTE),  7????CONSTRAINT ALS_STF_PK PRIMARY KEY (ID) ENABLE 8??)And the csv file  HYPERLINK http://technology.amis.nl/blog/8418/adf-11g-import-from-excel-into-an-adf-table \l viewSource \o view source view source  HYPERLINK http://technology.amis.nl/blog/8418/adf-11g-import-from-excel-into-an-adf-table \l printSource \o print print HYPERLINK http://technology.amis.nl/blog/8418/adf-11g-import-from-excel-into-an-adf-table \l about \o ? ? 1ID,FRST_NAME, LAST_NAME,EMAIL 2100,Peter,Jones,testmail@  3101,John,Janssen,a-testmail@ 4102,Thomas,Higgins,b-testmail@  5

文档评论(0)

asd522513656 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档