Oracle ORDS使用SQL Developer发布Webservice

本文介绍如何通过SQL Developer启用Oracle数据库的ORDS服务,为模式和对象创建REST服务,以及进行ORDS管理和使用SQLcl命令操作REST模块。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Assumptions and Comments

This article assumes the following.

  • You already have a functioning installation of ORDS.
  • The paths for the ORDS configuration match those from the ORDS installation article listed above.
  • You have an Oracle database available. In this article I will be using a 12c database, but it works just the same with an 11g database.
  • You have a way to call the web services. Some GET web services can be called from a browser, but the other methods require some coding, or a REST client. I used "curl" and the "Advanced REST client" extension for Chrome.
  • You already have an understanding of the various pieces of ORDS functionality. This article will not teach you about this, but the linked articles will.

Enable ORDS for a Schema

Right-click on the connection and select the "REST Services > Enable REST Services..." menu option.

Enable ORDS for a Schema : Menu

Check the "Enable schema" checkbox and alter the schema alias if you don't want to expose the schema name in the URL. In this case we will ignore authorization. Click the "Next >" button.

Enable ORDS for a Schema : Specify Details 1

If you want to see the code that will run to enable ORDS for the schema, click the "SQL" tab.

Enable ORDS for a Schema : Specify Details 2

Click the "Finish" button.

Enable ORDS for a Schema : Specify Details 3

Click the "OK" button.

Enable ORDS for a Schema : Complete

Enable AutoREST for an Object

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值