SumIf in an expanding table
Hi, I'm creating an expense report that has an expanding table. You can download it using the link here.
https://www.dropbox.com/s/r7qnaegkkx7a57h/Expense%20Form.pdf
Everything I have so far works fine. You can add as many entries as you want and it provides a grand total.
I'm stuck with the next step. At the bottom, I need to list all the categories in the "type" drop down, and I need to do the excel equivalent of a SumIf. So if the "type" category for the "Actual Expense" Table is "Lodging", I need a field at the bottom that says Lodging with the subtotal for all entries marked as such. If there were three Lodging entries anywhere on the table for $10 each, I want a field at the bottom that would say "Lodging: $30".
Since I've taught myself everything I know on all my forms till this point, I'm stuck. Any help would be appreciated!
Hi,
A sumif equivalent in FormCalc could look like;
var totalRows = LoanProposal.Table1._Item.count
var groupTotal = 0
var list = ref(LoanProposal.Table1.resolveNodes("Item.[ItemName == ""Lodging""]"))
for i=0 upto list.length - 1 step 1 do
groupTotal = groupTotal + list.item(i).Total
endfor
Note the totalRows variable is not used but is required so the calculate event knows to fire when a row is added or removed.
This would have to be repeated for each category so you might want to have a calculate event code at a higher level (like the LoanProposal subform) with some JavaScript code like;
// Reset all fields
xfa.host.resetData([Mileage.somExpression, Lodging.somExpression].join(","));
var rows = Table1.resolveNodes("Item[*]");
for (var i = 0; i < Table1._Item.count ; i++)
var row = rows.item(i);
switch (row.ItemName.rawValue)
case "Mileage":
Mileage.rawValue += row.Total.rawValue;
break;
case "Lodging":
Lodging.rawValue += row.Total.rawValue;
break;
I've only done the first two categories but you can see the pattern
Regards
Bruce
Similar Messages
-
Subtract calculation in an expanding table?
Hi
I am currently designing a form in Livecycle ES2 and am in need of calculation script.
I have an expanding table with add rows on it.
In the table i have a drop down list with 2 items that be can selected DR and CR, an Amount field and a total field.
Currently the Amount field and a totals field adds up correctly with this script Sum(Spersonaldetails2.Table1.Item[*].Amount)
However i now need the Totals field to calculate based on which item from the drop down is selected.
So if DR is selected i need it to add to the total and if CR is selected i need to subtract from the total.
One row could be a DR and the next row a CR.
I am unable to have the totals field subtract the Amount if CR is selected.
look forward to any help. i have been wrecking my brain over this.Hi,
A sumif equivalent in FormCalc could look like;
var totalRows = LoanProposal.Table1._Item.count
var groupTotal = 0
var list = ref(LoanProposal.Table1.resolveNodes("Item.[ItemName == ""Lodging""]"))
for i=0 upto list.length - 1 step 1 do
groupTotal = groupTotal + list.item(i).Total
endfor
Note the totalRows variable is not used but is required so the calculate event knows to fire when a row is added or removed.
This would have to be repeated for each category so you might want to have a calculate event code at a higher level (like the LoanProposal subform) with some JavaScript code like;
// Reset all fields
xfa.host.resetData([Mileage.somExpression, Lodging.somExpression].join(","));
var rows = Table1.resolveNodes("Item[*]");
for (var i = 0; i < Table1._Item.count ; i++)
var row = rows.item(i);
switch (row.ItemName.rawValue)
case "Mileage":
Mileage.rawValue += row.Total.rawValue;
break;
case "Lodging":
Lodging.rawValue += row.Total.rawValue;
break;
I've only done the first two categories but you can see the pattern
Regards
Bruce -
Need to send text string to new row in expandable table
I have a table that is a summary of other choices made throughout the document. For specific check boxes in the form, there is a defined phrase that needs to be sent to a new row in the summary table.
The general idea is that for checkbox:
form1.sfMain.sfContent.tableC2.Row1.cbC2b6
if (this.rawValue == "1") {
this.resolveNode('form1.sfApp6.tableApp6A._Row1').addInstance(1);
this.resolveNode("form1.sfApp6.tableApp6A.Row1[*].ddApp6A1c").rawValue = "Blue bottle";
This needs to be something I can specify for each applicable checkbox (each will have a different text string), but I don't know what the final count is going to be (depends on choices made by the user) so I can't delete rows in the table and start over every time. It needs to be additive.
Any suggestions?
Message was edited by: cyndilynnroseFor anyone needing the same thing, I found exactly what I needed:
http://www.truetechtroubleshooting.com/2012/02/advanced-expanding-tables-and-script.html
The hardest part of getting it working was figuring out how many parent levels I needed to add since I have a heavily layered form. -
SQL Developer hangs when expanding table node
Hello All,
One of my schemas has 3035 tables. When I expand the "Other Users" node, then the schema owner, then expand "Tables", SQL Developer hangs. I have allowed it to run (as it indicates it is working) for 45 minutes, but it never returns.
I have one user with nearly the same behavior, but theirs returns after waiting 5 minutes.
Any ideas?
About
Oracle SQL Developer 1.5.1
Version 1.5.1
Build MAIN-5440
Copyright © 2005,2008 Oracle. All Rights Reserved.
IDE Version: 11.1.1.0.22.49.35
Product ID: oracle.sqldeveloper
Product Version: 11.1.1.54.40
Version
Component Version
========= =======
Java(TM) Platform 1.5.0_06
Oracle IDE 1.5.1.54.40
Versioning Support 1.5.1.54.40
Properties
Name Value
==== =====
apple.laf.useScreenMenuBar true
awt.toolkit sun.awt.windows.WToolkit
class.load.environment oracle.ide.boot.IdeClassLoadEnvironment
class.load.log.level CONFIG
class.transfer delegate
com.apple.macos.smallTabs true
com.apple.mrj.application.apple.menu.about.name "SQL_Developer"
com.apple.mrj.application.growbox.intrudes false
file.encoding Cp1252
file.encoding.pkg sun.io
file.separator \
http.agent Mozilla/5.0 (Java 1.5.0_06; Windows XP 5.1 x86; en_US) ICEbrowser/v6_1_3
ice.browser.forcegc false
ice.pilots.html4.ignoreNonGenericFonts true
ice.pilots.html4.tileOptThreshold 0
ide.AssertTracingDisabled true
ide.bootstrap.start 624463503772965
ide.build MAIN-5440
ide.conf C:\oracle\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
ide.config_pathname C:\oracle\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
ide.debugbuild false
ide.devbuild false
ide.extension.search.path sqldeveloper/extensions:jdev/extensions:ide/extensions
ide.firstrun false
ide.java.minversion 1.5.0
ide.launcherProcessId 66660
ide.main.class oracle.ide.boot.IdeLauncher
ide.patches.dir ide/lib/patches
ide.pref.dir C:\Documents and Settings\ckell\Application Data\SQL Developer
ide.pref.dir.base C:\Documents and Settings\ckell\Application Data
ide.product oracle.sqldeveloper
ide.shell.enableFileTypeAssociation C:\oracle\sqldeveloper\sqldeveloper.exe
ide.splash.screen splash.gif
ide.startingArg0 C:\oracle\sqldeveloper\sqldeveloper.exe
ide.startingcwd C:\Oracle\sqlDeveloper
ide.user.dir C:\Documents and Settings\ckell\Application Data\SQL Developer
ide.user.dir.var IDE_USER_DIR
ide.work.dir q:\\SQL Developer
ide.work.dir.base q:\
java.awt.graphicsenv sun.awt.Win32GraphicsEnvironment
java.awt.printerjob sun.awt.windows.WPrinterJob
java.class.path ..\..\ide\lib\ide-boot.jar
java.class.version 49.0
java.endorsed.dirs C:\oracle\sqldeveloper\jdk\jre\lib\endorsed
java.ext.dirs C:\oracle\sqldeveloper\jdk\jre\lib\ext
java.home C:\oracle\sqldeveloper\jdk\jre
java.io.tmpdir c:\temp\
java.library.path C:\oracle\sqldeveloper;.;C:\WINDOWS\system32;C:\WINDOWS;C:\oracle\DevSuite\bin;C:\oracle\DevSuite\jdk\jre\bin\classic;C:\oracle\DevSuite\jdk\jre\bin;C:\oracle\DevSuite\jdk\jre\bin\client;C:\oracle\DevSuite\jlib;C:\oracle\DevSuite\jre\1.4.2\bin\client;C:\oracle\DevSuite\jre\1.4.2\bin;C:\Program Files\Java\jre1.6.0_03;C:\oracle\Client10g\bin;c:\oracle\10g\jdk\jre\bin\classic;c:\oracle\10g\jdk\jre\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\nls;C:\WINDOWS\system32\nls\ENGLISH;C:\Program Files\Novell\ZENworks\;C:\Program Files\ATI Technologies\ATI.ACE\;C:\Program Files\Diskeeper Corporation\Diskeeper\;C:\Program Files\IDM Computer Solutions\UltraEdit-32;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\IDM Computer Solutions\UltraEdit-32\;C:\Program Files\CollabNet Subversion Server
java.naming.factory.initial oracle.javatools.jndi.LocalInitialContextFactory
java.runtime.name Java(TM) 2 Runtime Environment, Standard Edition
java.runtime.version 1.5.0_06-b05
java.specification.name Java Platform API Specification
java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.5
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.5.0_06
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 1.5.0_06-b05
jdbc.library /C:/oracle/sqldeveloper/jdbc/lib/ojdbc5.jar
line.separator \r\n
oracle.home C:\oracle\sqldeveloper
oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG true
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:/oracle/sqldeveloper/jlib/orai18n.jar
os.arch x86
os.name Windows XP
os.version 5.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$
sun.arch.data.model 32
sun.boot.class.path C:\oracle\sqldeveloper\jdk\jre\lib\rt.jar;C:\oracle\sqldeveloper\jdk\jre\lib\i18n.jar;C:\oracle\sqldeveloper\jdk\jre\lib\sunrsasign.jar;C:\oracle\sqldeveloper\jdk\jre\lib\jsse.jar;C:\oracle\sqldeveloper\jdk\jre\lib\jce.jar;C:\oracle\sqldeveloper\jdk\jre\lib\charsets.jar;C:\oracle\sqldeveloper\jdk\jre\classes
sun.boot.library.path C:\oracle\sqldeveloper\jdk\jre\bin
sun.cpu.endian little
sun.cpu.isalist
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 Service Pack 2
user.country US
user.dir C:\oracle\sqldeveloper\sqldeveloper\bin
user.home C:\Documents and Settings\ckell
user.language en
user.name ckell
user.timezone America/New_York
user.variant
windows.shell.font.languages
Extensions
Name Identifier Version Status
==== ========== ======= ======
Check For Updates oracle.ide.webupdate 11.1.1.0.22.49.35 Loaded
Code Editor oracle.ide.ceditor 11.1.1.0.22.49.35 Loaded
Database Connection Support oracle.jdeveloper.db.connection 11.1.1.0.22.49.35 Loaded
Database Object Explorers oracle.ide.db.explorer 11.1.1.0.22.49.35 Loaded
Database UI oracle.ide.db 11.1.1.0.22.49.35 Loaded
Diff/Merge oracle.ide.diffmerge 11.1.1.0.22.49.35 Loaded
Extended IDE Platform oracle.javacore 11.1.1.0.22.49.35 Loaded
External Tools oracle.ide.externaltools 11.1.1.0.22.49.35 Loaded
Feedback oracle.ide.feedback 11.1.1.0.22.49.35 Loaded
File Support oracle.ide.files 11.1.1.0.22.49.35 Loaded
File System Navigator oracle.sqldeveloper.filenavigator 11.1.1.53.38 Loaded
Help System oracle.ide.help 11.1.1.0.22.49.35 Loaded
History Support oracle.jdeveloper.history 11.1.1.0.22.49.35 Loaded
Import/Export Support oracle.ide.importexport 11.1.1.0.22.49.35 Loaded
Log Window oracle.ide.log 11.1.1.0.22.49.35 Loaded
Mac OS X Adapter oracle.ideimpl.apple 11.1.1.0.22.49.35 Loaded
Navigator oracle.ide.navigator 11.1.1.0.22.49.35 Loaded
Object Gallery oracle.ide.gallery 11.1.1.0.22.49.35 Loaded
Object Viewer oracle.sqldeveloper.oviewer 11.1.1.54.40 Loaded
Oracle IDE oracle.ide 11.1.1.0.22.49.35 Loaded
Oracle Microsoft Access Browser oracle.sqldeveloper.thirdparty.access 11.1.1.54.40 Loaded
Oracle Migration Workbench oracle.sqldeveloper.migration 11.1.1.54.40 Loaded
Oracle Migration Workbench - MS Access oracle.sqldeveloper.migration.msaccess 11.1.1.53.38 Loaded
Oracle Migration Workbench - MySQL oracle.sqldeveloper.migration.mysql5 11.1.1.53.38 Loaded
Oracle Migration Workbench - SQLServer oracle.sqldeveloper.migration.sqlserver2005 11.1.1.53.38 Loaded
Oracle Migration Workbench - Translation Core oracle.sqldeveloper.migration.translation.core 11.1.1.54.44 Loaded
Oracle Migration Workbench - Translation MS Access oracle.sqldeveloper.migration.translation.msaccess 11.1.1.54.40 Loaded
Oracle Migration Workbench - Translation MS SQL Server oracle.sqldeveloper.migration.translation.sqlserver 11.1.1.54.40 Loaded
Oracle Migration Workbench - Translation MySQL oracle.sqldeveloper.migration.translation.mysql 11.1.1.54.40 Loaded
Oracle Migration Workbench - Translation Sybase oracle.sqldeveloper.migration.translation.sybase 11.1.1.54.44 Loaded
Oracle Migration Workbench - Translation UI oracle.sqldeveloper.migration.translation.gui 11.1.1.54.40 Loaded
Oracle MySQL Browser oracle.sqldeveloper.thirdparty.mysql 11.1.1.54.40 Loaded
Oracle SQL Developer oracle.sqldeveloper 11.1.1.54.40 Loaded
Oracle SQL Developer Extras oracle.sqldeveloper.extras 11.1.1.54.40 Loaded
Oracle SQL Developer Reports oracle.sqldeveloper.report 11.1.1.54.40 Loaded
Oracle SQL Developer SearchBar oracle.sqldeveloper.searchbar 11.1.1.54.40 Loaded
Oracle SQL Developer TimesTen oracle.sqldeveloper.timesten 1.5.1.1.2 Loaded
Oracle SQL Server Browser oracle.sqldeveloper.thirdparty.sqlserver 11.1.1.54.40 Loaded
Oracle Sybase Browser oracle.sqldeveloper.thirdparty.sybase 1.2.1.54.40 Loaded
Oracle XML Schema Support oracle.sqldeveloper.xmlschema 11.1.1.54.40 Loaded
PROBE Debugger oracle.jdeveloper.db.debug.probe 11.1.1.0.22.49.35 Loaded
Peek oracle.ide.peek 1.0 Loaded
Replace With oracle.ide.replace 11.1.1.0.22.49.35 Loaded
Runner oracle.ide.runner 11.1.1.0.22.49.35 Loaded
SQL Worksheet Window oracle.sqldeveloper.sqlworksheet 11.1.1.54.40 Loaded
Search Bar oracle.ide.searchbar 11.1.1.0.0 Loaded
Snippet Window oracle.sqldeveloper.snippet 11.1.1.54.40 Loaded
Sybase 12 oracle.sqldeveloper.migration.sybase12 11.1.1.53.38 Loaded
Sybase 15 oracle.sqldeveloper.migration.sybase15 11.1.1.53.38 Loaded
Tuning oracle.sqldeveloper.tuning 11.1.1.54.40 Loaded
VHV oracle.ide.vhv 11.1.1.0.22.49.35 Loaded
Versioning Support oracle.jdeveloper.vcs 11.1.1.0.22.49.35 Loaded
Versioning Support for CVS oracle.jdeveloper.cvs 11.1.1.0.22.49.35 Disabled by user
Versioning Support for Subversion oracle.jdeveloper.subversion 11.1.1.0.22.49.35 Loaded
Web Browser and Proxy oracle.ide.webbrowser 11.1.1.0.22.49.35 Loaded
oracle.ide.dependency oracle.ide.dependency 11.1.1.0.22.49.35 Loaded
oracle.ide.indexing oracle.ide.indexing 11.1.1.0.22.49.35 Loadedhi...
Same problem, but as many tables as Chris.
Pat
CVS Version Internal to Oracle SQL Developer (client-only)
Java(TM) Platform 1.5.0_06
Oracle IDE 1.5.1.54.40
Versioning Support 1.5.1.54.40
here is the dump
Full thread dump Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode):
"ProgressBarThread" prio=6 tid=0x04665e20 nid=0x2ac8 runnable [0x079af000..0x079
af9e8]
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at oracle.net.ns.Packet.receive(Packet.java:239)
at oracle.net.ns.DataPacket.receive(DataPacket.java:92)
at oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:172)
at oracle.net.ns.NetInputStream.read(NetInputStream.java:117)
at oracle.net.ns.NetInputStream.read(NetInputStream.java:92)
at oracle.net.ns.NetInputStream.read(NetInputStream.java:77)
at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1023)
at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:999)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:584)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.
java:191)
at oracle.jdbc.driver.T4CCallableStatement.executeForDescribe(T4CCallabl
eStatement.java:782)
at oracle.jdbc.driver.T4CCallableStatement.executeMaybeDescribe(T4CCalla
bleStatement.java:857)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
nt.java:1186)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePrep
aredStatement.java:3381)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePrepare
dStatement.java:3425)
- locked <0x11eaa750> (a oracle.jdbc.driver.T4CConnection)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(Oracle
PreparedStatementWrapper.java:1202)
at oracle.dbtools.db.DBUtil.executeOracleQuery(DBUtil.java:512)
at oracle.dbtools.db.DBUtil.executeQuery(DBUtil.java:540)
at oracle.dbtools.raptor.navigator.ObjectQueryInstance.executeQuery(Obje
ctQueryInstance.java:76)
at oracle.dbtools.raptor.navigator.xml.XmlFolderInstance.getChildren(Xml
FolderInstance.java:122)
at oracle.dbtools.raptor.navigator.xml.XmlFolderInstance.listChildren(Xm
lFolderInstance.java:67)
at oracle.dbtools.raptor.navigator.ObjectFilter$1Loader.doWork(ObjectFil
ter.java:147)
at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:161)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:615)
at java.lang.Thread.run(Thread.java:595)
"TextBufferScavenger" prio=6 tid=0x03a86620 nid=0x2ac4 in Object.wait() [0x078af
000..0x078afa68]
at java.lang.Object.wait(Native Method)
- waiting on <0x11f73798> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
- locked <0x11f73798> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
at oracle.ide.model.TextNode$FacadeBufferReference$PollingThread.run(Tex
tNode.java:1886)
"pool-1-thread-1" prio=6 tid=0x04a1eee8 nid=0x29f8 waiting on condition [0x071af
000..0x071afa68]
at sun.misc.Unsafe.park(Native Method)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:118)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject
.await(AbstractQueuedSynchronizer.java:1767)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.jav
a:359)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.ja
va:470)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:674)
at java.lang.Thread.run(Thread.java:595)
"IconOverlayTracker Timer" prio=6 tid=0x039b5878 nid=0x29f4 in Object.wait() [0x
070af000..0x070afae8]
at java.lang.Object.wait(Native Method)
- waiting on <0x11971f98> (a java.util.TaskQueue)
at java.lang.Object.wait(Object.java:474)
at java.util.TimerThread.mainLoop(Timer.java:483)
- locked <0x11971f98> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)
"Timer-2" prio=6 tid=0x04a21540 nid=0x29f0 in Object.wait() [0x06faf000..0x06faf
b68]
at java.lang.Object.wait(Native Method)
- waiting on <0x11972010> (a java.util.TaskQueue)
at java.lang.Object.wait(Object.java:474)
at java.util.TimerThread.mainLoop(Timer.java:483)
- locked <0x11972010> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)
"Native Directory Watcher" prio=2 tid=0x047c64c8 nid=0x29d4 runnable [0x05a8f000
..0x05a8fd68]
at oracle.ide.natives.NativeHandler.enterWatcherThread(Native Method)
at oracle.ide.natives.NativeHandler$2.run(NativeHandler.java:252)
at java.lang.Thread.run(Thread.java:595)
"IconOverlayTracker Timer" prio=6 tid=0x048b01d8 nid=0x29cc in Object.wait() [0x
0528f000..0x0528f9e8]
at java.lang.Object.wait(Native Method)
- waiting on <0x1105d9f0> (a java.util.TaskQueue)
at java.lang.Object.wait(Object.java:474)
at java.util.TimerThread.mainLoop(Timer.java:483)
- locked <0x1105d9f0> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)
"IconOverlayTracker Timer" prio=6 tid=0x03876cc8 nid=0x29c8 in Object.wait() [0x
04fbf000..0x04fbfa68]
at java.lang.Object.wait(Native Method)
- waiting on <0x1105da68> (a java.util.TaskQueue)
at java.lang.Object.wait(Object.java:474)
at java.util.TimerThread.mainLoop(Timer.java:483)
- locked <0x1105da68> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)
"TimerQueue" daemon prio=6 tid=0x03b23470 nid=0x2954 in Object.wait() [0x0436f00
0..0x0436fb68]
at java.lang.Object.wait(Native Method)
- waiting on <0x10733728> (a javax.swing.TimerQueue)
at javax.swing.TimerQueue.run(TimerQueue.java:233)
- locked <0x10733728> (a javax.swing.TimerQueue)
at java.lang.Thread.run(Thread.java:595)
"AWT-EventQueue-0" prio=6 tid=0x03b047a0 nid=0x2950 in Object.wait() [0x041ff000
..0x041ffbe8]
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:474)
at java.awt.EventQueue.getNextEvent(EventQueue.java:345)
- locked <0x106c2968> (a java.awt.EventQueue)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:189)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:153)
at java.awt.Dialog$1.run(Dialog.java:515)
at java.awt.Dialog.show(Dialog.java:536)
at java.awt.Component.show(Component.java:1300)
at java.awt.Component.setVisible(Component.java:1253)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:361)
at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:208)
at oracle.ide.dialogs.ProgressRunnable.start(ProgressRunnable.java:116)
at oracle.dbtools.raptor.navigator.ObjectFilter.getChildren(ObjectFilter
.java:192)
at oracle.ideimpl.explorer.BaseTreeExplorer.addChildren(BaseTreeExplorer
.java:358)
at oracle.ideimpl.explorer.BaseTreeExplorer.open(BaseTreeExplorer.java:1
016)
at oracle.ideimpl.explorer.BaseTreeExplorer$4.run(BaseTreeExplorer.java:
2003)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
"AWT-Windows" daemon prio=6 tid=0x03ad7188 nid=0x2948 runnable [0x03fff000..0x03
fffce8]
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(WToolkit.java:269)
at java.lang.Thread.run(Thread.java:595)
"AWT-Shutdown" prio=6 tid=0x03ad6cb0 nid=0x2944 in Object.wait() [0x03eff000..0x
03effd68]
at java.lang.Object.wait(Native Method)
- waiting on <0x106c2a60> (a java.lang.Object)
at java.lang.Object.wait(Object.java:474)
at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
- locked <0x106c2a60> (a java.lang.Object)
at java.lang.Thread.run(Thread.java:595)
"Java2D Disposer" daemon prio=6 tid=0x03acf268 nid=0x2940 in Object.wait() [0x03
dff000..0x03dff9e8]
at java.lang.Object.wait(Native Method)
- waiting on <0x106c2ae8> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
- locked <0x106c2ae8> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
at sun.java2d.Disposer.run(Disposer.java:107)
at java.lang.Thread.run(Thread.java:595)
"Low Memory Detector" daemon prio=6 tid=0x00c64a48 nid=0x2934 runnable [0x000000
00..0x00000000]
"CompilerThread0" daemon prio=6 tid=0x00865008 nid=0x2930 waiting on condition [
0x00000000..0x034df84c]
"Signal Dispatcher" daemon prio=6 tid=0x00c612b0 nid=0x292c waiting on condition
[0x00000000..0x00000000]
"Finalizer" daemon prio=8 tid=0x00c58e58 nid=0x2928 in Object.wait() [0x032df000
..0x032dfce8]
at java.lang.Object.wait(Native Method)
- waiting on <0x106601f0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
- locked <0x106601f0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
"Reference Handler" daemon prio=6 tid=0x00c583b8 nid=0x2924 in Object.wait() [0x
031df000..0x031dfc68]
at java.lang.Object.wait(Native Method)
- waiting on <0x10660270> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:474)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
- locked <0x10660270> (a java.lang.ref.Reference$Lock)
"main" prio=6 tid=0x00868828 nid=0x2914 waiting on condition [0x00000000..0x0012
fb70]
"VM Thread" prio=6 tid=0x00c188f0 nid=0x2920 runnable
"VM Periodic Task Thread" prio=6 tid=0x00c60fb8 nid=0x2938 waiting on condition -
Expanding table: Calculating difference to value from previous row
Hi there,
I am a complete newbie to LiveCycle Designer (ES2) and have created below document with an expanding table.
Shared Files - Acrobat.com
My aim is to make the form user friendly by adding a calculation in the field "Twist" which calculates the difference from the current row to the previous row.
I have no idea about Java Script, I am afraid, and also don't know if this is possible at all so it's probably a bad idea after all.
The reason for setting it up as an expanding table is so that the form can be used for all 32 instances the form would be used for (they would all require different amount of rows altogether).
The calculation would start in row 2 (Checklist.Table1), take the twist value entered in row 2 and calculate the difference to the twist value entered in row 1.
Then in row 3, it would calculate the difference between twist value in row 3 to row 2 etc.
So subtract value of field in rown with value in rown-1 or something in this direction.
Is there anyone at all who could help me with this at all?
I'd be very grateful for any advice you could give me.
Thanks a lot!
MathildaNot sure what happened with the formatting there, try this;
if (Row1.index > 0 && !Row1.resolveNode("NumericField4[0]").isNull)
var prevTwist = Table1.resolveNode("Row1[" + (Row1.index - 1) + "].NumericField4[0]").rawValue
var result = Math.abs(3000 / (Row1.resolveNode("NumericField4[0]").rawValue - prevTwist));
this.rawValue = result;
else
this.rawValue = ""; -
Need help referencing expanding table data in vBody.
I have a form that I created in LiveCycle that has an expanding table with 7 columns of data. Once the form has been completed by the user they will click a button that will trigger a mailMsg event and will send form data as a plain text email. Everything works great except for the loop that is supposed to write the table data.
This is what the table data should look like in Outlook message.
Column1: rawValue
Column2 rawValue
and so on
Column1: rawValue
Column2 rawValue
and so on
script:
var i=0;
for (i=1;i<=vRowCount;i++)
vBody +="***********************************\r\n";
vBpdy += "Column1: " + xfa.resolveNode(form.form1.ReportFields.Table1.Row1[" + (i-1) + "].Column1").rawValue + "\r\n";
vBody +="***********************************\r\n";
That is all I have written for the loop right now until I figure out why it is not executing.If you want insert and delete the same data you only have to use the same where
Sth like th
CTH@>create table demo
2 ( n number,
3 c varchar2(1),
4 d date );
Table created.
CTH@>insert into demo (n,c) values (1, 'a');
1 row created.
CTH@>insert into demo (n,c) values (2, 'e');
1 row created.
CTH@>insert into demo (n,c) values (3, 'i');
1 row created.
CTH@>insert into demo (n,c) values (4, 'o');
1 row created.
CTH@>insert into demo (n,c) values (5, 'u');
1 row created.
CTH@>create table demo1
2 ( n number,
3 c varchar2(1),
4 d date default sysdate);
Table created.
CTH@>begin
2 insert into demo1
3 select *
4 from demo
5 where d is null;
6
7 delete demo where d is null;
8
9 end;
10 /
PL/SQL procedure successfully completed.
CTH@>select * from demo1;
N C D
1 a
2 e
3 i
4 o
5 u
5 rows selected.
CTH@>select * from demo;
no rows selected
CTH@>insert into demo (n,c) values (1, 'a');
1 row created.
CTH@>insert into demo (n,c) values (2, 'e');
1 row created.
CTH@>insert into demo (n,c) values (3, 'i');
1 row created.
CTH@>insert into demo (n,c) values (4, 'o');
1 row created.
CTH@>insert into demo (n,c) values (5, 'u');
1 row created.
CTH@>
CTH@>begin
2 insert into demo1 (n,c,d)
3 select n,c, sysdate d
4 from demo
5 where d is null;
6
7 delete demo where d is null;
8
9 end;
10 /
PL/SQL procedure successfully completed.
CTH@>select * from demo1;
N C D
1 a
2 e
3 i
4 o
5 u
1 a 19-09-2007 13:38:07
2 e 19-09-2007 13:38:07
3 i 19-09-2007 13:38:07
4 o 19-09-2007 13:38:07
5 u 19-09-2007 13:38:07
10 rows selected.
CTH@>select * from demo;
no rows selected -
Getting ORA-1013 when attempting to expand tables within connections
Getting ORA-1013 when attempting to expand tables within connections on new install of Oracle SQL developer 3.1.06.
Any ideas?Hi Steve,
The ORA-01013 usually means a timeout or, more typically on this forum, an intentional user cancellation. Searching the forum, I do not see any prior references to your exact situation. Some recommendations:
1. SQL Developer 3.1.0.6 was an early adopter release. Upgrade to the latest and greatest: 3.2.10.09.57
2. Review this: Re: [SQL Developer 3.0.04] Cannot Drill Down
3. If it is a true timeout, your privileges might make a difference. If you have access to the DBA views, SQL Developer does look-ups using those and performance is better.
So for [3], having the SELECT_CATALOG_ROLE privilege may help. I even read of one case in this forum where the poster finally discovered his database's recycle bin had an issue and the DBA needed to do some clean-up to correct the performance issue.
Hope this helps,
Gary
SQL Developer Team -
Expandable Table Need to Sum Different Cost Centers
I am trying to complete a mileage reimbursement form. I think I have a good design (?) but I am missing a critical efficiency within the form. I want the form to be able to calculate the cost centers across the expandable table within the subform. I have a dropdown that has different cost centers. How would I be able to sum like cost centers within the expandable table? Can I populate another table with just the totals for a particular cost center by calculation? I would need this for all cost centers This would help out the accounting department as the mulitple cost centers would be added.
My first page is expandable to accomodate multiple rows and has a page total and a grand total that floats if more rows are needed. My second page is more or less just for accounting I have a seperate table that right now is manually completed. The clerk has to printout the form and then manually add each cost center and then add it to the table on the second page.
I have tried to just use a numeric field on the second page attempting to get the calculations based of the test entry in the cost center of Edit. It only places the data of the first entry and does not cycle through and capture all cost centers in the expandable table that are Edit. Any help in the code and ideas on how to present the total in a new table would be greatly appreciated.I am a beginner at this and am trying to learn and complete this on my own but I am not sure what to do. Attached is my form.
http://aaa9.org/Updated%20Employee%20Mileage%20Expense%20Form.pdfThe following JavaScript will loop through the table and total up according to what is selected in the dropdown list. Put it on the Calculate event of a numeric field.
You'll need a separate field for each category and you'll need to update the rawValue test to the appropriate number for each field (I started with 2 because your first entry, which is 1 is blank). Depending where you put the fields you'll need to update the path to "Table1".
var nTotal = 0;
for (var i=0; i < Table1._Item.count; i++){
if (xfa.resolveNode("Table1.Item[" + i + "].DropDownList2").rawValue == 2){
nTotal ++;
this.rawValue = nTotal;
Couple of tips:
You've got an extra subform on your "page 3", you've wrapped one subform with another which isn't needed.
It's important to name your subforms, especially when scripting. -
Where did Expanded Tables Mode go? This is a necessary feature for those of us that are required to support older versions of email programs that don't properly support div tags. Also, when I need to analyze older websites or emails I use the Expanded Tables mode as an analytical tool.
Yes, feature deprecation is inevitable as the web and software evolves. I've always accepted that. I was thinking more about the timing. Sometimes Adobe gets it wrong. 12.1 is a prime example.
Equally unfortunate is the fact that the first ever Cloud-only update for DW has included the removal of features with no prior warning.
We're scratching our heads and left to our own devices to explore the post-update feature set via trial-and-error in the forums.
David_Powers wrote:
However, it does raise a question for CC subscribers. Let's say a feature that's important to you is removed from a major release (CS7 or CS8). Copies of the previous version are removed from the Adobe store as soon as a new one is released. It seems a reasonable assumption that the same will happen with the Creative Cloud. As a subscriber, you don't have a perpetual licence of the old version to roll back to.
Agreed.
I'd like to think that Adobe thought this scenario through when they were putting together the business model and policies for the Cloud.
It's becoming increasingly clear that that is not the case. It's policy on the run in some cases, this one included.
The only thing I've read online anywhere close to addressing this is that they give you up to 12 months to upgrade to the next version before you're "forced" to. But I think most people will upgrade the same day that the upgrade is released so I don't see this working in practice to address the scenario you've described.
Without prior warning, everyone will assume that an upgrade means new or enhanced features - not removal. -
Error while expanding tables in SQL Developer
Hi All,
I am using Oracle 11g, SQL Developer Version 3.1.07,
I have saved a connection for testing, for the default account (scott/tiger).
Connection Test is successful, but when I tried to expand the tables folder, it is showing an error.
Error:
java.lang.NoSuchMethodError: oracle.jdbc.OraclePreparedStatement.setStringAtName(Ljava/lang/String;Ljava/lang/String;)V
at oracle.dbtools.db.DBUtil$15.call(DBUtil.java:959)
at oracle.dbtools.db.DBUtil$15.call(DBUtil.java:945)
at oracle.dbtools.db.DBUtil.assertLock(DBUtil.java:1723)
at oracle.dbtools.db.DBUtil.bind(DBUtil.java:945)
at oracle.dbtools.db.DBUtil.bind(DBUtil.java:1404)
at oracle.dbtools.raptor.controls.grid.OracleRSTModel.prepareStatement(OracleRSTModel.java:89)
at oracle.dbtools.raptor.controls.grid.ResultSetTableModel.openResultSet(ResultSetTableModel.java:458)
at oracle.dbtools.raptor.controls.grid.ResultSetTableModel.fetchNext(ResultSetTableModel.java:183)
at oracle.dbtools.raptor.controls.grid.ResultSetTableModel$4.doWork(ResultSetTableModel.java:636)
at oracle.dbtools.raptor.controls.grid.ResultSetTableModel$4.doWork(ResultSetTableModel.java:620)
at oracle.dbtools.raptor.backgroundTask.RaptorTask.call(RaptorTask.java:193)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$RaptorFutureTask.run(RaptorTaskManager.java:515)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Note:
1. I have tried the query "SELECT * FORM TAB", it fetch all the tables name from the database.
2. I have the following privilege
PRIVILEGE
CREATE SESSION
UNLIMITED TABLESPACE
CREATE TABLE
CREATE CLUSTER
CREATE SEQUENCE
CREATE PROCEDURE
CREATE TRIGGER
CREATE TYPE
CREATE OPERATOR
CREATE INDEXTYPE
Please suggest me some idea how to solve this issue.Hi Kamal,
Some of the comments in this earlier post may be of help:
Can't view database objects
Bottom line: the missing method is found in jdbc jars like ojdbc5.jar and ojdbc6.jar, but not in earlier versions. Not sure of exact names, but probably something that came with an Oracle 8i client (maybe ojdbc14.jar?) or even a (much older) jar like classes12.jar would not have that method.
If you would rather not clean up this probable ORACLE_HOME conflict, you can try a common workaround noted again today in the forum to force use of the ojdbc6.jar that ships with SQL Developer:
Re: Migrate from sql developer 1.5x to 3.x
Regards,
Gary
SQL Developer Team -
Unable to expand table (or 'any' object) node - permissions issue?
I am the dba for a database and hence have access to the system user. When I connect to the db through SQL Developer, I can expand the table node under any user and list tables. As I can with any object node.
I now want to create an admin user that has restricted capabilities, one of which will be to view objects, such as tables etc..
(I will ultimately do this via a role to allow multiple users to have the admin capabilities, but for now have just created an admin_user userid).
However, when I connect to the database using this admin_user userid, I am unable to expand any object node.
I have played with different permissions, granting 'select any dictionary', 'select_catalog_role', 'select on dba_tables' but the user still can not view any objects via the appropriate node. eg. attempting to go to Other Users - username - Tables just shows nothing. (There are no filters).
However the admin_user can run a SQL command to view the tables. eg. Select * from dba_tables, will list all tables for all users within the database. So they DO appear to have the appropriate access.
So why can't they see the tables in the tables node?
Is there some piece of configuration within SQL Developer itself that I have overlooked?
CheersI am the dba for a database and hence have access to the system user. When I connect to the db through SQL Developer, I can expand the table node under any user and list tables. As I can with any object node.
I now want to create an admin user that has restricted capabilities, one of which will be to view objects, such as tables etc..
(I will ultimately do this via a role to allow multiple users to have the admin capabilities, but for now have just created an admin_user userid).
However, when I connect to the database using this admin_user userid, I am unable to expand any object node.
I have played with different permissions, granting 'select any dictionary', 'select_catalog_role', 'select on dba_tables' but the user still can not view any objects via the appropriate node. eg. attempting to go to Other Users - username - Tables just shows nothing. (There are no filters).
However the admin_user can run a SQL command to view the tables. eg. Select * from dba_tables, will list all tables for all users within the database. So they DO appear to have the appropriate access.
So why can't they see the tables in the tables node?
Is there some piece of configuration within SQL Developer itself that I have overlooked?
Cheers -
LiveCycle ES4 - XFA forms, expandable tables and columnar layout
Hi,
We are using LiveCycle ES4 and XFA forms to bind XML to the PDF. I am having trouble with a particular layout however:
I have two tables.
The number of rows expand depending on the XML data.
I want to print the tables side-by-side in a newspaper like columnar format.
If I add them using a flowed sub form and make the sub form just high enough they display side by side, which is how I want it. It all works well as long as there is no page break. However, when the left table expands onto a new page the start of right table is moved to next page as well, leaving a big empty space on the right on the previous page.
If I change the contents of the sub form to positioned instead of flowed then the tables seem to behave correctly, but then the header row does not repeat after each page break, and the check boxes to enable "Include header row in subsequent pages" on the header row is disabled. This only becomes available if I make the sub form flowed instead of positioned.
I am stuck between a rock and a hard place. Why can't I enable "Include header row in subsequent pages" on positioned tables? Can someone suggest an alternative method perhaps? Note that there are other non-columnar sub forms as well so I cannot use columnar master page content areas, unless I understand master pages wrong.
Any help will be greatly appreciated!
JakoHi Sara,
1) The first problem is because you did not set the Page content direction to "Flowed". Once the Page's Content property is set is flowed, your problem should be resolved.
2) You can always make a section visible or hidden by scripting. Use code :
subform.presence = "visible";
or
subform.presence = "hidden";
Thanks,
VJ -
Error expanding tables in Oracle Explorer
I have an Oracle 9i database that I am connecting to remotely (the server is in Ohio and on a UNIX O/s, I am in Florida)
I can connect to a Local Oracle 9i Server with no problems ( it is running on a windows server)
when I try to expand the Tables in the Oracle Explorer in VS 2003 I get this error.
"An error occurred while expanding the node:
ORA-04063: view "SYS.ALL_XML_TABLES" has errors"
Any idea how to fix this?
I can expand the folders for Views, Functions, Procedures, and Packages without any problems.
Thanks in AdvanceGlen,
Thanks for your response, I am getting this error when I run it from the queery window in the VS IDE.
ERROR
ORA-04063: view "SYS.ALL_XML_TABLES" has errors
from SQLPLUS I get the same error.
ERROR at line 1:
ORA-04063: view "SYS.ALL_XML_TABLES" has errors
the database is Oracle 9i on a UNix box, (thats what I am told, I do not know the version but I am using the latest oracle 10g client with the VS 2003 Oracle Developer tools installed. -
Version 3.2.20.09: Expanding Tables still hangs.
This is similar to: https://forums.oracle.com/thread/2204388
I just downloaded a new version of SQL Developer for my new computer.
I was able to set up my connections, but when I go to expand the tables tree node, SQL Developer just hangs.
I've tried adding the line: AddVMOption -Doracle.net.disableOob=true
to the .conf file as specified in the post. However, this does not help.
Just a note, I am on Windows 7 and over VPN...both contributing factors to the problem according to the post.
If anyone has any ideas, it would be appreciated.Here is a full dump of the About section in SQL Developer.
I have redacted my username, as it is not important to the conversation. I have replaced it with **REDACTED**:
About
Oracle SQL Developer 3.2.20.09
Version 3.2.20.09
Build MAIN-09.87
Copyright © 2005, 2012 Oracle. All Rights Reserved.
IDE Version: 11.1.1.4.37.59.48
Product ID: oracle.sqldeveloper
Product Version: 11.2.0.09.87
Version
Component Version
========= =======
Java(TM) Platform 1.7.0_25
Oracle IDE 3.2.20.09.87
Versioning Support 3.2.20.09.87
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 \
ice.browser.forcegc false
ice.pilots.html4.ignoreNonGenericFonts true
ice.pilots.html4.tileOptThreshold 0
ide.AssertTracingDisabled true
ide.bootstrap.start 1850305877367
ide.build MAIN-09.87
ide.conf C:\Program Files\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
ide.config_pathname C:\Program Files\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 7468
ide.main.class oracle.ide.boot.IdeLauncher
ide.patches.dir ide/lib/patches
ide.pref.dir C:\Users\**REDACTED**\AppData\Roaming\SQL Developer
ide.pref.dir.base C:\Users\**REDACTED**\AppData\Roaming
ide.product oracle.sqldeveloper
ide.shell.enableFileTypeAssociation C:\Program Files\sqldeveloper\sqldeveloper.exe
ide.splash.screen splash.gif
ide.startingArg0 "C:\Program Files\sqldeveloper\sqldeveloper64.exe"
ide.startingcwd C:\Program Files\sqldeveloper
ide.user.dir C:\Users\**REDACTED**\AppData\Roaming\SQL Developer
ide.user.dir.var IDE_USER_DIR
ide.vcs.noapplications true
ide.work.dir C:\Users\**REDACTED**\Documents\SQL Developer
ide.work.dir.base C:\Users\**REDACTED**\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 51.0
java.endorsed.dirs C:\Program Files\Java\jdk1.7.0_25\jre\lib\endorsed
java.ext.dirs C:\Program Files\Java\jdk1.7.0_25\jre\lib\ext;C:\windows\Sun\Java\lib\ext
java.home C:\Program Files\Java\jdk1.7.0_25\jre
java.io.tmpdir C:\Users\**REDACTED**\AppData\Local\Temp\
java.library.path C:\Program Files\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\Java\jdk1.7.0_25;.
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.7.0_25-b17
java.specification.name Java Platform API Specification
java.specification.vendor Oracle Corporation
java.specification.version 1.7
java.util.logging.config.file logging.conf
java.vendor Oracle Corporation
java.vendor.url http://java.oracle.com/
java.vendor.url.bug http://bugreport.sun.com/bugreport/
java.version 1.7.0_25
java.vm.info mixed mode
java.vm.name Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Oracle Corporation
java.vm.specification.version 1.7
java.vm.vendor Oracle Corporation
java.vm.version 23.25-b01
jdbc.library /C:/Program Files/sqldeveloper/jdbc/lib/ojdbc6.jar
line.separator \r\n
log.file.name C:\Program Files\sqldeveloper\sqldeveloper\extensions\oracle.datamodeler\log\datamodeler.log
oracle.home C:\Program Files\sqldeveloper
oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG true
oracle.jdbc.mapDateToTimestamp false
oracle.net.disableOob true
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/sqldeveloper/jlib/orai18n.jar
os.arch amd64
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 64
sun.awt.enableExtraMouseButtons true
sun.boot.class.path C:\Program Files\Java\jdk1.7.0_25\jre\lib\resources.jar;C:\Program Files\Java\jdk1.7.0_25\jre\lib\rt.jar;C:\Program Files\Java\jdk1.7.0_25\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.7.0_25\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.7.0_25\jre\lib\jce.jar;C:\Program Files\Java\jdk1.7.0_25\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.7.0_25\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.7.0_25\jre\classes
sun.boot.library.path C:\Program Files\Java\jdk1.7.0_25\jre\bin
sun.cpu.endian little
sun.cpu.isalist amd64
sun.desktop windows
sun.io.unicode.encoding UnicodeLittle
sun.java2d.ddoffscreen false
sun.jnu.encoding Cp1252
sun.management.compiler HotSpot 64-Bit Tiered Compilers
sun.os.patch.level Service Pack 1
svnkit.sax.useDefault true
user.country US
user.dir C:\Program Files\sqldeveloper\sqldeveloper\bin
user.home C:\Users\**REDACTED**
user.language en
user.name **REDACTED**
user.script
user.timezone America/New_York
user.variant
windows.shell.font.languages
Extensions
Name Identifier Version Status
==== ========== ======= ======
Check For Updates oracle.ide.webupdate 11.1.1.4.37.59.48 Loaded
Code Editor oracle.ide.ceditor 11.1.1.4.37.59.48 Loaded
Component Palette oracle.ide.palette1 11.1.1.4.37.59.48 Loaded
Data Miner oracle.dmt.dataminer 11.2.1.1.09.87 Loaded
Database Connection Support oracle.jdeveloper.db.connection 11.1.1.4.37.59.48 Loaded
Database Object Explorers oracle.ide.db.explorer 11.1.1.4.37.59.48 Loaded
Database UI oracle.ide.db 11.1.1.4.37.59.48 Loaded
Diagram Framework oracle.diagram 11.1.1.4.37.59.48 Loaded
Diagram Javadoc Extension oracle.diagram.javadoc 11.1.1.4.37.59.48 Loaded
Diagram Thumbnail oracle.diagram.thumbnail 11.1.1.4.37.59.48 Loaded
Diff/Merge oracle.ide.diffmerge 11.1.1.4.37.59.48 Loaded
Extended IDE Platform oracle.javacore 11.1.1.4.37.59.48 Loaded
External Tools oracle.ide.externaltools 11.1.1.4.37.59.48 Loaded
File Support oracle.ide.files 11.1.1.4.37.59.48 Loaded
Help System oracle.ide.help 11.1.1.4.37.59.48 Loaded
History Support oracle.jdeveloper.history 11.1.1.4.37.59.48 Loaded
Import/Export Support oracle.ide.importexport 11.1.1.4.37.59.48 Loaded
Index Migrator support oracle.ideimpl.indexing-migrator 11.1.1.4.37.59.48 Loaded
JDeveloper Runner oracle.jdeveloper.runner 11.1.1.4.37.59.48 Loaded
JViews Registration Addin oracle.diagram.registration 11.1.1.4.37.59.48 Loaded
Log Window oracle.ide.log 11.1.1.4.37.59.48 Loaded
Mac OS X Adapter oracle.ideimpl.apple 11.1.1.4.37.59.48 Loaded
Navigator oracle.ide.navigator 11.1.1.4.37.59.48 Loaded
Object Gallery oracle.ide.gallery 11.1.1.4.37.59.48 Loaded
Oracle IDE oracle.ide 11.1.1.4.37.59.48 Loaded
Oracle SQL Developer oracle.sqldeveloper 11.2.0.09.87 Loaded
Oracle SQL Developer - 3rd Party Database Browsers oracle.sqldeveloper.thirdparty.browsers 11.2.0.09.87 Loaded
Oracle SQL Developer - APEX Listener Administration oracle.sqldeveloper.listener 11.2.0.09.87 Loaded
Oracle SQL Developer - Change Mangement oracle.sqldeveloper.em_cm 11.2.0.09.87 Loaded
Oracle SQL Developer - DBA Navigator oracle.sqldeveloper.dbanavigator 11.2.0.09.87 Loaded
Oracle SQL Developer - Database Cart oracle.sqldeveloper.dbcart 11.2.0.09.87 Loaded
Oracle SQL Developer - Extras oracle.sqldeveloper.extras 11.2.0.09.87 Loaded
Oracle SQL Developer - File Navigator oracle.sqldeveloper.filenavigator 11.2.0.09.87 Loaded
Oracle SQL Developer - Migrations Antlr3 Translator oracle.sqldeveloper.migration.translation.core_antlr3 11.2.0.09.87 Loaded
Oracle SQL Developer - Migrations Application Migration oracle.sqldeveloper.migration.application 11.2.0.09.87 Loaded
Oracle SQL Developer - Migrations Core oracle.sqldeveloper.migration 11.2.0.09.87 Loaded
Oracle SQL Developer - Migrations DB2 oracle.sqldeveloper.migration.db2 11.2.0.09.87 Loaded
Oracle SQL Developer - Migrations DB2 Translator oracle.sqldeveloper.migration.translation.db2 11.2.0.09.87 Loaded
Oracle SQL Developer - Migrations Microsoft Access oracle.sqldeveloper.migration.msaccess 11.2.0.09.87 Loaded
Oracle SQL Developer - Migrations Microsoft SQL Server oracle.sqldeveloper.migration.sqlserver 11.2.0.09.87 Loaded
Oracle SQL Developer - Migrations MySQL oracle.sqldeveloper.migration.mysql 11.2.0.09.87 Loaded
Oracle SQL Developer - Migrations Sybase Adaptive Server oracle.sqldeveloper.migration.sybase 11.2.0.09.87 Loaded
Oracle SQL Developer - Migrations T-SQL Translator oracle.sqldeveloper.migration.translation.core 11.2.0.09.87 Loaded
Oracle SQL Developer - Migrations Teradata oracle.sqldeveloper.migration.teradata 11.2.0.09.87 Loaded
Oracle SQL Developer - Migrations Teradata SQL Translator oracle.sqldeveloper.migration.translation.teradata_translator 11.2.0.09.87 Loaded
Oracle SQL Developer - Migrations Translation UI oracle.sqldeveloper.migration.translation.gui 11.2.0.09.87 Loaded
Oracle SQL Developer - Object Viewer oracle.sqldeveloper.oviewer 11.2.0.09.87 Loaded
Oracle SQL Developer - Real Time SQL Monitoring oracle.sqldeveloper.sqlmonitor 11.2.0.09.87 Loaded
Oracle SQL Developer - Reports oracle.sqldeveloper.report 11.2.0.09.87 Loaded
Oracle SQL Developer - Scheduler oracle.sqldeveloper.scheduler 11.2.0.09.87 Loaded
Oracle SQL Developer - Schema Browser oracle.sqldeveloper.schemabrowser 11.2.0.09.87 Loaded
Oracle SQL Developer - SearchBar oracle.sqldeveloper.searchbar 11.2.0.09.87 Loaded
Oracle SQL Developer - Security oracle.sqldeveloper.security 11.2.0.09.87 Loaded
Oracle SQL Developer - Snippet oracle.sqldeveloper.snippet 11.2.0.09.87 Loaded
Oracle SQL Developer - Spatial oracle.sqldeveloper.spatial 11.2.0.09.87 Loaded
Oracle SQL Developer - TimesTen oracle.sqldeveloper.timesten 11.2.0.09.87 Loaded
Oracle SQL Developer - Tuning oracle.sqldeveloper.tuning 11.2.0.09.87 Loaded
Oracle SQL Developer - Unit Test oracle.sqldeveloper.unit_test 11.2.0.09.87 Loaded
Oracle SQL Developer - User Extensions Support oracle.sqldeveloper.userextensions 11.2.0.09.87 Loaded
Oracle SQL Developer - Worksheet v2 oracle.sqldeveloper.worksheet 11.2.0.09.87 Loaded
Oracle SQL Developer - XML Schema oracle.sqldeveloper.xmlschema 11.2.0.09.87 Loaded
Oracle SQL Developer Data Modeler oracle.datamodeler 3.1.4.710 Loaded
Oracle SQL Developer Data Modeler - Reports oracle.sqldeveloper.datamodeler_reports 11.2.0.09.87 Loaded
PROBE Debugger oracle.jdeveloper.db.debug.probe 11.1.1.4.37.59.48 Loaded
Peek oracle.ide.peek 11.1.1.4.37.59.48 Loaded
Persistent Storage oracle.ide.persistence 11.1.1.4.37.59.48 Loaded
Property Inspector oracle.ide.inspector 11.1.1.4.37.59.48 Loaded
QuickDiff oracle.ide.quickdiff 11.1.1.4.37.59.48 Loaded
Replace With oracle.ide.replace 11.1.1.4.37.59.48 Loaded
Runner oracle.ide.runner 11.1.1.4.37.59.48 Loaded
VHV oracle.ide.vhv 11.1.1.4.37.59.48 Loaded
Versioning Support oracle.jdeveloper.vcs 11.1.1.4.37.59.48 Loaded
Versioning Support for Subversion oracle.jdeveloper.subversion 11.1.1.4.37.59.48 Loaded
Virtual File System oracle.ide.vfs 11.1.1.4.37.59.48 Loaded
Web Browser and Proxy oracle.ide.webbrowser 11.1.1.4.37.59.48 Loaded
XML Editing Framework IDE Extension oracle.ide.xmlef 11.1.1.4.37.59.48 Loaded
audit oracle.ide.audit 11.1.1.4.37.59.48 Loaded
classpath: protocol handler extension oracle.jdeveloper.classpath 11.1.1.0.0 Loaded
jdukshare oracle.bm.jdukshare 11.1.1.4.37.59.48 Loaded
mof-xmi oracle.mof.xmi 11.1.1.4.37.59.48 Loaded
oracle.ide.dependency oracle.ide.dependency 11.1.1.4.37.59.48 Loaded
oracle.ide.indexing oracle.ide.indexing 11.1.1.4.37.59.48 Loaded
palette2 oracle.ide.palette2 11.1.1.4.37.59.48 Loaded
status oracle.ide.status 11.1.1.4.37.59.48 Loaded -
1.5.4 - Slow to expand tables node for a oracle 9 connection
Hi
I have been trying out version 1.5.4 and have found that expanding the tables node on the connections tab is extremely slow (approx 3 min) for my oracle 9.2.0.6 connections.
As with this [this bug |http://forums.oracle.com/forums/thread.jspa?threadID=867600&tstart=0] it is ok on a 10.2.0.3 connection.
Expanding the tables node for the same connection in 1.5.3 is also fine. I'm abit concerned that this latest version of sql dev has not been tested particularly thoroughly with oracle 9.
Is oracle 9 still a supported version with sql developer?
thanks
paulIt's not just Oracle 9 that is having problems with the table node. I am connecting to a 10.2.0.3 DB (basic connection) using JDK 1.6.0_06 and filtering for a single table (using = and case sensitive). On 1.5.4 this takes 25 seconds but on 1.5.3 this only takes 2 seconds. However, without a filter, the 1.5.4 performance is significantly better than the 1.5.3 performance without a filter.
The queries SQL Developer uses certainly have been changed between 1.5.3 and 1.5.4.
1.5.3 query:select * from (
SELECT o.OBJECT_NAME, o.OBJECT_ID ,'' short_name, t.partitioned,t.iot_type, o.OWNER OBJECT_OWNER, o.CREATED, o.LAST_DDL_TIME
FROM SYS.ALL_OBJECTS O ,sys.all_tables t
WHERE O.OWNER = :SCHEMA
and o.owner = t.owner(+)
and o.object_name = t.table_name(+)
AND O.OBJECT_TYPE = 'TABLE'
AND O.GENERATED = 'N'
AND O.OBJECT_NAME NOT IN ( SELECT OBJECT_NAME FROM RECYCLEBIN )
AND NOT EXISTS (SELECT 1 FROM SYS.ALL_MVIEWS WHERE MVIEW_NAME = O.OBJECT_NAME AND OWNER = O.OWNER)
AND NOT EXISTS (SELECT 1 from all_queue_tables WHERE QUEUE_TABLE = O.OBJECT_NAME AND OWNER = O.OWNER)
AND not ( object_name like 'AQ$_%_G'
or object_name like 'AQ$_%_H'
or object_name like 'AQ$_%_I'
or object_name like 'AQ$_%_S'
or object_name like 'AQ$_%_T' )
union all
SELECT OBJECT_NAME, OBJECT_ID , syn.SYNONYM_NAME short_NAME,
t.partitioned,t.iot_type, SYN.TABLE_OWNER OBJECT_OWNER, o.CREATED, o.LAST_DDL_TIME
FROM SYS.ALL_OBJECTS O, sys.user_synonyms syn,sys.all_tables t
WHERE syn.table_owner = o.owner
and syn.TABLE_NAME = o.object_NAME
and o.object_name = t.table_name
and o.owner = t.owner
and o.object_type = 'TABLE'
and :INCLUDE_SYNS = 1
and :SCHEMA = USER
AND O.GENERATED = 'N'
AND O.OBJECT_NAME NOT IN ( SELECT OBJECT_NAME FROM RECYCLEBIN)
WHERE OBJECT_NAME = :OBJECT_NAME1.5.4 query:with tabs as (
select t.*, rownum rn -- not merge
from sys.all_tables t
where owner = :SCHEMA
), objs as (
select o.*, rownum rn -- not merge
from sys.all_objects o
where owner = :SCHEMA
AND O.OBJECT_TYPE = 'TABLE'
AND O.GENERATED = 'N'
AND O.OBJECT_NAME NOT IN (SELECT OBJECT_NAME FROM RECYCLEBIN)
AND O.OBJECT_NAME NOT IN (SELECT MVIEW_NAME FROM SYS.ALL_MVIEWS WHERE :SCHEMA = OWNER)
AND O.OBJECT_NAME NOT IN (SELECT QUEUE_TABLE from all_queue_tables WHERE :SCHEMA = OWNER)
AND not ( object_name like 'AQ$_%_G'
or object_name like 'AQ$_%_H'
or object_name like 'AQ$_%_I'
or object_name like 'AQ$_%_S'
or object_name like 'AQ$_%_T' )
AND ( user = :SCHEMA or not object_name like 'BIN$%' ) -- user != :SCHEMA --> object_name not like 'BIN$%'
-- RECYCLEBIN is USER_RECYCLEBIN!
) select * from (
SELECT o.OBJECT_NAME, o.OBJECT_ID ,'' short_name, t.partitioned,t.iot_type, o.OWNER OBJECT_OWNER, o.CREATED, o.LAST_DDL_TIME
FROM OBJS O , tabs t
WHERE o.object_name = t.table_name
union all
SELECT OBJECT_NAME, OBJECT_ID , syn.SYNONYM_NAME short_NAME,
t.partitioned,t.iot_type, SYN.TABLE_OWNER OBJECT_OWNER, o.CREATED, o.LAST_DDL_TIME
FROM sys.all_objects O, sys.user_synonyms syn,sys.all_tables t
WHERE syn.table_owner = o.owner
and syn.TABLE_NAME = o.object_NAME
and o.object_name = t.table_name
and :INCLUDE_SYNS = 1
and :SCHEMA = USER
WHERE OBJECT_NAME = :OBJECT_NAMEtheFurryOne
Maybe you are looking for
-
Vendor Down Payment Clearing: F-54 or F-44
Hi I have made a down payment (with Spl. GL indicator) to a vendor, using F-48. Then I book an invoice using FB60. I kept the two amounts same and ignored WT to keep things simple. Now i want to clear the down payment against the invoice. I use F-54.
-
Problems after upgrading to iOS 5.0...
Hi, maybe it's been said and maybe it's a matter of the iPad 1, but after upgrading to ios 5.0 all my apps started to reset when used. Is there something I can do to avoid this? I tried resetting the iPad and nothing.... Kind Regards
-
SDM Deployment Problem with aii_af_jmsproviderlib
Hi When I try to deploy aii_af_jmsproviderlib I get the following error: "SDM has not calculated any deployment actions.Possible reasons: All selected archives have already been deployed before in the same or in a higher version". Also, it does not l
-
WRT54G Question on how far does the signal reach?
Question on how far does the signal reach? Like from the system box at home base, could you take the laptop what distance from it? Miles? Or jus a short distance? And what distance if anyone knows? Message Edited by White_Devil on 04-09-2008 08:21 PM
-
Hi all, can I debug a message mapping when click Test function? Thanks in advance, Michele.