Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / Oracle / Oracle Server / April 2006

Tip: Looking for answers? Try searching our database.

OCI or OCCI

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
schw - 28 Apr 2006 11:20 GMT
Hi All,

I have a java program and I'd like to call a stored procedure or create
triggers on oracle, can I use OCI for this ?

thanks

best regards
schw
Amogh - 28 Apr 2006 14:02 GMT
> Hi All,
>
[quoted text clipped - 5 lines]
> best regards
> schw

>I have a java program and I'd like to call a stored procedure or
>create triggers on oracle

Why not just use JDBC ?

Rgds.
Amogh
Jim Kennedy - 28 Apr 2006 15:23 GMT
> Hi All,
>
[quoted text clipped - 5 lines]
> best regards
> schw

Creating triggers are a rare thing. You don't keep creating them, unlike
selecting, updating,deleting, inserting data.  So for creating triggers use
SQLPlus.  For Java I would use JDBC to connect to the database.
Jim
schw - 28 Apr 2006 15:51 GMT
you're right...but I need a tool that will update them every now and
then..

do you still think using JDBC than OCI ?
Amogh - 28 Apr 2006 16:19 GMT
> you're right...but I need a tool that will update them every now and
> then..
>
> do you still think using JDBC than OCI ?

Writing Java, its natural for somebody to use JDBC
to interface with Oracle. Since all you want to do is
create triggers and execute stored procedures, go for JDBC.

Rgds.
Amogh
Jim Kennedy - 29 Apr 2006 15:19 GMT
> you're right...but I need a tool that will update them every now and
> then..
>
> do you still think using JDBC than OCI ?

Oracle ships with the tool.  It is called sqlplus.  Most people writing in
Java use JDBC to access databases.
Jim
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.