MYSQL Query Real Time
Hi. I'm new to java so hang in there with me. What I need to be able to do is have a Java app that queries a very small amount of mysql data every 1 or 2 seconds. I need that data refreshed real time. I have created the project in Netbeans and it queries the mysql data correctly. How do I get it to update every second or two? thank you for your help!
Ryan
Edited by: crusherdestroyer on Jan 11, 2010 3:44 PM
Use a Timer/TimerTask?
Similar Messages
-
Only firefox executing mysql query two times. but other browser works perfect why?
i am a web developer. and i am facing a problem only with firefox. every time i use MySQL query in my php code fire fox execute it two times. but same query is working fine on other browsers.
Yes, the problem is seen without extensions and also in safe mode.
But, I am starting to think that firefox is running low on memeory or CPU.
Without extensions the possibility of failing is 1 in 3.
I am still unable to explain why closing the browser or aborting the request can cause the stuck request to immediately reach the server.
Is there a way to collect Firefox logs and post it here ? -
What are some function that I can use to get real time data from the mysql database?
I wanted to made a program that will receive a update whenever the database gets updated.okay, there is some delay.
But I just needed the program to show the new item that was added to the database on the program.
I'm writing a program that had multiple user that if one user add an item to the database, other users will be able to see without doing anything.
I know the query can get the data from the database, but how can I continuously getting new database to my program? -
How to copy data from a Input query to real time Infocube
Hi All, I need some help on IP related stuff. The details are as below:
I am using two real time infocubes and one Multiprovider on them.
First Infocube u2018PRODUCTu2019 with the following Objects:
Product Group ,Product,Region ,Fiscal Year , Fiscal Year Varient ,0currency
Gross Sales
Second Infocube u2018C_PRODUCT u2018 with the following Objects:
Product Group ,Product,Region ,Fiscal Year , Fiscal Year Varient ,0currency
Gross Sales and Forecast Sales
( u2018Forecast Salesu2019 in the extra object in the second Infocube. Remaining objects are same in the both the cubes)
First Infocube u2018Productu2019 has data but the second cube does not have any data.
I have created a Multiprovider ZMulti and in that I have included these two cubes. On this Multi Provider, I have created a Aggrigation Level(The details of the aggregation level is provided in the next page).
On this Aggrigation level I have built a Input Query by which I run the report.
(In the Rows area, I have taken Product Group, Product, Region and Fical year.
In the Key Figure section, I have taken Gross Sales and Forecast Sales( which is part of the second Infocube C_Product). These two Key Figures are made Input as Input ready. And the Query is Input ready query. In the Filter, I have taken Fiscal Year Variant. )
Data available in the first cube and no data currently in the second cube. Now executed the report and report displayed information from the first cube.
EX:
Product Product Region Year Gross Sales Forecast Sales
Group
PG01 Beer North 2008 10000 u2026u2026u2026
PG01 Beer South 2008 20000 u2026u2026u2026
PG01 Beer East 2008 15000 u2026u2026u2026
The second column is empty and there is no data for the Forecast sales Key Figure in the column.
Things look OK till the above.
Now based on the Gross Sales, I am entering forecast Sales values and I need to save the entire record to the second cube.
For this in the report, I have given the Forecast sales values in the second column and right clicked the mouse and form the menu which I got, selected the u2018SAVEu2019 Option to save the data. For some time, I can see u2018Processingu2019 message and later values at u2018Forecast Salesu2019 are disappearing.
Data is not saving to the cube second cube.
====================================================
Am I missing any thing?
In the Query, Do I need to provide InfoProvider and restrict it to specific value?
In the query, Do I need to include, 0currency object?
Could you please guide me on this?
=============================================
Details of the Aggrigation level.
I have created an Aggrigation Level ZAL_Prod on MultiProvider.
Selected all the objects and activated.
In the Filter, I have taken 0Fiscal Year Variant and saved it.Restrict Forecast sales to the Plan cube in the Query.
that should fix it. -
Unable to create an universe on a query based on a real time cube
Hello,
I'm trying to create a universe on a BEx query. This query is based on a multiprovider which consists of one standard cube and one real time cube. I'm unable to see this query in the designer. I do see an empty folder with the name of the multi provider.
I can create an universe directly on this multiprovider.
Are there any specific setting for real time cube or is it a compatibility issue? Can an universe be created on a real time cube?
Regards,
SameerHi Sameer,
Let me know if this SAP note helps: 1291966 - "Output Cache Directory" & "Enable Real Time Cache" options in Central Management Console -
Need your help !!! -- Authorization error for Real-Time Bex query
Dear experts:
I have a Bex query built on a multiprovider, this multiprovider is consist of one standard cube and one real-time cube(virtual provider). When I run this query, I can retrive the data and no error occured, but when others execute this query, they will get the error message below:
Operation Generate a Request could not be carried out for DTP DTP_D7JVT8DGBQWPWL13VIUITNODG
You do not have authorization for the data transfer process
Errors occurred during parallel processing of query 2, RC: 3
Error while reading data; navigation is possible
Row: 54 Inc: WRITE_MESSAGES Prog: CL_RSDR_AT_QUERY
I used tcode rsecadmin to track the authorization, when I execute as user XXX, I can get the same error above, but when I go to "Display Log", no error showed there.
Did anybody meet the same error before? How to resolve that?
Any post would be appreciated and thank you all in advance!
TimI think there is some missing authorization,here
the user has no access to execute the DTP.
You can analyse it in rsecadmin or also see
which object you are getting in su53.
Thanks,
Saveen -
Syntax error in programme on a real time query
Hi all
I have created a programme which sits on a real time cube which then sits on an aggregation level and the query that sit on it now comes up with the following error. I removed a key figure which i did not need and it has been removed in all areas but when i run the report it is still picking up.
Syntax error in program "GPD637MUU0BR3GW81HQGROKQ8DB ".
at happened?
Error in the ABAP Application Program
The current ABAP program "CL_RSR_REPORT_CHECK===========CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
The following syntax error occurred in program "GPD637MUU0BR3GW81HQGROKQ8DB "
in include "GPD637MUU0BR3GW81HQGROKQ8DB " in
line 206:
"The type "/BIC/OIZ2E_NETUN" is unknown."
What is the table/ programme that i can remove GPD637MUU0BR3GW81HQGROKQ8DB so that it will regenerate with the new changes. Any help will be appreciated
ThanksPrograms starting with GP are Generated Programs.
Could you maybe specify your example a bit clearer:
I have created a programme which sits on a real time cube which then sits on an aggregation level and the query that sit on it now comes up with the following error. I removed a key figure which i did not need and it has been removed in all areas but when i run the report it is still picking up.
When you talk about a program on a real time cube, what do you mean? Do you mean a query?
You can try to resave and afterwards regenerate the query in RSRT. -
Impact of real time cube on query performance and OLAP cache
Hi:
We have actual and plan cubes both setup as real time cubes (only plan cube is being planned against, not actual cube) and both cubes are compressed once a day.
We are planning on implementing BIA accelerator and have questions related to query performance optimization:
1/ Is there are any query performance benefits in changing the actual cube to be a basic cube (using program SAP_CONVERT_NORMAL_TRANS) if the F table is fully compressed
2/ Can OLAP cache be leveraged for the queries run against the real time cubes e.g. actual cubes
3/ What is the impact on BIA of having the actual cube as real time (whetehr or not there is data being loaded/planned during the day in that cube)
Thank you in advance,
Catherine1) Is there are any query performance benefits in changing the actual cube to be a basic cube (using program SAP_CONVERT_NORMAL_TRANS) if the F table is fully compressed
From the performance point of view, tha actual cubes i.e std cubes are relatively better.
2) Yes OLAP cache can be leveraged for bringing up the plan query but all the calculations are done in the planning buffer.
3) Not sure. -
How to disable REAL TIME QUERY in DG 11gr2 ?
Hi,
With 11gr2, by default, on STARTUP, the standby database is open
-> in READ ONLY mode
-> with Intended State: APPLY-ON
so the ACTIVE DATAGUARD option is in use ....
is there a way to deactivate REAL TIME QUERY permanently,
so whether on STARTUP or STARTUP MOUNT, the standby stay only mounted with Intended State: APPLY-ON
The only way i found is to do the following :
SQL> startup
DGMGRL> edit database 'PHNXENT' set state='APPLY-OFF';
then
SQL> startup mount
DGMGRL> edit database 'PHNXENT' set state='APPLY-ON';
but this can leads to mistake ....
Thanksit is for standalone database (not RAC)
yes, users can start the database with mount option, but they have to keep in mind that they do not have to issue a "STARTUP",
so it is a production rule that oracle doesn't handle.
Second, it will give a little more complexity in startup scripts (first mount, identify the role, and then open if it is a primary.
In 10gr2 just startup in all cases ....
that's why i'd like to know if there is a possibility to permanently disable REAL TIME APPLY ... -
Active Dataguard switchover puts new standby in real time query
Hi Gurus,
If using Active Dataguard ,after swicthover/failover using dg broker and observer does sthe new standby will be put in real time query mode(ADG) or manually have to open the db in read only mode.
Please let me know.
ThanksYes it does:
[uhesse]$ dgmgrl sys/oracle@prima
DGMGRL for Linux: Version 11.2.0.1.0 - Production
Copyright (c) 2000, 2009, Oracle. All rights reserved.
Welcome to DGMGRL, type "help" for information.
Connected.
DGMGRL> show configuration
Configuration - myconf
Protection Mode: MaxAvailability
Databases:
prima - Primary database
logst - Logical standby database
physt - Physical standby database
Fast-Start Failover: DISABLED
Configuration Status:
SUCCESS
DGMGRL> show database physt
Database - physt
Role: PHYSICAL STANDBY
Intended State: APPLY-ON
Transport Lag: 0 seconds
Apply Lag: 0 seconds
Real Time Query: ON
Instance(s):
physt
Database Status:
SUCCESS
DGMGRL> switchover to physt;
Performing switchover NOW, please wait...
New primary database "physt" is opening...
Operation requires shutdown of instance "prima" on database "prima"
Shutting down instance "prima"...
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
Operation requires startup of instance "prima" on database "prima"
Starting instance "prima"...
ORACLE instance started.
Database mounted.
Database opened.
Switchover succeeded, new primary is "physt"
DGMGRL> show configuration
Configuration - myconf
Protection Mode: MaxAvailability
Databases:
physt - Primary database
prima - Physical standby database
logst - Logical standby database
Fast-Start Failover: DISABLED
Configuration Status:
SUCCESS
DGMGRL> show database prima
Database - prima
Role: PHYSICAL STANDBY
Intended State: APPLY-ON
Transport Lag: 0 seconds
Apply Lag: 0 seconds
Real Time Query: ON
Instance(s):
prima
Database Status:
SUCCESSKind regards
Uwe Hesse
http://uhesse.wordpress.com -
How to write data from query into Real time cube?
Hi All,
Can anyone explain me step by step how to write data into a real time cube from front end queries.
Thanks in advanceHi
You can do this using Integrated Planning
You need to create a aggregation level on the Real Time infocube and can create Planning function/sequence, Variables if needed.
Then you can create query on this aggregation level and you can make the keyfigures Input ready in property pane and you can change the data and save it into cube.
Please find below help link which clearly explains step by step about Integrated Planning like creating input ready queries etc.,
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/43/0c033316cd2bc4e10000000a114cbd/frameset.htm
Regards
Ravi -
What is the sql query for the real time reports Resource Stats?
Does anyone know what the query is that the real time report tool uses for the Resource Stats page? Trying to develop a custom report that displays similar information that is updated regularly.
Hi,
009 wrote:
Hi Frank,
Just wanted your opinion on the above given SQLI'm not sure I understand it.
I added some more formatting to help me read it:
SELECT A
, CASE WHEN LAG(A,1) OVER (ORDER BY A) IS NULL
OR A=LAG(A,1) OVER (ORDER BY A)
THEN LAG(B,1) OVER (ORDER BY A)
END B_LAG
, B
FROM (
SELECT A, B
FROM
SELECT '1'A,'Apple' B FROM DUAL UNION ALL
SELECT '1'A,'cat'B FROM DUAL UNION ALL
SELECT '2'A,'bat'B FROM DUAL UNION ALL
SELECT '3'A,'rat'B FROM DUAL UNION ALL
SELECT '2'A,'yellow'B FROM DUAL UNION ALL
SELECT '1'A,'pin'B FROM DUAL
CONNECT BY PRIOR A=B
ORDER BY A
);What is the purpose of the CONNECT BY in what you have so far?
Is the idea that you will add another CONNECT BY query, using
CONNECT BY b_lag = PRIOR b?
Do you think that will be better than using ROW_NUMBER?
Will it work if (a, b) is not unique? -
SQL Query for real time resource stats
Does anyone know what the query would be to duplicate the real time resource stats page in version 8 or above of UCCX? I need to build a custom web page that displays the same information. I've got all the connectivity to the database just fine and can query it and display information. Just can't figure out what the SQL would be that would extract that information.
Michael,
you can try :
SELECT x.resourceName, t.eventType, x.datetime FROM (SELECT t1.resourceID, t1.resourceName, MAX(t2.eventDateTime) AS datetime FROM Resource AS t1 INNER JOIN AgentStateDetail AS t2 ON t2.agentID = t1.resourceID GROUP BY t1.resourceID, t1.resourceName ) AS x INNER JOIN AgentStateDetail AS t ON t.agentID = x.resourceID AND t.eventDateTime = x.datetime ORDER BY x.resourceName
You will need to translate the eventType into the "readable" status like Talking or Not Ready with an IF or Case statement.
Regards,
Jeroen -
Real time : File Adapter : query
Hi Folks,
At development time( file adapter) we test our scenario by creating a sample XML file using message mapping tool .
The type of message we get from this contains Message Type tag with namespace Attribute.
<ns0:MT_XYZ xmlns:ns0="urn:xyz">
My question is in do in real time we need to tell them that create message type with the anmespace attribute we are using ? and also how to suppress namespace and will it bring any complications in the process ?
Regards,Santosh,
1. When using the File adapter and Content Conversion to read the file into XI, you can allocate a specific message namespace
2. If the namespace does becomes an issue for your scenario then use an additional mapping step to remove the namespace. For example we have the
Mesage Type MT_NAMES which has a a type of NAMES
Subelement NAMEREC (0 .. unbounded)
Subelements NAME1 and NAME2
Sample xml
<?xml version="1.0" encoding="UTF-8" ?>
<ns1:MT_NAMES xmlns:ns1="http://namespace">
<NAMEREC>
<NAME1>AAA</NAME1>
<NAME2>BBB</NAME2>
</NAMEREC>
<NAMEREC>
<NAME1>CCC</NAME1>
<NAME2>DDD</NAME2>
</NAMEREC>
</ ns1:MT_NAMES>
Apply the XSL map
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:nsNN="http://namespace" >
<xsl:template match="/">
<xsl:for-each select="nsNN:MT_NAMES">
<NAMES>
<xsl:copy-of select="NAMEREC"/>
</NAMES>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
The namespace has been removed from the xml
<?xml version="1.0" encoding="utf-8" ?>
<NAMES>
<NAMEREC>
<NAME1>AAA</NAME1>
<NAME2>BBB</NAME2>
</NAMEREC>
<NAMEREC>
<NAME1>CCC</NAME1>
<NAME2>DDD</NAME2>
</NAMEREC>
</NAMERS>
Regards,
Mike -
30EA4 Problem using MySql: "Query execution was interrupted"
Any query executes the first time but a second execution always causes the error "Query execution was interrupted"
(Update: I just installed the prodcution release of sql delveloper 2.1.1.64.45 and have the same issue)
I am using MySql driver 5.1.15
Others seem to have a similar issue and I tries the older JDBC drivers but the 5.0.4 cause the connection to hang and the 5.0.8 caused the same problem "Query execution was interrupted"
Vendor Code 1317 Query execution was interrupted MySQL
I am using Windows7 64 bit (sql developer and jdk are 32 bit), see below
MySql version
-------------------------------------------------------+
| Variable_name | Value |
-------------------------------------------------------+
| innodb_version | 1.1.4 |
| protocol_version | 10 |
| slave_type_conversions | |
| version | 5.5.8 |
| version_comment | MySQL Community Server (GPL) |
| version_compile_machine | x86 |
| version_compile_os | Win64 |
-------------------------------------------------------+
SQL Develper Info:
About
Oracle SQL Developer 3.0.03
Version 3.0.03
Build MAIN-03.97
Copyright © 2005, 2011 Oracle. All Rights Reserved.
IDE Version: 11.1.1.4.37.59.36
Product ID: oracle.sqldeveloper
Product Version: 11.1.2.03.97
Version
Component Version
========= =======
Java(TM) Platform 1.6.0_24
Oracle IDE 3.0.03.97
Versioning Support 3.0.03.97
Properties
Name Value
==== =====
awt.toolkit sun.awt.windows.WToolkit
class.load.environment oracle.ide.boot.IdeClassLoadEnvironment
class.load.log.level CONFIG
class.transfer delegate
file.encoding Cp1252
file.encoding.pkg sun.io
file.separator \
http.agent Mozilla/5.0 (Java 1.6.0_24; Windows 7 6.1 x86; en_IE) ICEbrowser/v6_1_3
ice.browser.forcegc false
ice.pilots.html4.ignoreNonGenericFonts true
ice.pilots.html4.tileOptThreshold 0
ide.AssertTracingDisabled true
ide.bootstrap.start 7381246437329
ide.build MAIN-03.97
ide.conf C:\Program Files (x86)\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
ide.config_pathname C:\Program Files (x86)\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
ide.debugbuild false
ide.devbuild false
ide.extension.search.path sqldeveloper/extensions:jdev/extensions:ide/extensions
ide.firstrun true
ide.java.minversion 1.6.0_04
ide.launcherProcessId 2204
ide.main.class oracle.ide.boot.IdeLauncher
ide.patches.dir ide/lib/patches
ide.pref.dir C:\Users\mark\AppData\Roaming\SQL Developer
ide.pref.dir.base C:\Users\mark\AppData\Roaming
ide.product oracle.sqldeveloper
ide.shell.enableFileTypeAssociation C:\Program Files (x86)\sqldeveloper\sqldeveloper.exe
ide.splash.screen splash.gif
ide.startingArg0 C:\Program Files (x86)\sqldeveloper\sqldeveloper.exe
ide.startingcwd C:\Program Files (x86)\sqldeveloper
ide.user.dir C:\Users\mark\AppData\Roaming\SQL Developer
ide.user.dir.var IDE_USER_DIR
ide.vcs.noapplications true
ide.work.dir C:\Users\mark\Documents\SQL Developer
ide.work.dir.base C:\Users\mark\Documents
ilog.propagatesPropertyEditors false
java.awt.graphicsenv sun.awt.Win32GraphicsEnvironment
java.awt.printerjob sun.awt.windows.WPrinterJob
java.class.path ..\..\ide\lib\ide-boot.jar
java.class.version 50.0
java.endorsed.dirs C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\endorsed
java.ext.dirs C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
java.home C:\Program Files (x86)\Java\jdk1.6.0_24\jre
java.io.tmpdir C:\Users\mark\AppData\Local\Temp\
java.library.path C:\Program Files (x86)\sqldeveloper;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files\TortoiseSVN\bin;C:\Program Files\SlikSvn\bin\;C:\Program Files (x86)\Java\jdk1.6.0_24\bin;C:\Program Files (x86)\OpenVPN\bin;C:\tools\apache-maven-3.0.2\bin;C:\tools\mysql-5.5.8-winx64\bin
java.naming.factory.initial oracle.javatools.jndi.LocalInitialContextFactory
java.protocol.handler.pkgs oracle.jdevimpl.handler
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.6.0_24-b07
java.specification.name Java Platform API Specification
java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.6
java.util.logging.config.file logging.conf
java.vendor Sun Microsystems Inc.
java.vendor.url http://java.sun.com/
java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi
java.version 1.6.0_24
java.vm.info mixed mode
java.vm.name Java HotSpot(TM) Client VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Sun Microsystems Inc.
java.vm.specification.version 1.0
java.vm.vendor Sun Microsystems Inc.
java.vm.version 19.1-b02
jdbc.library /C:/Program Files (x86)/sqldeveloper/jdbc/lib/ojdbc6.jar
line.separator \r\n
log.file.name ..//log/datamodeler.log
oracle.home C:\Program Files (x86)\sqldeveloper
oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG true
oracle.jdbc.mapDateToTimestamp false
oracle.translated.locales de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
oracle.xdkjava.compatibility.version 9.0.4
orai18n.library /C:/Program Files (x86)/sqldeveloper/jlib/orai18n.jar
os.arch x86
os.name Windows 7
os.version 6.1
path.separator ;
reserved_filenames con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
sqldev.debug false
sun.arch.data.model 32
sun.boot.class.path C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\resources.jar;C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\rt.jar;C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\sunrsasign.jar;C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\jsse.jar;C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\jce.jar;C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\charsets.jar;C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\modules\jdk.boot.jar;C:\Program Files (x86)\Java\jdk1.6.0_24\jre\classes
sun.boot.library.path C:\Program Files (x86)\Java\jdk1.6.0_24\jre\bin
sun.cpu.endian little
sun.cpu.isalist pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
sun.desktop windows
sun.io.unicode.encoding UnicodeLittle
sun.java2d.ddoffscreen false
sun.jnu.encoding Cp1252
sun.management.compiler HotSpot Client Compiler
sun.os.patch.level
svnkit.sax.useDefault true
user.country IE
user.dir C:\Program Files (x86)\sqldeveloper\sqldeveloper\bin
user.home C:\Users\mark
user.language en
user.name mark
user.timezone Europe/Paris
user.variant
windows.shell.font.languages
Extensions
Name Identifier Version Status
==== ========== ======= ======
Check For Updates oracle.ide.webupdate 11.1.1.4.37.59.36 Loaded
Code Editor oracle.ide.ceditor 11.1.1.4.37.59.36 Loaded
Component Palette oracle.ide.palette1 11.1.1.4.37.59.36 Loaded
Data Miner oracle.dmt.dataminer 11.2.0.1.9.96 Loaded
Database Connection Support oracle.jdeveloper.db.connection 11.1.1.4.37.59.36 Loaded
Database Object Explorers oracle.ide.db.explorer 11.1.1.4.37.59.36 Loaded
Database UI oracle.ide.db 11.1.1.4.37.59.36 Loaded
Diagram Framework oracle.diagram 11.1.1.4.37.59.36 Loaded
Diagram Javadoc Extension oracle.diagram.javadoc 11.1.1.4.37.59.36 Loaded
Diagram Thumbnail oracle.diagram.thumbnail 11.1.1.4.37.59.36 Loaded
Diff/Merge oracle.ide.diffmerge 11.1.1.4.37.59.36 Loaded
Extended IDE Platform oracle.javacore 11.1.1.4.37.59.36 Loaded
External Tools oracle.ide.externaltools 11.1.1.4.37.59.36 Loaded
File Support oracle.ide.files 11.1.1.4.37.59.36 Loaded
Help System oracle.ide.help 11.1.1.4.37.59.36 Loaded
History Support oracle.jdeveloper.history 11.1.1.4.37.59.36 Loaded
Import/Export Support oracle.ide.importexport 11.1.1.4.37.59.36 Loaded
Index Migrator support oracle.ideimpl.indexing-migrator 11.1.1.4.37.59.36 Loaded
JDeveloper Runner oracle.jdeveloper.runner 11.1.1.4.37.59.36 Loaded
JViews Registration Addin oracle.diagram.registration 11.1.1.4.37.59.36 Loaded
Log Window oracle.ide.log 11.1.1.4.37.59.36 Loaded
Mac OS X Adapter oracle.ideimpl.apple 11.1.1.4.37.59.36 Loaded
Navigator oracle.ide.navigator 11.1.1.4.37.59.36 Loaded
Object Gallery oracle.ide.gallery 11.1.1.4.37.59.36 Loaded
Oracle IDE oracle.ide 11.1.1.4.37.59.36 Loaded
Oracle SQL Developer oracle.sqldeveloper 11.1.2.03.97 Loaded
Oracle SQL Developer - 3rd Party Database Browsers oracle.sqldeveloper.thirdparty.browsers 11.1.1.03.97 Loaded
Oracle SQL Developer - DBA Navigator oracle.sqldeveloper.dbanavigator 11.1.1.03.97 Loaded
Oracle SQL Developer - Extras oracle.sqldeveloper.extras 1.1.1.03.97 Loaded
Oracle SQL Developer - File Navigator oracle.sqldeveloper.filenavigator 11.1.1.03.97 Loaded
Oracle SQL Developer - Migrations Antlr3 Translator oracle.sqldeveloper.migration.translation.core_antlr3 11.1.1.03.97 Loaded
Oracle SQL Developer - Migrations Application Migration oracle.sqldeveloper.migration.application 11.1.1.03.97 Loaded
Oracle SQL Developer - Migrations Core oracle.sqldeveloper.migration 11.1.1.03.97 Loaded
Oracle SQL Developer - Migrations DB2 oracle.sqldeveloper.migration.db2 11.1.1.03.97 Loaded
Oracle SQL Developer - Migrations DB2 Translator oracle.sqldeveloper.migration.translation.db2 11.1.1.03.97 Loaded
Oracle SQL Developer - Migrations Microsoft Access oracle.sqldeveloper.migration.msaccess 11.1.1.03.97 Loaded
Oracle SQL Developer - Migrations Microsoft SQL Server oracle.sqldeveloper.migration.sqlserver 11.1.1.03.97 Loaded
Oracle SQL Developer - Migrations MySQL oracle.sqldeveloper.migration.mysql 11.1.1.03.97 Loaded
Oracle SQL Developer - Migrations Sybase Adaptive Server oracle.sqldeveloper.migration.sybase 11.1.1.03.97 Loaded
Oracle SQL Developer - Migrations T-SQL Translator oracle.sqldeveloper.migration.translation.core 11.1.1.03.97 Loaded
Oracle SQL Developer - Migrations Teradata oracle.sqldeveloper.migration.teradata 11.1.1.03.97 Loaded
Oracle SQL Developer - Migrations Translation UI oracle.sqldeveloper.migration.translation.gui 11.1.1.03.97 Loaded
Oracle SQL Developer - Object Viewer oracle.sqldeveloper.oviewer 11.1.1.03.97 Loaded
Oracle SQL Developer - Real Time SQL Monitoring oracle.sqldeveloper.sqlmonitor 11.1.1.03.97 Loaded
Oracle SQL Developer - Reports oracle.sqldeveloper.report 11.1.1.03.97 Loaded
Oracle SQL Developer - Scheduler oracle.sqldeveloper.scheduler 11.1.1.03.97 Loaded
Oracle SQL Developer - Schema Browser oracle.sqldeveloper.schemabrowser 11.1.1.03.97 Loaded
Oracle SQL Developer - SearchBar oracle.sqldeveloper.searchbar 11.1.1.03.97 Loaded
Oracle SQL Developer - Snippet oracle.sqldeveloper.snippet 11.1.1.03.97 Loaded
Oracle SQL Developer - Spatial oracle.sqldeveloper.spatial 11.1.1.03.97 Loaded
Oracle SQL Developer - TimesTen oracle.sqldeveloper.timesten 2.0.0.03.97 Loaded
Oracle SQL Developer - Tuning oracle.sqldeveloper.tuning 11.1.1.03.97 Loaded
Oracle SQL Developer - Unit Test oracle.sqldeveloper.unit_test 11.1.1.03.97 Loaded
Oracle SQL Developer - User Extensions Support oracle.sqldeveloper.userextensions 11.1.1.03.97 Loaded
Oracle SQL Developer - Worksheet v2 oracle.sqldeveloper.worksheet 11.1.1.03.97 Loaded
Oracle SQL Developer - XML Schema oracle.sqldeveloper.xmlschema 11.1.1.03.97 Loaded
Oracle SQL Developer Data Modeler oracle.datamodeler 3.0.0.665 Loaded
Oracle SQL Developer Data Modeler - Reports oracle.sqldeveloper.datamodeler_reports 11.1.1.03.97 Loaded
PROBE Debugger oracle.jdeveloper.db.debug.probe 11.1.1.4.37.59.36 Loaded
Peek oracle.ide.peek 11.1.1.4.37.59.36 Loaded
Persistent Storage oracle.ide.persistence 11.1.1.4.37.59.36 Loaded
Property Inspector oracle.ide.inspector 11.1.1.4.37.59.36 Loaded
QuickDiff oracle.ide.quickdiff 11.1.1.4.37.59.36 Loaded
Replace With oracle.ide.replace 11.1.1.4.37.59.36 Loaded
Runner oracle.ide.runner 11.1.1.4.37.59.36 Loaded
VHV oracle.ide.vhv 11.1.1.4.37.59.36 Loaded
Versioning Support oracle.jdeveloper.vcs 11.1.1.4.37.59.36 Loaded
Versioning Support for Subversion oracle.jdeveloper.subversion 11.1.1.4.37.59.36 Loaded
Virtual File System oracle.ide.vfs 11.1.1.4.37.59.36 Loaded
Web Browser and Proxy oracle.ide.webbrowser 11.1.1.4.37.59.36 Loaded
XML Editing Framework IDE Extension oracle.ide.xmlef 11.1.1.4.37.59.36 Loaded
audit oracle.ide.audit 11.1.1.4.37.59.36 Loaded
classpath: protocol handler extension oracle.jdeveloper.classpath 11.1.1.0.0 Loaded
jdukshare oracle.bm.jdukshare 11.1.1.4.37.59.36 Loaded
mof-xmi oracle.mof.xmi 11.1.1.4.37.59.36 Loaded
oracle.ide.dependency oracle.ide.dependency 11.1.1.4.37.59.36 Loaded
oracle.ide.indexing oracle.ide.indexing 11.1.1.4.37.59.36 Loaded
palette2 oracle.ide.palette2 11.1.1.4.37.59.36 Loaded
status oracle.ide.status 11.1.1.4.37.59.36 Loaded
Edited by: user501466 on 19-Mar-2011 03:21Hi Dermot,
Some clarification.
I have tried these 3 drivers below with the following results:
5.0.4 First Query succeeds, Second gives error "Unknown prepared statement handler (131072) given to mysqld_stmt_execute". At this point I can exit SQL Developer. If I run it a third time then the query does not complete and any attempt to exit SQL Developer results in "Connection is currently busy, try again?" and ultimately I have to kill it.
5.0.8 First Query succeeds, Second Query fails with Query execution was interrupted. Subsequent queries give the same result.
5.1.15 Same as 5.0.8
I tried your suggestion, removed the driver, restarted, installed the 5.0.4 driver and restated and ran the test,
(I added a drop table so I could run it repeatedly) and it works repeatedly if I choose "Run as script F5".
DROP TABLE table1;
CREATE TABLE table1(col1 int);
INSERT INTO Table1 values(1);
SELECT * FROM table1;
SELECT * FROM table1;
But If I execute the query "select * from table1" using "Run Statement Ctrl-Enter" twice then I get problem behaviour as described above.
I looked in the logfile for SQLDeveloper but it was empty.
I also tried creating a new database as root and connecting as root (same result)
I also tried the NightlyBuild of 5.1 and 6.0 but gave the same result as 5.1.5.
I have two other tools for accessing MySql: Toad and MySql workbench, both of which work but I've used SQL Developer with Oracle for some years and would like to keep using it.
I just tried connecting to a remote MySQL database and that seems to work without problems.
I'm thinking it may be related to some incompatibility between SQLDeveloper and the MySQL installed locally.
I'll try another version....
Ok I installed a 32 bit version of MySql 5.5.10. I thought things were working but now I still get the problem but it is much more intermittent.
Now I can get it by modifying the query ie.
select * from table1; (works repeatedly untill followed by a change to the query)
select * from table1 order by col1; (fails)
Another case
select * from table1 order by col1; (works repeatedly)
select * from table1 order by col1 asc; (fails first time)
very weird...
Edited by: user501466 on 26-Mar-2011 06:19
Maybe you are looking for
-
Obviously I'm doing something wrong because I can build my FlexUnit instance in ANT and get the verbose response that shows there were errors or not (I am using a simple test case and the SampleTests provided). Yet when I go to the report response (T
-
How do you remove a Jailbreak from an iPod Touch?
I bought an iPod Touch 3rd Gen from someone, it was jailbroken and I didn't know. I went into the general settings and reseted all settings and data. Since then, the iPod has been reseting itself all the time, passing from the home screen's apple log
-
Feature request: option to deactivate builtin screen when monitor connected
This is a feature request for laptops, or rather for the Air specifically. To see why it might be a good thing, see this thread: http://forums.macrumors.com/showthread.php?t=449778 I'd like a checkbox in the display preferences to deactivate the inte
-
Can't migrate from G5 running Leopard!
When I try migrating over Ethernet, I get an error on the Mavericks machine: "The selected source cannot be used for migration. Your other Mac is not running the latest version of OS X. Please run Software Update on your other Mac and try again." Whe
-
GoldenGate replication of creating users, roles
System Specs: O/S : RHEL 5 (Tikanga) RDBMS: 11.2.0.3 (Standalone, ASM, Archivelog) GoldenGate v:11.1.1.0 (getting ready to upgrade to v11.1.1.2 (want to utilize the ADD SCHEMATRANDATA and updated sequence support) I have read the documentation in GG