1. SAXBuilder converts an XML file into a JDOM tree
2. Xpath查询选择节点,newInstance得到xpath对象后selectNodes or selectSingleNode
3. Publish event 使用 HttpClient,StringTree json 构造eventJsonStr
JSONWriter writer = new JSONWriter(false);
Map map = new HashMap();
map.put("event",eventName);
map.put("source", event);
map.put("param", param);
String eventJsonStr = writer.write(map);
4. JmsTemplate.send(), 创建发送的信息类型 msg = session.createTextMessage();
5. metaDate 得到表的元数据信息;
databaseMetaData = conn.getMetaData();
rs = databaseMetaData.getColumns(null, param.getSchema().toUpperCase(),
tableName.toUpperCase(), null);
while (rs.next()) {
ColumnBean colb = new ColumnBean();
colb.setName(rs.getString("COLUMN_NAME"));
colb.setType(rs.getString("TYPE_NAME"));
columnBeanList.add(colb);
}
6. 三种主流数据库的数据类型对比
Oracle 数据类型
|
SqlServer 数据类型
|
MySql数据类型
|
BLOB
|
VARBINARY(MAX)
|
Blob
|
CHAR
|
CHAR
|
Char
|
CLOB
|
VARCHAR(MAX)
|
text
|
DATE
|
DATETIME
|
date
|
FLOAT
|
FLOAT
|
float
|
INT
|
NUMERIC(38)
|
INTEGER
|
INTERVAL
|
DATETIME
|
DATETIME
|
LONG
|
VARCHAR(MAX)
|
text
|
NUMBER
|
FLOAT
|
float
|
TIMESTAMP
|
DATETIME
|
TIMESTAMP
|
VARCHAR2
|
VARCHAR
|
VARCHAR
|
分享到:
相关推荐
Learn the fundamentals of computational mathematics and statistics, as well as some pseudocode being used today by data scientists and analysts. You’ll get to grips with machine learning, discover ...
Learn the fundamentals of computational mathematics and statistics, as well as some pseudocode being used today by data scientists and analysts. You’ll get to grips with machine learning, discover ...
and fill in some of the gaps in that book. The NATO Science Series Book was based on a set of lectures presented at the NATO Advanced Study Institute (ASI) on Data Assimilation for the Earth System, ...
作者:Pang-Ning Tan,Michael Steinbach, Vpin Kumar Data mining is a technology that blends ... We start with a description of some well-known applications that require new techniques for data analysis.
We have added four new chapters and updated some of the existing chapters. Because many readers are familiar with the layout of the first edition, we have tried to change it as little as possible. ...
The fourth edition of Data Structures and Algorithm Analysis in C++ describes data structures, methods of organizing large amounts of data, and algorithm analysis, the estimation of the running time ...
To overcome these drawbacks, in this paper, we extend the Logistic map-3 to the finite field Z 3 n , and give theoretical analysis about some period properties of the Logistic map-3 over Z 3 n ....
instead of conclusive, it reveals that besides some common properties, different perspectives lay strong emphases on different aspects of data mining. The emphasis of the database perspective is on ef...
Read a csv file into python and R, and print out some statistics on the data. Gain knowledge of the data formats and programming stuctures involved in retrieving API data. Make effective use of ...
Throughout this book the reader is introduced to the basic concepts and some of the more popular algorithms of data mining. With a focus on the hands-on end-to-end process for data mining, Williams ...
between a team that makes marginal contributions and one that drives the business, between a company that gains some value from its data and one in which data truly is “the most valuable resource.”...
"give me some credit data"这个标题暗示我们正在探讨的是一个关于获取或分享信用信息的需求,可能是在为一个项目或研究寻找合适的信用数据集。Kaggle是一个著名的数据科学竞赛平台,同时也提供了大量的公开数据集供...
Examine the problem of maintaining the quality of big data and discover novel solutions. You will learn the four V’s of big data, including veracity, and study the problem from various angles. The ...
some software of my for java delepement some software of my for java delepement some software of my for java delepement
Some of the newest cutting-edge techniques, including pattern classification analysis, connectivity modeling and resting state network analysis, are also discussed. Readers of this book, whether ...
The first two parts, “Core JavaScript” and “Client-Side JavaScript”, review these features whilst the part on “Applications” introduces some of the basic skills of a “data scientist”. ...