Skip to Main Content

SQL Developer

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!

SQL Developer 4 Hangs on Startup

TerradatumJan 29 2014 — edited Jan 30 2014

SQL Developer starts with the splash screen, then opens a larger window (leaving both open) and then hangs there.

I've seen several threads like the following:

https://community.oracle.com/message/11326869#11326869

https://community.oracle.com/message/11127183#11127183

I'm running Java 7:

2014-01-29 13:54:55                                          

D:\oracle\product\11.2.0\client_1\sqldeveloper               

» java -version                                              

java version "1.7.0_13"                                      

Java(TM) SE Runtime Environment (build 1.7.0_13-b20)         

Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)

2014-01-29 13:56:12                           

D:\oracle\product\11.2.0\client_1\sqldeveloper

» $(gcm java).Path                            

C:\Program Files\Java\jdk1.7.0_13\bin\java.exe

I've completely deleted my %USERPROFILE%\AppData\Roaming\{sqldeveloper|SQL Developer} directories.

I'm running from my D:\ drive.

I've modified the %USERPROFILE%\AppData\Roaming\sqldeveloper\product.conf and pointed it at various JDKs with various results - as expected Java 6 flat doesn't work. Older Java 7 doesn't open the blank screen but hangs.

Comments

gerardnico
Just create two answers and give them the authorization to only one group.

You will end up with:
- one answers at transaction level for the standard group
- one answers at total level for the standard group

Cheers
Nico
user11440683
This is currently my workaround solution, but I dislike it for maintenance / enhancement reasons....


thanks for your input though,


Robert.
gerardnico
You have an other solution which is the audit.
Just add a hide column to get the user and add it in your SQL statement.

I prefer audit than to implement security.
You have more flexibility.

Cheers
Nico
user11440683
Hi Nico,


what do you mean by 'audit'?


From what you expand, am I presuming that you mean I; -


1. Add a column that gets user name or user group to ascertain if user should be allowed writeback
2. Hide column

And then still allow postback (yes?) but itercede some logic that picks up the hidden user / group value and IF group user = allowed THEN continue as normal ELSE do nothing??

Is this what you mean, if not then kindly explain audit??


regards,

Robert.
gerardnico
Answer
I mean:
- add a column in answer with the name of the user
- add a user column in the target table
- use it in your writeback SQL statement to update it

You can then know who is the last user who has updated the data.
You can also add a trigger on the write back table to seed an history table.

no IF THEN ELSE/security logic, just an audit to know which user has updated the data in case of
conflict or just to give a better formation.

Cheers
Nico

Edited by: gerardnico on Aug 23, 2010 10:51 AM has and not have
Marked as Answer by user11440683 · Sep 27 2020
user11440683
Ok.

Thanks for your input and clarification.

In this case the users should not be allowed this level of input so prohibiting the behaviour entirely is my only option, but I understand where you are coming from...


thanks again,

Robert.
gerardnico
If you want, you can implement the security in the trigger ;-)
But it's more work and not very maintainable.

Success
Nico
1 - 7
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Feb 27 2014
Added on Jan 29 2014
1 comment
1,242 views