Creating a Oracle Data Source Connection

http://scn.sap.com/community/developer-center/mobility-platform/blog/2012/07/08/creating-a-oracle-data-source-connection

发表人 satya murthy 位置 SAP Mobile Platform Developer Center 打开 2012-7-8 20:42:25                       

Hi everybody the main intention presenting this blog is to guide the SUP basic learners as how to create the Data Source using Oracle. The Steps that Explained below have been tested in SDK 2.1.3.

Apart from the default Database that comes by installing SDK, the EXTERNAL Database Oracle 11g has been installed in my laptop. While installing Oracle Database I have assigned Database id as MOB. Once after installing you need to check if Database is mounted or not.

My system Environment is 

Operating System – Windows – 7 64bit 

SDK 2.1.3

Oracle 11g 64bit

Once you open the Workspace, you need t right click on the Database Connection in the Enterprise Explorer, then select the New Icon in the Connection
Profile Types wizard

1.png

you need to select Oracle from the list of defined Operations. Select Connection Profile Type as Oracle and assign the Driver Name

2.png3.png

Next you need to select New Driver Definition icon. You may also have an option to select Oracle Thin Driver & System Version.

4.png

Next select JAR list tab and add oracle OJDBC14.jar.  Now you need to search .jar file In the Oracle Installation Directory. Now you need to delete the default .jar file.

5.png6.png

 

(Remove the ojdbc14.jar)

7.png

Next important thing click on Properties tab and add the Correct
Properties

Connection URL, Database name, Driver class, Password, User id

8.png

You may check the Database Details as below

E:\app\satyam\product\11.2.0\dbhome_1\NETWORK\ADMIN\ listener.1.ora

Next you need to click on ‘ok’ then Test Connection now you
will get a message as Ping Success.

9.png10.png

Once you get a Success Message, you have to create Mobile
Workflow Application.

While creating MBO, you have to  open diagram editor. Now Drag and Drop
ZEMPLOYEE table to the Diagram Editor. Once you have done that, a warning
message will be displayed, you need to click ok.

By default Generated Operation called Create will open.

11.png12.png

Finally we will get an Error Message.

13.png

There is a reason
behind this Error. You need to Configure the JAR file that is been defined in
the Database Connection needs to be pasted in two locations you may refer the Screenshot
below.

C:\Sybase\UnwiredPlatform\MobileSDK213\Unwired_WorkSpace\Eclipse\sybase_workspace\mobile\eclipse\plugins\com.sybase.uep.com.oracle_2.1.3.201205181305\lib

C:\Sybase\UnwiredPlatform\Servers\UnwiredServer\lib\3rdparty

14.png

Once again try to create MBO.

15.png16.png

17.png

I hope this somehow useful to have an idea to how to crteate datasources.

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值