I use Squirrel 3.8.1 and try to configure a connection to Amazon Redshift via driver RedshiftJDBC42-1.2.1.1001.jar.
However, I am not able to change the properties of the driver which are listed in tab Driver properties.
I check the Specify box and in the column Value a ? appears. But the field is not editable.
I just come across the same problem with the Athena driver. Found a workaround to the problem you describe above. Right click the properties table then select 'Add', you can then add the relevant properties, just make sure you click the 'Specify' box for the new value.
Related
For a custom language I created a CompletionContributor. Everything works fine. But I'm limited to the information I can display (only in the list or the bottom "advertisement" and only 1 line).
When trying to auto-complete on a java class name it will display more information on the selected line in a small side window. I would like to exploit that mechanism but I really don't know how it is done.
When looking at the options provided, I can use a custom LookupElementRenderer but there is no method in LookupElementPresentation related to the right window.
Any idea how it is done?
Are you referring to documentation popup which may be displayed if the corresponding setting (Setting->Editor->General->Code completion->Show the documentation popup in) is turned on?
If you want the feature to work for your language you have to use lang.documentationProvider extension point.
I'm using Report Builder 3.0 and I have a report that links to another report when clicked on. When the new report opens the parameter options are collapsed by default. I'd like them to be expanded by default if possible but I haven't been able to find an option for it.
This issue is something I've struggled with previously. What I've done to resolve it is inject some javascript into the ReportViewer.aspx file which would "click" the bar if it detected it was collapsed by default.
In my version of RS, the element to click is called ReportViewerControl_ToggleParam, and you can tell if the bar is hidden by looking at the display value of ParametersRowReportViewerControl.
Let me know if you need more details.
I want to add 2 jndi names to one data source.This is my code.
cd('/JDBCSystemResource/primelogDataSource/JdbcResource/primelogDataSource')
create('primelogDataSourceParams','JDBCDataSourceParams')
cd('JDBCDataSourceParams/NO_NAME_0')java.lang.String('abcDataSource','cdaDataSource'))
set('GlobalTransactionsProtocol', java.lang.String('None'))
This won't work. But if i add only one jndi name like below, it is working.
cd('JDBCDataSourceParams/NO_NAME_0')java.lang.String('abcDataSource'))
I must mention that this is offline python script. I am looking for help.
At the top in weblogic you have a 'record' button. Take a session, click the record button, do your changes, click the record button again and it will write a script to the filesystem that does the actions you recorded
I am developing a windows application and am using crystal reports in it.
I am trying to add the parameter field in it, however, when I click on the OK button, it is just not working.
Am I missing anything out?
I have Uninstalled and Installed Crystal Reports, its working fine now...
There could be 2 possiblities.
1) Just checked on my PC, just be Right Clicking Parameters -> Add -> Leaving everything as is (defaults) I am able to create a parameter. You must have changed some setting inside. Use defaults to confirm that you are able to create one.
2) You are missing the Value Field. This field specifies CR which database field to work upon when the parameter is used.
The drop-down will list all the database fields available for use.
Besides, here are few tutorials that explain how to use parameters that might guide you.
Good tutorial on parameters in CR
Video Tutorial for the same
I am debugging in NetBeans IDE, where can I see assigned variables and their values?
While you're in the debugger go Window -> Debugger -> Variables
You can also use ALT+SHIFT+1 to bring up variable viewer.
Generally, the pane underneath the code has some tabs - and one of them will say 'Variables'. Click on that tab and you will see variables and their values. You need to be actually running a debug session before the variables tab is available.
For this to show all local variables you need to have the line:
xdebug.show_local_vars=1
in your xdebug.ini file. Don't forget to restart Apache if you add that line.
If you are not seeing all local variables then you may have hit the problem where your version of the module file (xdebug.so) has a bug. This is the case currently for Ubuntu 10.04.
To fix this you need to compile a newer version of the xdebug.so file. Follow the instructions at http://xdebug.org/wizard.php to get your new file which should replace your current xdebug.so file.
There exists another solution that is
Press Ctrl+F9 to display Evaluate Expression Panel/Tab
Enter variable name in Evaluate Expression Panel/Tab
Press Ctrl+Enter (or arrow icon at right of Evaluate Expression Panel/Tab
The variable's value is then displayed in Variables Panel just below (on my PC) Evaluate Expression Panel/Tab.
You can also use this solution to display EXPRESSION and not only VARIABLE !
Example: (String sSheetData is a String variable that contains a very big string)
sSheetData.substring(4000,4200);
StringTools.Right(sSheetData,100);
StringTools.Mid(sSheetData,4000,200);
This is also possible using New Watch callable using contextual menu.
But this is not as easy as using Immediate Windows on Microsoft Visual Studio :-)