行式填报表导入excel数据直接入库

本文介绍如何通过Java处理行式填报表,从Excel文件批量导入数据并直接存入数据库。利用特定库进行Excel读取,结合填报表定义,将数据逐行列写入数据库,提升大数据量时的导入效率。
摘要由CSDN通过智能技术生成

最近在做填报表

就学习了一下行式填报表导入excel数据直接入库

由于行式填报在导入excel的数据量比较大的时候,页面加载数据会很慢,在这种情况下可以采取后台直接导入数据库的方法

 

实例如下:

package example;
import java.sql.Connection;
import java.sql.Driver;
import java.sql.DriverManager;
import java.text.SimpleDateFormat;
import java.util.Locale;

import com.runqian.base4.resources.FormatUtils;
import com.runqian.report4.ide.ExcelImporter;
import com.runqian.report4.input.DataSaver;
import com.runqian.report4.input.RowReportSaver;
import com.runqian.report4.model.ReportDefine;
import com.runqian.report4.model.engine.ExtCellSet;
import com.runqian.report4.model.engine2.RowReport;
import com.runqian.report4.usermodel.Area;
import com.runqian.report4.usermodel.Context;
import com.runqian.report4.usermodel.DataSourceConfig;
import com.runqian.report4.usermodel.Engine;
import com.runqian.report4.usermodel.INormalCe

Excel Report BuilderExcel Report 万能报平台Excel 使用WEB服务(webservice)访问远程数据库使用本软件可以使你的应用系统(数据库)和excel相连。可以把它嵌入到你的应用系统里,做为应用系统的外挂程序。可以利用excel强大的编辑功能,随心所欲地开发出精美的报。本软件基于Web Service(Web服务)新技术,所以它支持web网络,可以通过Internet访问远程数据。只要你稍懂SQL,就可以在Excel Report 万能报平台上设计报。通过设置字段,参数等信息来设计报。BI智能报,支持透视。提供存储过程接口,便于用户二次开发。有用户管理,报权限的管理。支持多语种。 软件环境: 客户端: Windows 2000及以上版本,Microsoft Office 2000及以上版本 服务器端:Windows和Linux都可以,jsdk1.4,tomcat5 数据库:支持Oracle, SQL Server 等数据库。下载地址: http://203.208.248.203:81/pan/Excel/Excel_Report_Setup.rar相关软件下载地址: Jdk 1.4:http://203.208.248.203:81/pan/Excel/j2sdk-1_4_2_06-windows-i586-p.exeTomcat5:http://203.208.248.203:81/pan/Excel/jakarta-tomcat-5.0.27.exe SQL Server SP3:http://203.208.248.203:81/pan/Excel/sql2ksp3.exeSQL Server SP4:http://download.microsoft.com/download/9/b/f/9bff6646-2cdb-4069-ada0-548be9cb9338/SQL2000-KB884525-SP4-x86-CHS.EXE联系方式: http://pansoft.ik8.com QQ: 10124900MSN: bear_pan@hotmail.comE_Mail: bear_pan@163.comExcel Report BuilderExcel Report Builder is an easy and convenient tool for the creation and customization of reports which takes advantage of the formatting and presentation capabilities of Microsoft Excel. The program allows the rapid construction of reports.A GUI style design environment, which allows the user to design their reports visually inside MS Excel. Reports can be saved and then viewed and printed as pure Excel documents. The reports are created and printed rapidly.In fact, it is by harnassing the power of Excel that gives Excel Report Builder these abilities.No technical knowledge is needed in order for the user to customise his or her own reports. Key Features of the Database Report Builder for Excel include: Report creation using Microsoft Excel Get data through webservice,so you can get remote data Support of the SQL-queries for the data sets creation Calling of the stored procedures for the data sets creation Creation of the reports with parameters Work with the Microsoft Excel macros Charts creation in a reportSoftware: Client: Windows 2000 or above,Microsoft Office 2000 or above Server: jsdk1.4,tomcat5 Database: Oracle or SQL Server Download: http://203.208.248.203:81/pan/Excel/Excel_Report_Setup.rarOther Softwares: Jdk 1.4:http://203.208.248.203:81/pan/Excel/j2sdk-1_4_2_06-windows-i586-p.exeTomcat5:http://203.208.248.203:81/pan/Excel/jakarta-tomcat-5.0.27.exeSQL Server SP3:http://203.208.248.203:81/pan/Excel/sql2ksp3.exeSQL Server SP4:http://download.microsoft.com/download/9/b/f/9bff6646-2cdb-4069-ada0-548be9cb9338/SQL2000-KB884525-SP4-x86-CHS.EXEContact: http://pansoft.ik8.com QQ: 10124900MSN: bear_pan@hotmail.comE_Mail: bear_pan@163.com
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值