BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 09-11-2007, 03:10 AM   #1 (permalink)
New Member
 
Join Date: Aug 2007
Model: 7100T
PIN: N/A
Carrier: student
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default @JDE - How to connect to a Oracle SQL DB

Please Login to Remove!

Hello Everybody,

can tell me everybody, how to connect in JDE to a Oracle SQL Database?
In Eclipse-Java, i connect to a DB:
Class.forName ("oracle.jdbc.driver.OracleDriver");
Connection con = DriverManager.getConnection ("jdbc:oracle:thin:@141.21.10.12:1521:swt06", user, pwd);
Statement statement = con.createStatement ( );
...

In JDE-BlackBerry-Java i have in vain tryed:
Class.forName("oracle.jdbc.driver.OracleDriver");
HTTPConnection? StreamConnection?

Thank you in advance.
Gretting Haase
Offline  
Old 09-11-2007, 03:43 AM   #2 (permalink)
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

there are database drivers available but they are very expensive and i am not sure if there are some for oracle.
the easiest solution would be to use a client/server approach and have a server program handle the database connection.
__________________
java developer, Devinto, hamburg/germany
Offline  
Old 09-12-2007, 08:00 AM   #3 (permalink)
New Member
 
Join Date: Aug 2007
Model: 7100T
PIN: N/A
Carrier: student
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

harm. thanks simon
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.