How to update zfs-based flar?
Hello!
I have ZFS-based flash archive (flar file). I need to install to it several additional packages and patches. As I know, it is possible for USF-based flar, but how to do it with ZFS-based one?
My flash archive knowledge is minimal and I'm not sure how to do this with UFS, but maybe this is what a differential flash archive is?
If so, ZFS doesn't support this archiving method as described here:
http://docs.oracle.com/cd/E26505_01/html/E37384/githk.html#scrolltoc
Only a full initial installation of a ZFS flash archive is supported. You cannot install a differential flash archive of a ZFS root file system or install a hybrid UFS/ZFS archive.
I think you will need to recreate the flar with the additional components.
Solaris 10 installation features existed about 10 years before ZFS was created. Getting the basic installation features to work with ZFS was quite an accomplishment. More ZFS installation features have been added since their initial release (Solaris 10 10/08) but not this one.
Thanks, Cindy
Similar Messages
-
How to update Jtable based on itemStateChanged in JComboBox?
My bad... I originally posted this topic in the Java Programming forum before I found this forum. My apologies.
Anyway, can someone help me out pls? I need to be able to update my JTable based on the selected item in the combobox. Unfortunately, my JTable doesn't update when I choose another item in the combo box. What am I doing wrong? I've read about TableModels but I'm not quite sure how to use it.
my code:
my_constructor()
JComboBox cbdisease;
cbdisease = new JComboBox();
cbdisease.setEditable(false);
cbdisease.setBounds(30,20,270,25);
add(cbdisease);
cbdisease.addActionListener(this);
cbdisease.addItem("View All");
//aside from "View All" that was previously added to the combo box
//get the values from the database to fill the comboBox
showDiseases();
cbdisease.addItemListener(new ItemListener()
public void itemStateChanged(ItemEvent e)
System.out.println(cbdisease.getSelectedItem());
displayRules();
}// end constructor
method: showDiseases
connect to DB and get D_Description (column in database)
display D_Description in combo box
public void showDiseases()
Connection conn = null;
ResultSet rs = null;
Statement statement = null;
try {
// Connect to DB
Class.forName("com.mysql.jdbc.Driver").newInstance();
conn = DriverManager.getConnection("jdbc:mysql:///dbused",
"root", "");
// create a statement, execute query
statement = conn.createStatement();
rs = statement.executeQuery("SELECT DISTINCT D_Description FROM disease");
//place D_Description in combo box
while(rs.next())
strDesc = rs.getString("D_Description");
cbdisease.addItem(strDesc);
conn.close();
statement.close();
} catch (SQLException sqle) {
sqle.printStackTrace();
} catch (Exception e) {
e.printStackTrace();
}//end catch
}//end showDiseases()
method: displayRules
connect to DB and get the rules depending item selected in the combo box
display the rules in a table
public void displayRules()
Connection conn = null;
ResultSet rs = null;
Statement statement = null;
try {
// Connect to DB
Class.forName("com.mysql.jdbc.Driver").newInstance();
conn = DriverManager.getConnection("jdbc:mysql:///dbused",
"root", "");
// create a statement, execute query
statement = conn.createStatement();
if(cbdisease.getSelectedItem().equals("View All"))
rs = statement.executeQuery("SELECT D_DiseaseCode, D_Description, D_QuestionCode, D_Question, D_Action, D_NumArrow, D_Arrow FROM Disease ORDER BY D_DiseaseCode, D_QuestionCode");
else //query depends on the item selected in combo box other than "View All"
rs = statement.executeQuery("SELECT D_DiseaseCode, D_Description, D_QuestionCode, D_Question, D_Action, D_NumArrow, D_Arrow FROM Disease WHERE" + " D_Description = '" +cbdisease.getSelectedItem()+ "' ORDER BY D_DiseaseCode, D_QuestionCode");
// Convert the result set into an array of Objects
Object[][] rows = getObjects(rs);
// These are the column headings displayed in the JTable
String[] headings = { "Disease Code", "Description", "Question Code", "Question", "Action", "# of Arrows", "Arrow"};
// Initialize a JTable with the rows of objects and column headings
rulestable = new JTable(rows, headings);
// Add the table to a JScrollPane to make it display nicely
rulesScroll = new JScrollPane(rulestable);
// Add the scroll pane to the container
add(rulesScroll);
rulesScroll.setBounds(30,80,720,380);
conn.close();
statement.close();
} catch (SQLException sqle) {
//sqle.printStackTrace();
System.out.println(sqle.getSQLState());
} catch(Exception e) {
System.err.println("Exception: " + e.getMessage());
}//end displayRules()
method: getObjects
public Object[][] getObjects(ResultSet rs) throws SQLException
// Find out how many columns are in the result set
ResultSetMetaData metaData = rs.getMetaData();
final int colCount = metaData.getColumnCount();
ArrayList rows = new ArrayList();
Object[] row = null;
while (rs.next()) {
// for each row in the result set, put every column into a temporary Object array
row = new Object[colCount];
for (int a = 0; a < colCount; a++)
row[a] = rs.getObject(a+1);
// add the temporary Object array to the array list
rows.add(row);
// convert the array list to objects
return (Object[][])rows.toArray(new Object[0][0]);
}//end getObjects()Just pass the new data to a new TableModel object's
constructor and then u can use this new table model in
ur JTable constructor. that woud automatically update
the table data.
Cheers!
Asimsir Asim, do you mean inserting
DefaultTableModel rulesmodel = new DefaultTableModel(rows, headings);
to my code?
public void displayRules()
Connection conn = null;
ResultSet rs = null;
Statement statement = null;
try {
// Connect to DB
Class.forName("com.mysql.jdbc.Driver").newInstance();
conn = DriverManager.getConnection("jdbc:mysql:///dbused",
"root", "");
// create a statement, execute query
statement = conn.createStatement();
if(cbdisease.getSelectedItem().equals("View All"))
rs = statement.executeQuery("SELECT D_DiseaseCode, D_Description, D_QuestionCode, D_Question, D_Action, D_NumArrow, D_Arrow FROM Disease ORDER BY D_DiseaseCode, D_QuestionCode");
else //query depends on the item selected in combo box other than "View All"
rs = statement.executeQuery("SELECT D_DiseaseCode, D_Description, D_QuestionCode, D_Question, D_Action, D_NumArrow, D_Arrow FROM Disease WHERE" + " D_Description = '" +cbdisease.getSelectedItem()+ "' ORDER BY D_DiseaseCode, D_QuestionCode");
// Convert the result set into an array of Objects
Object[][] rows = getObjects(rs);
// These are the column headings displayed in the JTable
String[] headings = { "Disease Code", "Description", "Question Code", "Question", "Action", "# of Arrows", "Arrow"};
// Initialize a JTable with the rows of objects and column headings
rulestable = new JTable(rows, headings);
// Add the table to a JScrollPane to make it display nicely
rulesScroll = new JScrollPane(rulestable);
// Add the scroll pane to the container
add(rulesScroll);
rulesScroll.setBounds(30,80,720,380);
conn.close();
statement.close();
DefaultTableModel rulesmodel = new DefaultTableModel(rows, headings); //like this?
rulestable.setModel(rulesmodel);
} catch (SQLException sqle) {
//sqle.printStackTrace();
System.out.println(sqle.getSQLState());
} catch(Exception e) {
System.err.println("Exception: " + e.getMessage());
}//end displayRules() -
How to update Activity based upon Campaign
Hi !
We have created some Campaigns with campaignelements.
These elements has been "connected" to different BP - based upon roles.
The corresponding Activities, then has to be updated (Fields: Dates and Status)
Our task is to create a routine/program, where, based upon Campaign, the corresponding Activities can be updated.
Could any one please tell us how to do this?
Regards
TorbenHi Torben,
I hope I've got your problem correct. I think that a update of the Activities created during the campaign is not possible. You can try to search for the activities created by the campaign throu the link.
If I've got you wrong could you describe your business case in more detail please.
Regards
Gregor -
How to update multiple based on particular field
Hi All,
I have a requirement i.e, i have to update two fields based on another field in OIM 11g
like
emp_type cashier_ind store_ind
H N N
S Y Y
here based on emp_type i need update casher_ind and store_ind as shown above, as per my knowledge i think i have to use entity adapter for this is it ryt? can any one help in thisUse Post Process Event Handlers
Check Metalink: 1262803.1 -
How to update UDF based upon the row level dimensions.
Hello Experts,
I have made 4 new udf at Sales Order. Its displaying at Righthand side under General Category.
Now at row level im entering item detail, and other things with 4 profit center vaues.
So i want that if i enter value in those 4 proft center in row level then it should automatically update those 4 udf with that value.
It always happen in Add mode of SO, if SO open in update mode then i can update those udf with other values also, which can be differ then row level profit center values.
If we need to create any trigger or any query for that, then guide me for that.
Regards,Hi Chintesh,
You can use the option of changing value when the exising column value changes. (also check the option refersh only option)
pls revert in case more help.
Regards,
Datta Kharat -
How to update multiple calling hours based on business partner
Hi All,
please help me in this issue : how to update multiple calling hours based on business partner in SAP CRM.
Regards,
Siva kumar.Check maintainance view V_TB49, add new scheduling type.
-
How to Update in InDesign based on New XMLElements
Hi Pals,
I have InDesign File consist of contents which is based on an XML Hierarchy. And i have a new XML which is having some new XMLElements inserted in the Existing Hierarchy. The new added Elemensts are having same tag name.
eg:
InDesign Document XML Structure
Root
-<document>
-<head>
-<body>
-<text1>
-<text2>
-<text3>
New XML Structure
Root
-<document>
-<head>
-<body>
-<text1>
-<New>
-<text2>
-<New>
-<text3>
How to update the new elements in existing InDesign document in Exact place? Expecting favorable reply. Thanks in Advance.
Regards,
Subhai created below function but it did not update values properly
Add-PSSnapin Microsoft.SharePoint.PowerShell -EA SilentlyContinue
$webURL = "http://tspmcwfe:91" $listName = "Courts"
Get the SPWeb object and save it to a variable
$web = Get-SPWeb $webURL
$list = $web.Lists[$listName] $items = $list.items
$internal_counter = 1 $flagPID =1 $vPID=0
Go through all items
foreach($item in $items)
$vPID=0
$PID = $item["ParentID"] -not $null $Pno = $item["Processno"] -match $null $between = $item["ParentID"] -match $vPID
if($PID -eq $true -and $Pno -eq $true)
if($between -eq $true) {
$item["ProcessNo"] = $internal_counter $vPID=$item["ParentID"] } else { $item["ProcessNo"] = $internal_counter
$vPID=$item["ParentID"] }
$internal_counter++
$item.Update()
$web.Dispose()
adil -
How to update ADF VO object to refresh the data in ADF Pivot table
I need to know how to update the View object so that the date in pivot table is refreshed/updated/filtered.
here are the steps I performed to create ADF pivot table application using VO at design time.
1) created a collection in a Data Control (ViewObject in an ApplicationModule) that provides the values I wanted to use for row and column labels as well the cell values (Used the SQL query)
2) Dragged this collection to the page in which wanted to create the pivot table
3) In the pivot table data binding editor specified the characteristics of the rows (which attribute(s) should be displayed in header), the columns (likewise) and the cells.
Now, I have a requirement to update/filter the data in pivot table on click of check box and my question is how to I update the View object so that the date in pivot table is refreshed/updated/filtered.
I have got this solution from one of the contact in which a WHERE clause on an underlying VO is updated based upon input from a Slider control. In essence, the value of the control is sent to a backing bean, and then the backing bean uses this input to call the "filterVO" method on the corresponding AppModule:
but, I'm getting "operationBinding" object as NULL in following code. Please let me know what's wrong.
here is the code
Our slider component will look like
<af:selectBooleanCheckbox label="Unit" value="#{PivotTableBean.dataValue}"
autoSubmit="true" />
The setDataValue() method in the backing bean will get a handle to AM and will execute the "filterVO" method in that, which takes the NumberRange as the input parameter.
public void setDataValue(boolean value) {
DataValue = value;
BindingContainer bindings = getBindings();
OperationBinding operationBinding = (OperationBinding)bindings.getOperationBinding("filterVO");
Object result = operationBinding.execute();
The filterVO method in the AMImpl.java will get the true or false and set the where Clause for the VO query to show values.
public void filterVO(boolean value) {
if (value != null) {
ViewObjectImpl ibVO = getVO1();
ibVO.setWhereClause("PRODUCT_TOTAL_REVENUE(+) where rownum < 10");
ibVO.executeQuery();
}Did you define a filterVO action in your pagedef.xml file?
You might want to read on how to access service method from a JSF Web Application in the ADF Developer Guide for 10.1.3 chapter 8.5 -
How to update a parent child hierarchy in OBIEE
Hello All
Quick question about updating parent child hierarchy in OBIEE.
As we know, OBIEE 11G allows us to create value based hierarchy by generating table creation script and insert script. In the typical example of employee dimension, the parent child relationship table will be created with the following 4 attributes:
MEMBER_KEY, ANCESTOR_KEY, DISTANCE, IS_LEAF
So, what if later in the years some of the employees got promoted, retired or transferred? The value based hierarchy is going to change because person 1 reports to manager 2 now instead of 1. Obviously, the records in employee dimension is going to be updated. When that happens, how to update the parent child relation table with the same information? Do we have to rerun the insert script? How do we keep the history of employee changes and hierarchy changes?
Please advice
Thank youI guess it will update when the structure changes,Let see the response from other gurus.
Thanks, -
CFM /TR - how system calculate amount based on rate FX 60A
Hi all,
i need to know how system calculates amount based on rate entered upon creating a contract (t-code TX01).
steps input:-
1. header - comp code, product type, trans type
2. partner
3. purchase curr & amount (eg. IDR 8,345,545,500)
4. sale currency only (amount system will auto calculate) USD
5. rate field = 11.553
6. spot rate will auto pick up from rate
7. value date
8. contract date
upon TBB1 no error. posting log as follows:-
FX1000+ : 40 8,345,545,500 IDR bank GL acc
50 8,345,545,500 IDR clearing acc
FX2000- : 40 722370.42 USD clearing acc
50 722370.42 USD bank GL acc
but upon TPM18 error occurred as follows:
DBT_C009 - GL not maintain in acc symbol 5.3.4
DBT_E039 - no posting spec assigned to update type
DBT_B018 : 40 0 USD, 431,977,511 IDR gain/loss
50 0 USD, 431,977,511 IDR clearing acc
so, after maintained DBT_C009 as follows still error for DBT_E039:
40 0 USD, 38 IDR clearing acc
50 0 USD, 38 IDR P&L gl acc
what i don't understand is how system calculate and get DBT_C009 & DBTE039.
what is the function of TPM18?
thanks.Hello Prarnod,
I have done the first node only for actuals that come from the integration to the internal order.
I have tried setting up 2 and 3 even though the 3rd one does not make any sense to me
Thanks,
Paul -
ADF BC: Creating updatable VO based upon DB View with "instead of" trigger
Hello all,
I have got an interesting issue. I have an Oracle DB view that is used to hide some complexity in the underlying DB design (it does some unions). This view is updatable because we have created an "instead of" update trigger to update the correct table when a row is updated. This is working fine in SQL.
Next, we have created an ADF Entity object based upon the view, specifying an appropriate PK for the DB View. Then, we have created an updatable VO based upon the EO. All well and good so far. The issue we have is in trying to commit changes to the DB - because the ADF BC framework is trying to lock the row to update (using SELECT ... FOR UPDATE), it's not working because of ORA-02014 - cannot select FOR UPDATE from view with DISTINCT, GROUP BY, etc.
This leads me to thinking about overridding doSelect() on the EO as hinted here http://radio.weblogs.com/0118231/stories/2005/07/28/differenceBetweenViewObjectSelectAndEntityDoselectMethod.html
As a temporary test, we have over-ridden the EO's doSelect to call super.doSelect(false) and it does work, although we will have lost update issues as detailed in Steve's article.
My questions:
1). Is overriding doSelect() the correct thing here? Perhaps there is a better way of handling this problem? I do have a base EO class from which all of the EO's extend, so adding this behavior should be straightforward.
2). Does anyone have example doSelect implementation? I am thinking of overriding doSelect for my EO and calling super.doSelect (lock=false), but then I need to deal with some possible exceptions, no?
Kind regards,
JohnHi John,
I have exactly the same issue as you experienced back in January. I have a complex data modelling requirement which requires the need to pivot rows into columns using ROW_NUMBER() and PARTITION clauses. To hide the complexity from the middle tier, I have created a database view and appropriate INSTEAD OF triggers and mapped my EO to the view. I have overriden the lock() method on the EO implementation class (to avoid ORA-02014) and would like to try the same solution you used with the pl/sql call to lock the record.
My question is, how did you manage the release of the lock if the transaction was not rolled back or committed by your application i.e. if the user closed the browser for instance.
In my naivity, I would like to think that the BC4J framework would release any locks for the database session when it found the servlet session to be terminated however my concern is that the lock would persist and cause complications.
Any assistance greatly appreciated (if you would be willing to supply your lock() method and pl/sql procedure logic I would be even more grateful!).
Many thanks,
Dave
London -
How to update my ibook G4 with out itunes
how to update my ibook G4 with out itunes
Your question begs more questions before an answer...
What are you trying to upgrade, and why would you try to use iTunes
in a vintage G4 computer that cannot run an OS X later than 10.5.8
at best? (and only if it has a processor at least 867MHz or better)
With at least a 1.0GHz iBook G4 you could run Leopard 10.5.8, and
the system requires a retail DVD to install the 10.5, then go online
after installation, to get the Combo 10.5.8 update, by use of Software
Update within that first earlier system...
If the computer does not have at least the minimum processor, it would
not be able to see Leopard as a system, so Tiger 10.4.11 is the last...
http://www.apple.com/support/leopard/
iTunes does not upgrade or update much of anything in an obsolete &/
or vintage Mac OS X before the Intel-Mac era, and prior to OS X 10.6.8.
If your computer does not have an iTunes version at all, you can go to
Apple support downloads and look at older iTunes, and older safari,
and some other bits that are limited to their respective vintage OS X.
Usually the upgrade path utilizes DVD media or CD media, for software
& depending on what kind of software, then later get update-downloads.
To see if there may be anything not already installed in the system or
applications that could exist in the Apple support download servers,
you could see if the System's own Software Update, located in Apple
Menu in upper left side of the menu bar in Finder, can locate some.
If you perform a new install and did not save all the bits as downloaded
from when they were more current, some updates to original media that
formerly were online and available as download (step updates, not full
upgrades) you may eventually be unable to upgrade then update an older
OS X system; the remainder of the later or last fixes were in the update.
So, if you have an old G4 PowerPC Mac computer running, say Tiger 10.4.3
and thought to use some software intended to run in Tiger 10.4.11, then
you'd have to see if Software Update could find the 10.4.11 Combo update.
After updating the main system, other applications may also see a need to
be updated, if they were not already as far as they could go, in their vintage.
iPhoto, and other applications, such as they were, had updates to their main
application. So with iTunes, the last version that can work in a PPC G4/G5
non-intel would be in the last supported OS X, Leopard 10.5.8, and that
version number is iTunes 10.6.3; so you can't visit an App Store or Mac App
Store nor can you run Snow Leopard on a PowerPC architecture Mac.
With the intel-based Mac, and Snow Leopard, you can access the online
Stores to include recent Mac Apps, App Store, iTunes Store, etc. A light
version of early iTunes (see iTunes Player) can be seen, and their Radio
still plays free music channels. I have several older pre-Intel Macs...
The matter involves the vintage of the device, the system, and limits of the
old vintage/obsoleted configurations where both are interdependent.
Not sure if this helps, but more of a history lesson may be read if you look
into everymac.com and compare models, build years, and other specs...
If you need some feature or function not supported by vintage hardware or
vintage software, or a newer web browser, you have to look further. A fair
browser can be found in TenFourFox. I use it daily in a PPC G4 MINI 1.5GHz.
with Leopard 10.5.8. Plus others. To go further, look into an Intel-based Mac
such as MacBook2.1 & then buy the Snow Leopard retail DVD for about $20.
Hopefully this helps somewhat...
Good luck & happy computing! -
How to update Tr code FB02 and update the field reference key1 (bseg-xref
Can any body
help me how to update Tr code fb02
and update the field reference key1 (bseg-xref1) with the interest amount
calculated.
Below i have written My program flow logic
The program should read the open items i.e debit items in the customer account,
Based on the invoice date and customer payment terms calculate the due date and then the interest should be calculated on that item based on the due date.
Use the transaction fb02 and update the field reference key 1 (BSEG-xref1)
with the interest amount calculated
Only consider customers whose interest indicator knb1-vzskz = 'vk'.
Interest is to be calculated for every 30 days
at the rate of 1% .please see example below.
Document date is 01.01.2007
for amount 1000SGD payment term 7 days
It becomes due on 08.01.2007
until 06.02.2007 you should not consider for calculation of interest
SGD on 7.02.2007 run you can consider this item for interest calculationHi Robert,
Thanks for answering.
I am looking at Ref 2 should flow automatically to clearing document from the accounitng document for billing.
Ex: Billing document is created and accounted. Ref 2 is AB
Now when receipt is accounted for this biling document this AB should flow automatically to Ref 2 field.
Thanks
NNS. -
How to update html file in clob column in oracle
hi,
please help me how to update html file in clob column in oracle
ThanksThis is your main query as i am able to understand and you want to update your html file into terms columns based on conditions :
SELECT b.terms As terms
FROM chklst_item_x_enrlmnt_type a, prvdr_enrlmnt_agreement b
WHERE a.enrlmnt_type_cid = 1
AND a.chklst_item_cid = b.chklst_item_cid
AND a.chklst_item_cid = 79
AND a.oprtnl_flag = 'A'
AND b.oprtnl_flag = 'A'
AND TRUNC (SYSDATE) BETWEEN b.from_date AND b.TO_DATE;So i suggest below one but you need to create a directory where you can store your html file and then you can update .. And remaining consult Experts suggestions too as your
question is improperly posted . . .
DECLARE
vclob CLOB;
v_bfile BFILE := BFILENAME ('YOUR_DIR', 'filename.html');
BEGIN
SELECT b.terms
INTO vclob
FROM chklst_item_x_enrlmnt_type a, prvdr_enrlmnt_agreement b
WHERE a.enrlmnt_type_cid = 1
AND a.chklst_item_cid = b.chklst_item_cid
AND a.chklst_item_cid = 79
AND a.oprtnl_flag = 'A'
AND b.oprtnl_flag = 'A'
AND TRUNC (SYSDATE) BETWEEN b.from_date AND b.TO_DATE
FOR UPDATE;
DBMS_LOB.fileopen (v_bfile);
DBMS_LOB.loadfromfile (vclob, v_bfile, DBMS_LOB.getlength (v_bfile));
DBMS_LOB.fileclose (v_bfile);
END;
/ Regards.. -
Update table based on collection
Hello friends,
I have two tables:
1- PHOTOS (img_id number (5,0),Product_id number (5,0), Content Blob ....)
2- PRODUCTS (Product_id number (5,0), product_type .... )
each product has 1 to 6 images.
I need to watermark the uploaded images in the memory then update the original images for the watermarked images.
I used this code, but the problem is how to update the images in the photos table based on the product_id ???
DECLARE
type source_col is table of blob index by pls_integer ;
V_source source_col;
cursor c1 is select CONTENT from photos where Product_id = :P22_Product_id;
counter number :=1;
added_image BLOB;
prop ordsys.ord_str_list;
logging VARCHAR2(2000);
begin
--- Here we choose a pattern for watermarking from a table called WATERMARK_PHOTOS
select img INTO added_image FROM WATERMARK_PHOTOS WHERE N = 1;
for rec in c1 loop
V_source(counter) := rec.CONTENT;
ORDSYS.ORDImage.process(V_source(counter), 'fixedScale=900 500');
ORDSYS.ORDImage.applyWatermark(V_source(counter), added_image, V_source(counter), logging, prop);
--- The problem in the following statement: How to update the images
UPDATE photos SET CONTENT = V_source(counter) where Product_id = :P22_Product_id;
Counter := counter + 1 ;
end loop;
COMMIT;
EXCEPTION
WHEN OTHERS THEN
RAISE;
END;Thanks Sybrand,
I am using Oracle 11g R2 Standard One edition.
the DDL of the photos table is
ID NUMBER 5 0
product_id NUMBER 5 0
FILENAME VARCHAR2 100
MIMTYPE VARCHAR2 250
FILESIZE VARCHAR2 20
CONTENT BLOB in my application I do not know the image id in advance, but i know the id of the product of which I want to edit the images. So:
in the following procedure :p22_product_id is the value of of the primary key of Products table.
I followed your tips, and it worked out. Can you please check and assure that it is OK :
DECLARE
type source_col is table of blob index by pls_integer ;
V_source source_col;
type id_col is table of number index by pls_integer ;
V_id id_col;
added_image BLOB;
prop ordsys.ord_str_list;
logging VARCHAR2(2000);
begin
select content bulk collect into V_source from photos where product_id = :p22_product_id order by id ;
select id bulk collect into V_id from photos where product_id = :p22_product_id order by id ;
SELECT img INTO added_image FROM timg WHERE N = 1;
for i in V_source.first .. V_source.last
loop
ORDSYS.ORDImage.process(V_source(i), 'fixedScale=900 500');
ORDSYS.ORDImage.applyWatermark(V_source(i), added_image, V_source(i), logging, prop);
UPDATE photos SET CONTENT = V_source(i) where id = V_id(i);
end loop;
COMMIT;
EXCEPTION
WHEN OTHERS THEN
RAISE;
END;Best Regards,
Fateh
Maybe you are looking for
-
Program does not wait for user input
Hi everyone, i am working on a program and there are 2 problems that i can't figure out. Since they are 2 different topics, I will do 2 posts. Just to give you some background on the program, it is a program that reads 3 txt files into 4 different ar
-
I need the apply to shutdown my iPad mini.so people can't get in but me only.ok
-
I have an S3 that was fine for almost one year, but now, not so much. The phone has always been kept in a "tough" case and does not have a scratch on it. The power button was the first issue (sometimes it works, sometimes it does not). WiFi connecti
-
hi I am not able to successfully start gui admin console on my MS IE browser 6.0.2. It gives me error that "Your browser does not have the required Java Plug-in. IDM requires Java Plug-in version 1.4.2 or higher. You can download the Plug-in from htt
-
Why does my 4s not autoconnect with bluetooth?
Since the latest patch my 4s will no longer auto connect to my car Bluetooth. Is there a setting I am missing to get this to work again?