Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Package oracle.spatial does not exist in NetBeans

744977Jul 20 2010 — edited Jul 21 2010
Hi to all,

I have installed Oracle 11g R2. I have installed Netbeans 6.8. All on Red Hat Enterprise 5.
I'm doing a project in Netbeans that use package oracle.spatial. So I have imported this package so:

import oracle.spatial.*;

But netbeans says that this package doesn't exist.


Listener is active.
Database is up.
Netbeans is already connected to Oracle with driver oracle.jdbc.OracleDriver.
I have set the classpath in the project: I have added the jar file ojdbc6.jar in the libraries of the project.

What do you think about this problem?


thank you for help in advance.
This post has been answered by ZahKar on Jul 21 2010
Jump to Answer

Comments

Hello

The Subtree Delete Control (1.2.840.113556.1.4.805) supported by OUD (Supported LDAP Controls - Oracle Fusion Middleware Architecture Reference for Oracle Unified Directory)  might fit your needs.

This control is attached to a delete request to indicate that the specified entry and all descendant entries are to be deleted.

You must have appropriate privileges to do that (admin account)

You can attached control to a ldapdelete using the -J option as described in ldapdelete - Oracle Fusion Middleware Command-Line Usage Guide for Oracle Unified Directory

Sylvain

------

When closing a thread as answered remember to mark the correct and helpful posts to make it easier for others to find them

900846

Thanks Sylvain.

I tried with this command to delete entries

ldapdelete -J subtreedelete -h localhost -p 1389 -D "cn=Directory Manager" -w password -x ou=ext,ou=users,dc=example,dc=com

There are about 2 lakhs entries inside this OU and it is taking infact it is running since a hr and still it has not completed the operation.

Is there some other setting which i need to do.

regards,

Ram

Hello,

There is no additional thing to do, adding the control should work.

If it takes a very long time to delete thats one thing, if  it never completes and seem to hang this is another thing.

Has it deleted some entries or does it seem to hang w/o deleting any entry ?

Current implementation may be slow with large trees.

If the problem persists, I would encourage you to contact the Oracle Support so that they can investigate

Sylvain

------

When closing a thread as answered remember to mark the correct and helpful posts to make it easier for others to find them

900846

Thanks Sylvain, i have raised an SR and awaiting for the response

1 - 4
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 18 2010
Added on Jul 20 2010
9 comments
2,567 views