码迷,mamicode.com
首页 > 数据库 > 详细

Database Connector

时间:2015-12-01 08:23:44      阅读:174      评论:0      收藏:0      [点我收藏+]

标签:

The Database connector allows you to connect with almost any Java Database Connectivity (JDBC) relational database using a single interface for every case. The Database connector allows you to run diverse(adj. 不同的;多种多样的;变化多的) SQL operations on your database, including Select, Insert, Update, Delete, and even Stored Procedures.

Notes:

  • In Mule 3.7 and newer, you can specify MEL expressions in connector fields. Additional attributes can be configured dynamically depending on the  database configuration you use. For more information, see the Fields That Support MEL Expressions section.

  • The Database connector replaces the JDBC connector. As of Mule 3.5.0, the JDBC connector is deprecated.

  • Starting in Mule 3.7, database connector configurations enable the dynamic configuration of some of their connection attributes. This feature enables an application to support multi-tenant scenarios using the same configuration element, and changing the connection attributes based on, for example, information coming from each request

The Database connector lets you perform predefined queries as well as queries that take the connector’s input to specify variable parameters or even to construct sections of the query dynamically. The Database connector also allows the use of template queries that are both self sufficient and customizable. You can also perform multiple SQL requests in a single bulk update. The connector also allows you to perform Data Definition Language (DDL) requests, that alter the data structure rather than the data itself. The Database connector is available with both Mule Community and Mule Enterprise runtimes.

Prerequisites(n. 预备知识,先决条件(prerequisite复数))

This document assumes that you are familiar with databases in general and with SQL syntax. Furthermore, to complete the examples presented here, we assume that you have access to the database that you are to connect to, and that you have downloaded the proper database driver for your database.

 

 

 

 

 

----------------本文来源于mule esb官网,仅仅用于记录学习。----------------------

 

Database Connector

标签:

原文地址:http://www.cnblogs.com/fengstingworld/p/5009010.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!