Creating a jsff to use for each method

I use J Dev Studio Edition Version 11.1.1.4.0 on Win Server 08.

I'm trying to recreate the next page of the jsff which basically takes a URL of RSS feed and returns the title and the description of the items following the example of the following blog:

http://blogs.Oracle.com/Dana/entry/reusable_adf_library_rssfeedre

The two main classes (pasted below) are FeedReader.java and Feed.java data controls have been successfully created.

When I drop for each page I don't see an option to link to the ' links. Feed.rangeSet'. The blog does not explain in detail how the jsff page can be re-created, so I'll settle for the sample code.

How the following code is created and how the linking options are created? It is simply a case of drop for each operation on the page jsff or does more need ot do to create correct links?


rssFeedReader.jsff
-------------------------

<? XML version = "1.0" encoding = "windows-1252'?" " >
< jsp:root xmlns:jsp = "http://java.sun.com/JSP/Page" version = "2.1".
xmlns:af = "http://xmlns.oracle.com/adf/faces/rich" >
< af:panelGroupLayout layout = "vertical" >
< af:outputText value = "#{bindings.titleHead.inputValue} '"
inlineStyle = "color: Black;" make-weight: bold; "/ >
< af:outputText value = "#{bindings.titleDesc.inputValue} '"
inlineStyle = ' color: gray; "/ >
< af:spacer width = "10" height = "10" / >

< af:forEach var = "row" items = "#{bindings." Feed.rangeSet} ">"

< af:goLink text = "#{row.title} '"
destination = "#{row." Link}.
inlineStyle = "width: 100%;" make-weight: bold; color: ActiveCaption; "/ >
< af:outputText value = "#{row.description} '"
inlineStyle = "color: Black;" / >
< af:spacer width = "10" height = "5" / >

< / af:forEach >
< / af:panelGroupLayout >
< / jsp:root >

FeedReader.java
-----------------------

package model.oracle.sample;

import java.net.URL;
to import java.util.Iterator;

import com.sun.syndication.feed.synd.SyndEntry;
import com.sun.syndication.feed.synd.SyndFeed;
import com.sun.syndication.io.SyndFeedInput;
import com.sun.syndication.feed.synd.SyndContent;
import com.sun.syndication.io.XmlReader;
import java.util.ArrayList;
to import java.util.Collection;

public class {FeedReader

Collection < Feed > myFeedEntries = new ArrayList < Feed > ();

public FeedReader() {}
}

/**
@param arg
* @return
*/
public Collection < Feed > processFeed (String arg) {}

If (arg! = null) {}
try {}
URL feedUrl = new URL (arg);
last entry SyndFeedInput = new SyndFeedInput();
final SyndFeed feed = input.build (new XmlReader (feedUrl));

for (final iterator entryIter = feed.getEntries () .iterator ();)
entryIter.hasNext ();)
{
Entry SyndEntry = entryIter.next () (SyndEntry);
addEntry (feed.getTitle (), feed.getDescription (), entry);
}
}
catch (Exception ex) {}
ex.printStackTrace ();
System.out.println ("ERROR:" + ex.getMessage ());
}
}
Return myFeedEntries;
}

' public void addEntry (String titleHead, String titleDesc, entry SyndEntry) {}
Preparation of the variables used in the loops
String title = entry.getTitle ();
Link of chain = entry.getLink ();
SyndContent contentDesc = entry.getDescription ((SyndContent));
Dim description As String = contentDesc.getValue ();

myFeedEntries.add (new Feed (titleHead, titleDesc, title, link, description));
}

}


Feed.Java
---------------

package model.oracle.sample;

to import java.util.Collection;

public class {Feed
public Feed() {}
}

String titleHead;
String titleDesc;
String title;
Link to the chain;
Description of the chain;

public Feed (String titleHead, String titleDesc, String title, link in the chain, String description) {}
Super();
this.titleHead = titleHead;
this.titleDesc = titleDesc;
This.title = title;
This.Link = link;
This.Description = description;
}

{} public void setTitleHead (String titleHead)
this.titleHead = titleHead;
}

public String getTitleHead() {}
Return titleHead;
}

{} public void setTitleDesc (String titleDesc)
this.titleDesc = titleDesc;
}

public String getTitleDesc() {}
Return titleDesc;
}

{} public void setTitle (String title)
This.title = title;
}

public String getTitle() {}
return title;
}

{} public void setLink (chain link)
This.Link = link;
}

public String getLink() {}
return the link;
}

{} public void setDescription (description of the chain)
This.Description = description;
}

public String getDescription() {}
return description;
}
}

Excellent point Shay. So that the RSSFeedReader works as expected is really an example of creating a shared library and not an example of using the older for each method to iterate over the data. The recommended method is as Shay notes.

Tags: Java

Similar Questions

  • With the help of "For Each" method in a reusable library ADF application

    I am trying to build a reusable library RSS application from the following options (using JDev Studio Edition Version 11.1.1.4.0 on Windows 2008 Server):

    http://blogs.Oracle.com/Dana/entry/reusable_adf_library_rssfeedre

    I'm bascially creating the application from scratch, but I'm having problems trying to drag and drop data controls 'text' in the jsff page fragment. That say the instructions "For Each" iterator was used as the operation to navigate through these fields, but I do not see for each appearing as an option for operations anywhere in the data controls. The only options I see are CREATE, DELETE, EXECUTE, FIRST, LAST, NEXT, PREVIOUS, RemoveRowWithKey, SetRowWithKey, SetCurrentRowWithKey. After droppipng controls data and going to the 'links', I see options to use for each no more.

    Can someone please tell me how to add for each method according to the above instructions? Thank you!

    For each is a tag ADF Faces (af:forEach), is not a method on a data control (at least this is what I think he meant)

    John

  • using for each group to combine the 2 data lines

    My xml file has the following in it:

    -< AC_DEDUCTIONS >
    voluntary deductions < ELEMENT_CLASSIFICATION > < / ELEMENT_CLASSIFICATION >
    < ELEMENT_TYPE_ID > 3475 < / ELEMENT_TYPE_ID >
    < PRIMARY_BALANCE > 498500 < / PRIMARY_BALANCE >
    < PROCESSING_PRIORITY > 5750 < / PROCESSING_PRIORITY >
    < CURRENT_AMOUNT > 26.22 < / CURRENT_AMOUNT >
    < YTD_AMOUNT > 26.22 < / YTD_AMOUNT >
    < REPORTING_NAME > Opt life Emp < / REPORTING_NAME >
    < ATTRIBUTE_NAME / >
    < RATE_MUL / >
    < DISPLAY_NAME > Opt life Emp < / DISPLAY_NAME >
    < / AC_DEDUCTIONS >
    -< AC_DEDUCTIONS >
    voluntary deductions < ELEMENT_CLASSIFICATION > < / ELEMENT_CLASSIFICATION >
    < ELEMENT_TYPE_ID > 1181 < / ELEMENT_TYPE_ID >
    < PRIMARY_BALANCE > 3511 < / PRIMARY_BALANCE >
    < PROCESSING_PRIORITY > 5750 < / PROCESSING_PRIORITY >
    < CURRENT_AMOUNT > 0 < / CURRENT_AMOUNT >
    < YTD_AMOUNT > 474.95 < / YTD_AMOUNT >
    < REPORTING_NAME > Opt life Emp < / REPORTING_NAME >
    < ATTRIBUTE_NAME / >
    < RATE_MUL / >
    < DISPLAY_NAME > Opt life Emp < / DISPLAY_NAME >
    < / AC_DEDUCTIONS >

    Rather than having my exit needle 2 rows of data:

    current name amount CDA amount

    Opt life Emp 26.22 26.22
    Opt life Emp 0 474.95


    I'd like to see 1 row with the total amount:

    Opt life Emp 26.22 501.17


    How can I use for each group - in my rtf to achieve? Any help is greatly appreciated.

    Thank you.

    Susie

    I know what model you have copied :), I was there, when they created that

    It's yours:

    1 text form field-<><=19]?>
    2 text form field-
    3 text form field-
    4 text form field-
    5 text form field-

    change to:

    Text Form Field 1 -  
    Text Form Field 2 - 
    Text Form Field 3 - 
    Text Form Field 4 -  
    Text Form Field 5 - 
    
  • Newbie Question: Should I use a connection for each method?

    It's my first project using SQL and Java, I have actually some learning on this subject but fun, but I'm still a beginner, so bear with me. When I set up a connection to the base, he goes into a try block:

    private void connectToDB(Connection con, String username, String password){         try{             DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());             con = DriverManager.getConnection("jdbc:oracle:oci8:@localhost:1521:xe", username, password);             System.out.println("Successfully connected to database\nDatabase: xe\nOn host: localhost\nPort: 1521\nAs user: " + username);         }         catch(SQLException e){             System.out.println("Database connection error:\n" + e.getMessage());             System.exit(1);         }     }

    But it does mean that when I want to use the connection to another method (to query the database), it throws a NullPointerException (I think because there is no guarantee that jerk has been implemented?)

    private void getAllJobs(Connection c){         try{             Statement s = c.createStatement();             String selectAllJobs = "select * from jobs";             ResultSet row = s.executeQuery(selectAllJobs);             while(row.next()){                 String name = row.getString("NAME");                 int jobNo = row.getInt("JOBNO");                 String urgent = row.getString("URGENCY");                 Date date = row.getDate("JOBDATE");                 System.out.println(name + jobNo + urgent + date);             }         }         catch(SQLException e){             System.out.println("Could not execute statement in method getAllJobs");             System.out.println(e.getMessage());         }         catch(NullPointerException e){             System.out.println("Could not create statement, connection is null");             System.out.println(e.getMessage());         }     }

    On this basis, I get the result:

    "Successfully connected to the database
    Database: xe
    On the host: localhost
    Port: 1521
    User: human resources
    Could not create statement, the connection is null
    NULL.

    I should create a new connection in each method I use, so that the sql statement is in the try the connection block create? What is the best way to handle this? Something different wrong with the code ignore for now, I'm looking for this answer so that I can continue the work.

    Thank you
    eskimo9

    OK - seems kind of, I went on a tangent and my brain took a vacation.

    Java is pass by value. If your code:

    private Connection con1;
    
    connectToDB(con1, "hr", "hr");
    
    private void connectToDB(Connection con, String username, String password){
    

    past the 'value' "con1" contains (which has the null value) to the method "connectoToDB". The method can manipulate the object, if it is not null, but it cannot change the setting points to the object. Such an assignment within the method is only local.

    You have shown that on the inside of the 'con' method has a value after the connection is created, but the original variable "con1" does not because the method cannot change what it points to.

    Change the "connectToDB" method to return an instance of 'Connection' and store the value returned in con1. Then the call to "getAllJobs (con1)" does not work correctly because the instance variable has been initialized. I'm sorry that I you good-for-nothing.

    There is an explanation that is funny, but for education, at this link: http://www.javaranch.com/campfire/StoryPassBy.jsp

    See the part that says:
    >
    A CAT = new Cat();
    doStuff (A);

    void doStuff(Cat B) {}

    B = new Cat(); does NOT affect the reference
    }

    To do this simply 'points' B to control a different object. A is always happy.

  • Different results for PDF and RTF NumPages when using for-each@section

    Hello world!

    I need to print the current page number and the number of pages for each (say) order.
    I use the Page and NumPages fields as well as the for-each@section:order group.

    As a PDF, I get what I expect
    Page 1/2
    page 2/2
    Page 1/3
    page 2/3
    page 3/3

    But in the RTF header I
    Page 1/5
    page 2/5
    Page 1/5
    ...

    and in the body
    Page 1/1
    page 2/1
    Page 1/1
    ...

    I would like to have the page numbering in RTF as I in PDF format.
    I use Word 2010 and BEEP for Word version 10.1.3.4.2 model generator.
    This is the model and the XML: http://dl.dropbox.com/u/709106/page_test.zip.

    Thank you in advance.

    Sebastian

    Published by: user5692810 on 5 March 2012 06:05

    Hi Sebastian,.

    There is a simple ;) solution:

    1. in a form field 'end for-each@section' create a dummy fo block with function "generate - id ().

    like this (but in a form field):

     
    

    2. on the page header and page footer uses the id of the current node generated by XSLT

    for example like this:

    Page:  NumPages: 
    

    3. on the body of the page

    Page:  NumPages: 
    

    the model and the XML after above changes is here:
    https://docs.Google.com/open?ID=0B_cJOGrr614bc1VES0I0dlNSNGFVWFFseHVQM3hYdw

    Andrzej

  • Page number will not be reset using for-each@section:

    Greetings,
    I have a page that I try to print from my Bill of lading. I use <? for-each@section:Shipment_Header_S10? > to generate my repeating group and reset the page numbers for each bill of lading (a new is generated for each shipment number). I have 453 pages for this example and the numbering of pages does not reset. In addition, on each page which follows the first, I get this black bar through the space above and a bit more at the top of each page.

    Thanks for the help.

    DVF

    sent the updated model check and let me know. You must keep the each@section code and end for each code outside the table. and if you used @section that you must not use split by a page break.

  • Determine the space used for each row in the table

    I am trying to determine how much disk space each row in the table will take place (data and indexes). I use sys_guids for my (PK_ID) primary key and foreign key columns (FK_xx), so who are on varchar2 (32).

    What is the best way to determine this?


    CREATE TABLE STU_ENROLLMENT
    (PK_ID VARCHAR2 (32), sys_guid() by default)
    CONSTRAINT pk_stu_enrollment
    KEY ELEMENTARY SCHOOL
    With the HELP of INDEX TABLESPACE sis_express_index
    STORAGE (4096 INITIAL
    NEXT 4096
    PCTINCREASE 0),.
    FK_STU_SCHOOL VARCHAR2 (32)
    FK_SCHOOL_CALENDAR VARCHAR2 (32)
    FK_PCC_CODE VARCHAR2 (32),
    FK_GRADE_LEVEL VARCHAR2 (32),
    FK_VOTECH VARCHAR2 (32),
    FK_SPECIAL_ED VARCHAR2 (32),
    FK_TUITION_CODE VARCHAR2 (32),
    FK_HOME_INSTRUCTION VARCHAR2 (32),
    FK_DISTRICT VARCHAR2 (32),
    FK_PROGRAM_CODE VARCHAR2 (32),
    FK_SERVING_SCHL VARCHAR2 (32),
    FK_RESPONSIBLE_SCHL VARCHAR2 (32),
    FK_ADA_CODE VARCHAR2 (32),
    FK_ENROLL_TYPE VARCHAR2 (32),
    FK_PCC_REASON VARCHAR2 (32),
    STANDARD_DAY NUMBER (3).
    PCC_NOTES VARCHAR2 (1000).
    USER_FLD1 VARCHAR2 (100),
    USER_FLD2 VARCHAR2 (100),
    USER_FLD3 VARCHAR2 (100),
    USER_FLD4 VARCHAR2 (100),
    USER_FLD5 VARCHAR2 (100),
    PCC_TRANSACTION_ID VARCHAR2 (32),
    TRANSACTION_NUMBER DEFAULT NUMBER '1',
    TRANSACTION_TYPE VARCHAR2 (1) DEFAULT 'A,'
    DATE OF LAST_UPDATE_DATE,
    LAST_UPDATE_USER VARCHAR2 (100))
    TABLESPACE sis_express_base
    STORAGE (5120 INITIAL
    NEXT 5120
    PCTINCREASE 0);

    CREATE INDEX STU_ENROLLMENT_I ON STU_ENROLLMENT (FK_STU_SCHOOL, FK_SCHOOL_CALENDAR, FK_PCC_CODE) SINGLE
    TABLESPACE sis_express_index
    STORAGE (4096 INITIAL
    NEXT 4096
    PCTINCREASE 0);

    CREATE INDEX STU_ENROLLMENT_I2 ON STU_ENROLLMENT (FK_SCHOOL_CALENDAR)
    TABLESPACE sis_express_index
    STORAGE (4096 INITIAL
    NEXT 4096
    PCTINCREASE 0);

    CREATE INDEX STU_ENROLLMENT_I3 ON STU_ENROLLMENT (FK_PCC_CODE)
    TABLESPACE sis_express_index
    STORAGE (4096 INITIAL
    NEXT 4096
    PCTINCREASE 0);

    CREATE INDEX STU_ENROLLMENT_I4 ON STU_ENROLLMENT (FK_GRADE_LEVEL)
    TABLESPACE sis_express_index
    STORAGE (4096 INITIAL
    NEXT 4096
    PCTINCREASE 0);

    CREATE INDEX STU_ENROLLMENT_I5 ON STU_ENROLLMENT (FK_VOTECH)
    TABLESPACE sis_express_index
    STORAGE (4096 INITIAL
    NEXT 4096
    PCTINCREASE 0);

    CREATE INDEX STU_ENROLLMENT_I6 ON STU_ENROLLMENT (FK_SPECIAL_ED)
    TABLESPACE sis_express_index
    STORAGE (4096 INITIAL
    NEXT 4096
    PCTINCREASE 0);

    CREATE INDEX STU_ENROLLMENT_I7 ON STU_ENROLLMENT (FK_TUITION_CODE)
    TABLESPACE sis_express_index
    STORAGE (4096 INITIAL
    NEXT 4096
    PCTINCREASE 0);

    CREATE INDEX STU_ENROLLMENT_I8 ON STU_ENROLLMENT (FK_HOME_INSTRUCTION)
    TABLESPACE sis_express_index
    STORAGE (4096 INITIAL
    NEXT 4096
    PCTINCREASE 0);

    CREATE INDEX STU_ENROLLMENT_I9 ON STU_ENROLLMENT (FK_DISTRICT)
    TABLESPACE sis_express_index
    STORAGE (4096 INITIAL
    NEXT 4096
    PCTINCREASE 0);

    CREATE INDEX STU_ENROLLMENT_I10 ON STU_ENROLLMENT (FK_PROGRAM_CODE)
    TABLESPACE sis_express_index
    STORAGE (4096 INITIAL
    NEXT 4096
    PCTINCREASE 0);

    CREATE INDEX STU_ENROLLMENT_I11 ON STU_ENROLLMENT (FK_SERVING_SCHL)
    TABLESPACE sis_express_index
    STORAGE (4096 INITIAL
    NEXT 4096
    PCTINCREASE 0);

    CREATE INDEX STU_ENROLLMENT_I12 ON STU_ENROLLMENT (FK_RESPONSIBLE_SCHL)
    TABLESPACE sis_express_index
    STORAGE (4096 INITIAL
    NEXT 4096
    PCTINCREASE 0);

    CREATE INDEX STU_ENROLLMENT_I13 ON STU_ENROLLMENT (FK_ADA_CODE)
    TABLESPACE sis_express_index
    STORAGE (4096 INITIAL
    NEXT 4096
    PCTINCREASE 0);

    CREATE INDEX STU_ENROLLMENT_I14 ON STU_ENROLLMENT (FK_ENROLL_TYPE)
    TABLESPACE sis_express_index
    STORAGE (4096 INITIAL
    NEXT 4096
    PCTINCREASE 0);

    CREATE INDEX STU_ENROLLMENT_I15 ON STU_ENROLLMENT (FK_PCC_REASON)
    TABLESPACE sis_express_index
    STORAGE (4096 INITIAL
    NEXT 4096
    PCTINCREASE 0);

    CREATE INDEX STU_ENROLLMENT_I16 ON STU_ENROLLMENT (PCC_TRANSACTION_ID)
    TABLESPACE sis_express_index
    STORAGE (4096 INITIAL
    NEXT 4096
    PCTINCREASE 0);

    CREATE INDEX STU_ENROLLMENT_I17 ON STU_ENROLLMENT (FK_STU_SCHOOL, PCC_TRANSACTION_ID, PK_ID)
    TABLESPACE sis_express_index
    STORAGE (4096 INITIAL
    NEXT 4096
    PCTINCREASE 0);

    Hello

    The maximum size of the row in the table

    Select table_name, ROUND (sum (data_length) / 1024,2) SIZE_IN_KB
    of user_tab_cols
    where table_name = 'STU_ENROLLMENT '.
    TABLE_NAME GROUP;

    +

    Select index_name table_name, ROUND (sum (CHAR_LENGTH) / 1024,2) SIZE_IN_KB
    of USER_IND_COLUMNS
    where table_name = 'STU_ENROLLMENT '.
    GROUP BY index_name table_name;

    See the size of the table - method with the average row size

    Concerning
    Hitgon

    Published by: hitgon on May 2, 2012 18:19

    Published by: hitgon on May 2, 2012 18:39

  • ACS5: method of different external authentication for each user account

    ACS4 I could specify a different external authentication for each user account. I'm trying to find a way to do the same thing to the ACS 5? When I go under identity in Access Services, I see the system requirement: username I can use to identify the user who logs in, so that I can directly to a source of different identity, but the separate political configuration for each user is very inconvinient and would require hundreds of policies, in our case.

    I was hoping that we can create a kind of attribute for each user. SysAdmin > Configuration > dictionaries > identity > internal users. I created the new attribute called 'Storage of identity' with the enumeration type, which has 4 values: internal, Entrust Token, Token RSA, counts AD and checked the box "add a political Condition." I can then go under each user and select the storage of identity for each user. But now I can't find where I can use under part of identity of an access policy. I can use it under "Group mapping" but that maps to one group and not to an identity store. I need to use it under the identity somehow, but I can't find how.

    Hello Roman,

    The attribute you created will be available when the user is authenticated through internel ID store, so that you cannot use to select the store ID.

    The best way to do this would be to use other attributes to differentiate the identity store.
    Allows you to create a sequence of identity store so that for each user, ACS will try to authenticate by using multiple identity store.

    For example, you can use these:

    Network status

    > End Station filter

    > Device filter

    > Devide filter Ports

    Here you can import filters from a file and it would therefore be more scalable.

    Hope this helps.

  • A pdf with two images page. How can I create a separate pdf for each image?

    I was sent a scan of two images using Adobe Acrobat DC A4.  The images are invoices.  I want to create two separate pdfs, one for each Bill, so that I can drop off each invoice with the operation seen in my accounting software.  If possible, please let me know how to go on this issue. Thank you.

    If the two images are on the same page: duplicate page (drag / move in the Pages panel while holding the Ctrl key).

    Then crops the first page to only show that the first Bill and the second page to show only the other. Then extract each page as a new file.

    If the image is on a separate page: extract each page as a new file (via Tools - Pages - extract Pages).

  • Use: OLD and: NEWS in the triggers without oracle for each line

    I use Oracle 10 g.
    I want to insert a row in the table of the newspaper by each Witch of the query is executed on a table.
    And I want to insert on the line at a table of detailed log for each row changed in a query.
    I want to add modification date and time for each line in the two tables of the newspaper and I want it to be similar.

    So, I'm curious about using old and new variables without using for each row on the creation of the trigger. Is this possible?
    Or maybe I can score some variables static for this query (so sysdate will be the same and some of the Pavilion for the insertion of small newspapers)?
    Or maybe is there other ways to do it?

    LeopoldStoch wrote:
    But if I use sysdate in each trigger and it will update something as my sysdate 100000 lines will be different for different lines but I want it to be time and on the same date.

    Hi Leopold,

    Then today is your lucky day :-): sysdate is the same for all the DML. Even if it takes more than one second:

    SQL> create table rob
      2  ( id int
      3  , creation_date date
      4  )
      5  /
    
    Table created.
    
    SQL> create trigger t
      2  before insert on rob
      3  for each row
      4  begin
      5          :new.creation_date := sysdate;
      6  end;
      7  /
    
    Trigger created.
    
    SQL> set timing on
    SQL> insert into rob (id)
      2   select level
      3     from dual
      4  connect by level <= 10000
      5  /
    
    10000 rows created.
    
    Elapsed: 00:00:00.37
    SQL> set timing off
    SQL> select min(creation_date)
      2       , max(creation_date)
      3    from rob
      4  /
    
    MIN(CREATION_DATE)  MAX(CREATION_DATE)
    ------------------- -------------------
    07-05-2010 09:29:24 07-05-2010 09:29:24
    
    1 row selected.
    

    You can read more here: http://rwijk.blogspot.com/2008/07/sysdate.html

    Kind regards
    Rob.

  • New report of UUT for each outlet of test

    Hello!

    I want to create a news report USE for every test that I test.

    I use TS 4.2 and 30 tests in Batch Mode USE each one in the other socket.

    I know that there is an option in the report Options for New USE report for each shot, but he has blurred!

    Maybe there's a var, checking this option?

    Thank U, Kobi

    Kobi,

    Please remove the check mark in the box 'Store USE report a report Batch file'. Then you should be able to check the other boxes that you are interested in...

    hope this helps,

    Norbert

  • The FRA diskgroup separate for each prod database?

    Hello

    Env: Oracle 11 g 2 EE (11.2.0.3), 6.2 RHEL 64 bit

    Storage: file system

    Databses: ten databases on the PROD and 20 on the DEV

    I have two existing servers with above configuration - a DEV and a single PROD. I have to move all of the databases from two servers to new servers.

    I have two options. Configure the servers again exactly the same way (same software oracle, same mounts-points, directory structures, etc.) and move/copy the databases above. The other option is to use ASM for storage instead of file system.

    Customer asks a diskgroup FRA separate for each DBA database. His reason is that if the FRA gets filled by archivelogs because of some process in the databases, all databases stops responding.

    • It's a legitimate concern and what is the best way to deal with this kind of situation?
    • Should I create a diskgroup FRA separate for each database?

    The archivelogs are backed up every 20 minutes for each PROD database.

    Please advise!

    Best regards

    You can limit FRA for each database with the parameter DB_RECOVERY_FILE_DEST_SIZE.

  • How can I me thunderbird to show me which passwords he uses for my email accounts?

    I use Ubuntu 14.04 and Thunderbird, and I need to find a way to get Thunderbird to show me what password he uses for each of my email accounts - and how I can change these passwords without deleting the old account and setting up new ones.

    I have similar responses to similar problems, but these require I'll under "Tools" - "options" - and more far away, but I can't find any menu 'Options' anywhere in my version of Thunderbird. However, this shows me that this information must be able to access it somehow, also in my version.

    Any help would be appreciated.

    Yes available menus and commands in the Windows of Thunderbird version is different from the version of Linux, I don't know why.
    I've got Xubuntu 14.04 so I guess that my version is the same as yours. See the Edit > preferences > Security > passwords > passwords saved.

  • For each function with a value of Concat

    Hello:

    The scenario is, need us two elements unbounded concat and map it to an element target using for each feature.

    For example

    < bookStore >
    < book >
    Name1 < name > < / name >
    author1 < author > < / author >
    < ID > 1 < / BookId >
    < quantity > 2 < / quantity >
    < price > < price / >
    < status > < / status >
    < book >
    < book >
    name2 < name > < / name >
    Author2 < author > < / author >
    < ID > 2 < / BookId >
    < quantity > 2 < / quantity >
    < price > < price / >
    < status > < / status >
    < book >
    < / book >

    I need concat 'Name' and 'Author', which is under the element without terminals "Bookstore" and map it to a single element called "Sample" on the target side.

    I am not able to use the XSLT "for-each" function to get the multiple value of the name and author, because the concat function is used. Y at - it another way to concat and get the different values of the element 'Name' and 'author '?

    Concerning
    RK

    Maybe that's what you want...

    
    
    
    
    
    

    See you soon,.
    Vlad

  • Call a procedure only once for the last place of the trigger FOR EACH ROW

    Hello world

    I wonder if someone could help me in the execution of the trigger. My use case what follows:

    -a trigger after each INSERT or UPDATE operation;
    -use FOR EACH ROW algorithm for relaxation;
    -collect certain values inserted/updated fields as: new.uuid and store in a set defined on the layer of the package;
    -only for the last inserted/updated line call a procedure from the global collection with the values collected as a parameter;

    Is it possible to be implemented for the type of the LINE FOR EACH of the trigger? Fact one: new identifier or trigger itself have special attributes such as COUNTY, SIZE to set a size of data inserted or changed to conditional logic? Is there another solution to possible workaround for thoughtful use cases.

    Thank you

    Andrey

    Hi, Andrey,

    I suggest you use 2 triggers:
    (1) A FOR EACH ROW trigger, as you described, to collect relevant data and store it in a temporary table overall or variable poackage. Whenever the trigger is activated, it will overwrite all the data from the previous row.
    (2) AFTER ( NOT FOR EACH ROW) trigger that calls the procedure by using the saved data.

Maybe you are looking for

  • Upgrade of RAM 550 d-105 NB

    Hello I have a Toshiba NB 550 d-105 netbook, and I want to upgrade the ram in it. I read that the restriction of 2 GB ram is only because of Windows Starter. Processor AMD C-50 supports 4 GB of RAM? If so, does that mean I close no start and change o

  • Windows Vista Help & support file error msg: "not found help topic this content under construction.

    Windows Vista when I open the help file & support I get this error msg in the body of the glass:... "Help topic not found. This content under construction. We were able to retrieve the requested topic. "Please tell me how to get help & content & data

  • media sharing problem - with 2 routers and vista?

    the installer- -cable modem connected to router wireless #1; -PC connected #1 LAN to the internet via the wireless #1 router; -PC #2 connected wireless to the internet via the wireless #1 router; (installation up to this standard wireless) now. -Wire

  • Device not recognized in Alienware graphics (GTX 980 Ti, AW 15 R2 2016) amplifier

    Hello world. I have a problem with my Alienware graphics amplifier and Gigabyte GTX 980 Ti Xtreme Gaming gets, connected to my Alienware 15 R2 (Windows 10). I will describe the situation, and then include the details of the product later. Please note

  • Using skins rather than using the new components

    Hello I have briefly spoken on BlackBerry Playbook workshop at LeWeb 10 with the presenter and thought I'd share it here as well. Most of the QNX components already exist in the 4.5 Flex / AIR SDK 2.5 framework (button, checkbox, list, StageWebView,.