There's a LISTAGG function (11g only?) that will let you create a comma-delimited list.
select LISTAGG(t.item_id, ',') WITHIN GROUP( ORDER BY t.style_id) FROM (select distinct i.item_id as item_id FROM purchase_order_item poi JOIN item i ON i.item_id = poi.item_id WHERE poi.po_id = 12345) t
Showing posts with label Oracle. Show all posts
Showing posts with label Oracle. Show all posts
Tuesday, October 26, 2010
Friday, April 2, 2010
Insufficient Disk space! WebLogic 10.3.2.0 running on Mac OSX
Note: First read my post about getting JDeveloper installed - you still need to fake out the Oracle installer so it realizes you have a JDK install
Go to Oracle.com and get the Oracle WebLogic Server 11gR1 (10.3.2) - Package Installer - generic
Warning: If you double-click on the jar, you'll get a few screens in and then it will complain (completely incorrectly) about "Insufficient disk space!" regardless of how much free space you have on your machine.
The workaround is to pull up a terminal window, go to the directory holding the wls1032_generic.jar file and execute:
java -Dos.name=unix -XX:MaxPermSize=512m -Xmx1024m -jar wls1032_generic.jar
Seems the installer can't determine disk space correctly without knowing it's an unix system... should install successfully after that.
If you don't increase the perm gen space, you'll hit: "Exception in thread "runScript" java.lang.OutOfMemoryError: PermGen space"
Go to Oracle.com and get the Oracle WebLogic Server 11gR1 (10.3.2) - Package Installer - generic
Warning: If you double-click on the jar, you'll get a few screens in and then it will complain (completely incorrectly) about "Insufficient disk space!" regardless of how much free space you have on your machine.
The workaround is to pull up a terminal window, go to the directory holding the wls1032_generic.jar file and execute:
java -Dos.name=unix -XX:MaxPermSize=512m -Xmx1024m -jar wls1032_generic.jar
Seems the installer can't determine disk space correctly without knowing it's an unix system... should install successfully after that.
If you don't increase the perm gen space, you'll hit: "Exception in thread "runScript" java.lang.OutOfMemoryError: PermGen space"
Monday, March 29, 2010
Installing JDeveloper 11 on OSX
Guess what, JDeveloper doesn't install out of box on a Mac... here's how to fix the JDK issue so you can at least get JDeveloper installed:
cd /System/Library/Frameworks/JavaVM.framework/Home
sudo mkdir -p jre/lib
cd jre/lib/
sudo ln -s ../../../Classes/classes.jar rt.jar
cd /System/Library/Frameworks/JavaVM.framework/Home
sudo mkdir -p jre/lib
cd jre/lib/
sudo ln -s ../../../Classes/classes.jar rt.jar
Subscribe to:
Posts (Atom)