Problem with quotes

Hie,
I want to use the quotes characters &laquo and &raquo
(for example : &laquo test &raquo) in my HTML page built
with DW8. When I display the page using FIREFOX, the result is OK.
But when I use INTERNET EXPLORER6 then the quotes appear the wrong
way (their position is too high).
Can you give me a solution ?
Thanks,

Show us your page, please.
This post would be better on the DW general forum, for what
that's worth....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"sylpogi" <[email protected]> wrote in
message
news:eja69q$f49$[email protected]..
> Hie,
> I want to use the quotes characters &laquo and
&raquo (for example :
> &laquo
> test &raquo) in my HTML page built with DW8. When I
display the page using
> FIREFOX, the result is OK. But when I use INTERNET
EXPLORER6 then the
> quotes
> appear the wrong way (their position is too high).
> Can you give me a solution ?
> Thanks,
>

Similar Messages

  • Problems with quotes when using processXSL...

    Hi!
    I need some help solving a problem with getting processXSL to output the quote (") character in a text file.
    (Oracle Release 9.2.0.6.0)
    CREATE TABLE tmp_lob(tmp_clob clob);
    SET SCAN OFF
    DECLARE
    l_xml_doc dbms_xmldom.DOMDocument;
              l_xsl_doc dbms_xmldom.DOMDocument;
              l_file CLOB;
              l_xsl_pro dbms_xslprocessor.Processor;
              l_xsl dbms_xslprocessor.Stylesheet;
    BEGIN
    l_xsl_doc := dbms_xmldom.newDOMDocument(xmltype.createXML(
    '<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="text" encoding="UTF-8"/>
    <xsl:variable name="qt" select="'"'"/>
    <xsl:template match="//WORD">
    <xsl:value-of select="concat($qt,.,$qt)"/>
    </xsl:template>
    </xsl:stylesheet>')
    l_xml_doc := dbms_xmldom.newDOMDocument(xmltype.createXML(
    '<DOCUMENT>
    <WORD>Hello World</WORD>
    </DOCUMENT>')
    l_xsl := dbms_xslprocessor.newStylesheet(l_xsl_doc, null);
    l_xsl_pro := dbms_xslprocessor.newProcessor;
    dbms_xslprocessor.processXSL(l_xsl_pro, l_xsl, l_xml_doc, l_file);
    dbms_xslprocessor.freeProcessor(l_xsl_pro);
    INSERT INTO tmp_lob(tmp_clob)
    VALUES (l_file);
    COMMIT;
    END;
    SELECT * FROM tmp_lob;
    TMP_CLOB
    Hello World
    Desired output is "Hello World" (with the quotes)!
    FYI...
    SELECT *
    FROM nls_database_parameters
    WHERE parameter LIKE '%CHARACTERSET%'
    PARAMETER VALUE
    NLS_CHARACTERSET WE8ISO8859P1
    NLS_NCHAR_CHARACTERSET AL16UTF16
    Can anyone help?
    Thanks,
    Nick
    Message was edited by:
    nbeer

    Does this help...
    SQL> set define off
    SQL> select xmltransform(xmltype('<Foo><WORD>Hello World</WORD></Foo>'),xmltype('<xsl:stylesheet ver
    sion="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    2 <xsl:output method="text" encoding="UTF-8"/>
    3 <xsl:template match="//WORD">
    4 <xsl:text>&quot;</xsl:text><xsl:value-of select="."/><xsl:text>&quot;</xsl:text>
    5 </xsl:template>
    6 </xsl:stylesheet>')) from dual
    7 /
    XMLTRANSFORM(XMLTYPE('<FOO><WORD>HELLOWORLD</WORD></FOO>'),XMLTYPE('<XSL:STYLESH
    &quot;Hello World&quot;
    SQL> set define off
    SQL> select extractValue(xmltransform(xmltype('<Foo><WORD>Hello World</WORD></Foo>'),xmltype('<xsl:s
    tylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    2 <xsl:output method="text" encoding="UTF-8"/>
    3 <xsl:template match="//WORD">
    4 <xsl:text>&quot;</xsl:text><xsl:value-of select="."/><xsl:text>&quot;</xsl:text>
    5 </xsl:template>
    6 </xsl:stylesheet>')),'/text()') from dual
    7 /
    EXTRACTVALUE(XMLTRANSFORM(XMLTYPE('<FOO><WORD>HELLOWORLD</WORD></FOO>'),XMLTYPE(
    "Hello World"
    SQL>

  • Problems with Quote Printing template

    Hi,
    I have been trying to assign a custom PDF template to the Print Quote functionality within sales. However, when I try to create a template using Code: ASOPRINT, Application: Order capture, and Data Definition: Quote Printing I get the following message:
    "You entered a duplicate template entry. Please change the Name, Code and/or Application and reapply."
    I therefore tried to remove the original seeded xsl template by entering an 'end date' of yesterday, however this message still appeared but now no template is assigned to the print quote function within HTML quoting. Is there a way to get this back again or preferably add a new one - It appears the system is still recognising the ASOPRINT code from the seeded template despite its removal.
    Any help would be greatly appreciated
    Anjohn

    Hi,
    I could create another template to solve my problem. But according to the XMLP documentation, I studied that both the application code of Data definition and template should match. In my case my data definition and template has the same code ASOPRT. And I created another template with the code ASOPRINT. Both my templates work. Now, I am kind of confused. Can anyone help me in undersatnding this.
    Thank you,
    Sowjanya

  • Xml/html to jsp - problem with quotes in attribute values

    I am trying to convert a static html document into a jsp using an xsl stylesheet, but run into problems trying to use the jsp expression syntax inside of attribute values.
    Here is a sample of the source file:
    <input type="text" name="firstName" value=""/>
    Here is what I want the resulting jsp file to look like:
    <input type="text" name="firstName" value="<jsp:expression>customer.getField("firstName") </jsp:expression>">
    Here is what part of my stylesheet looks like:
    <xsl:template match="input">
    <xsl:copy>
    <xsl:copy-of select="@type"/>
    <xsl:copy-of select="@name"/>
    <xsl:attribute name="value">
    <xsl:text disable-output-escaping="yes"><jsp:expression></xsl:text>
    <xsl:text disable-output-escaping="yes">customer.getField(</xsl:text>
    <xsl:text disable-output-escaping="yes">"</xsl:text>
    <xsl:value-of select="@name"/> ")
    <xsl:text disable-output-escaping="yes">")</xsl:text>
    <xsl:text disable-output-escaping="yes"></jsp:expression></xsl:text>
    </xsl:attribute>
    </xsl:copy>
    </xsl:template>
    The problem i have is with the <%= customer.getField("firstName") %>. I have tried several different ways of inserting the double quotes around firstName, but no matter what I try, it always uses the entity reference instead of actually putting the " character. The jsp container will not accept the entity.
    I am assuming that the problem is with trying to place double quotes inside of an attribute value. Any ideas how to get around this?
    Thanks
    David

    Which App Server are you using?
    You should just be able to escape the double quotes.
    If that doesn't work, it's a bug in the app-server.
    Alternatively, you can use single quotes around the
    attribute value.
    Hope that helps,
    AlexSorry, I'm an idiot. By escaping you meant the unicode character escape "\u0022". I had not tried that. However, once i realized what you meant, I tried it, and it worked. Thanks for your help.
    David

  • Again same problem with quotes, but cant find a proper sol

    I've gone thru so many posts, but cud'nt really find a solution. someone please help me here. I have a single insert function, which does all inserts for many tables, so cant use ppdstmt.setString(1, "value").
    I am trying to insert some data into SQL server database(thru jdbc). The normal data works just fine, but if the user inserts some data which have quotation marks, then its throwing an error that is invalid character.
    ex: received ->enters correctly into db
    but
    rec'd -> unable to
    Insert into table(name) values('Oreilly'); //works fine
    Insert into table(name) values('O'reilly'); //throws an error, sql exception
    because the sql server is unable to find the matching quote. I would like to replace it with a ` or double quotes, but I am unable to replace it. I am not using a string to insert a value, I am using an Object. so I am unable to use any preparedStatement also(like ppdstmt.setString(1,"value"). Also I cant use replaceAll function, because, I am using jdk1.3. Is there any other way, I can replace ' with '' or `. The following is my code for inserting data.
    private void insert(String pQualifierName, String pTableName, Map pValueMap)
    m1Buffer.append("INSERT INTO ").append(QualifyTableName(pQualifierName, pTableName)).append(" (");
    m2Buffer.append(" VALUES (");
    // go over all values
    boolean isNotFirst = false;
    for (Iterator i = pValueMap.keySet().iterator(); i.hasNext();)
    if (isNotFirst)
    m1Buffer.append(", ");
    m2Buffer.append(", ");
    isNotFirst = true;
    String aColumnName = (String) i.next();
    // add the column name to the first part
    m1Buffer.append(aColumnName);
    // add a "?" to the second part, as well as adding the value to the parameter list
    if(pValueMap.get(aColumnName)!= null) {
    //aColumnName=aColumnName.replace( '\'', '`');
    m2Buffer.append("'");
    m2Buffer.append(pValueMap.get(aColumnName));
    m2Buffer.append("'");
    } else {
    m2Buffer.append(pValueMap.get(aColumnName)); //appends the value we entered
    m1Buffer.append(")");
    m2Buffer.append(")");
    protected void insert()
    verifyUnbacked();
    try
    StatementBuilder aBuilder = StatementBuilder.insertStatement(accessQualifierName(), accessTableName(), mUnbackedMap);
    Connection aConnection = ConnectionPool.getConnection();
    try
    PreparedStatement aPreparedStatement = aBuilder.generatePreparedStatement(aConnection);
    try
    aPreparedStatement.executeUpdate();
    Thanks

    Barun_guha,
    Thanks for your code, but the problem is pValueMap.get(aColumnName) is an Object and it cannot be initialized as a String .
    scsi-boy,
    I am attaching the 2 files related, StatementBuilder.java and AbstractEntity.java.
    Basically, the statementBuilder.java builds the SQL stmt and AbstractEntity.java does the update, delete and inserts(it has the PreparedStament). So could someone suggest me a solution based on this code.
    Thanks
    import firstpro.util.AbstractType;
    import java.sql.*;
    import java.util.*;
    public class StatementBuilder
    private static final StatementType SELECT = new StatementType("SELECT");
    private static final StatementType INSERT = new StatementType("INSERT");
    private static final StatementType IDENTITY = new StatementType("IDENTITY");
    private static final StatementType UPDATE = new StatementType("UPDATE");
    private static final StatementType DELETE = new StatementType("DELETE");
    * is true when the prepared statment can be set as "read-only" (i.e., a select of some kind).
    private boolean mIsReadOnly = false;
    * denotes what operation this statement represents.
    private StatementType mStatementType;
    * accumulates all the table names used in the statement.
    private List mTableList = new ArrayList();
    * holds the sequence of tables followed in join expressions.
    private LinkedList mTableStack = new LinkedList();
    * accumulates the table column names referenced in the statement.
    private Set mReferenceSet = new HashSet();
    * holds the column names used in the select result.
    private List mResultColumnList = new ArrayList();
    * is the first part of the generated SQL statement.
    private StringBuffer m1Buffer = new StringBuffer();
    * is the second part of the generated SQL statement.
    private StringBuffer m2Buffer = new StringBuffer();
    * holds the list of actual parameter values to substitute for the "?" symbols in the generated SQL.
    private List mParameterList = new ArrayList();
    * constructs an instance with the given type.
    * @param pStatementType
    private StatementBuilder(StatementType pStatementType)
    mStatementType = pStatementType;
    * creates a "select" statement.
    * @param pQualifierName
    * @param pTableName
    * @param pCondition
    * @param pResult
    * @return
    static StatementBuilder selectStatement(String pQualifierName, String pTableName, AbstractEntityCondition pCondition, AbstractEntityResult pResult)
    StatementBuilder aBuilder = new StatementBuilder(SELECT);
    aBuilder.select(pQualifierName, pTableName, pCondition, pResult);
    return aBuilder;
    * creates a "select distinct" statement.
    * @param pQualifierName
    * @param pTableName
    * @param pCondition
    * @param pResult
    * @return
    static StatementBuilder distinctStatement(String pQualifierName, String pTableName, AbstractEntityCondition pCondition, AbstractEntityResult pResult)
    StatementBuilder aBuilder = new StatementBuilder(SELECT);
    aBuilder.distinct(pQualifierName, pTableName, pCondition, pResult);
    return aBuilder;
    * creates a "select count(*)" statement.
    * @param pQualifierName
    * @param pTableName
    * @param pCondition
    * @return
    static StatementBuilder countStatement(String pQualifierName, String pTableName, AbstractEntityCondition pCondition)
    StatementBuilder aBuilder = new StatementBuilder(SELECT);
    aBuilder.count(pQualifierName, pTableName, pCondition);
    return aBuilder;
    * creates in "insert" statement.
    * @param pQualifierName
    * @param pTableName
    * @param pValueMap
    * @return
    static StatementBuilder insertStatement(String pQualifierName, String pTableName, Map pValueMap)
    StatementBuilder aBuilder = new StatementBuilder(INSERT);
    aBuilder.insert(pQualifierName, pTableName, pValueMap);
    return aBuilder;
    * creates an "identity" statement (for retrieving the generated primary key from the DB after an insert).
    * @param pTypeName
    * @return
    static StatementBuilder identityStatement(String pTypeName)
    StatementBuilder aBuilder = new StatementBuilder(IDENTITY);
    aBuilder.identity(pTypeName);
    return aBuilder;
    * creates an "update" statement.
    * @param pQualifierName
    * @param pTableName
    * @param pValueMap
    * @param pCondition
    * @return
    static StatementBuilder updateStatement(String pQualifierName, String pTableName, Map pValueMap, AbstractEntityCondition pCondition)
    StatementBuilder aBuilder = new StatementBuilder(UPDATE);
    aBuilder.update(pQualifierName, pTableName, pValueMap, pCondition);
    return aBuilder;
    * creates a "delete" statement.
    * @param pQualifierName
    * @param pTableName
    * @param pCondition
    * @return
    static StatementBuilder deleteStatement(String pQualifierName, String pTableName, AbstractEntityCondition pCondition)
    StatementBuilder aBuilder = new StatementBuilder(DELETE);
    aBuilder.delete(pQualifierName, pTableName, pCondition);
    return aBuilder;
    * emits a predicate of "true".
    void trueAlways()
    appendTrue();
    * emits a predicate of "false".
    void falseAlways()
    appendFalse();
    * emits a "join" predicate.
    * @param pColumnName
    * @param pQualifierName
    * @param pJoinedTableName
    * @param pJoinedColumnName
    * @param pCondition
    void join(String pColumnName, String pQualifierName, String pJoinedTableName, String pJoinedColumnName, AbstractEntityCondition pCondition)
    if (!SELECT.equals(mStatementType))
    throw new RuntimeException("Join only allowed in SELECT");
    appendOpening();
    appendColumn(pColumnName);
    appendEqualTo();
    pushTable(pQualifierName, pJoinedTableName);
    appendColumn(pJoinedColumnName);
    appendClosing();
    appendAnd();
    appendOpening();
    appendCondition(pCondition);
    appendClosing();
    popTable();
    * emits an "and" predicate.
    * @param pCondition1
    * @param pCondition2
    void and(AbstractEntityCondition pCondition1, AbstractEntityCondition pCondition2)
    appendOpening();
    appendCondition(pCondition1);
    appendClosing();
    appendAnd();
    appendOpening();
    appendCondition(pCondition2);
    appendClosing();
    * emits an "and" predicate.
    * @param pConditionArray
    void and(AbstractEntityCondition[] pConditionArray)
    if (0 == pConditionArray.length)
    appendTrue();
    else
    for (int i = 0; i < pConditionArray.length; i++)
    if (i != 0)
    appendAnd();
    appendOpening();
    appendCondition(pConditionArray);
    appendClosing();
    * emits an "or" predicate.
    * @param pCondition1
    * @param pCondition2
    void or(AbstractEntityCondition pCondition1, AbstractEntityCondition pCondition2)
    appendOpening();
    appendCondition(pCondition1);
    appendClosing();
    appendOr();
    appendOpening();
    appendCondition(pCondition2);
    appendClosing();
    * emits an "or" predicate.
    * @param pConditionArray
    void or(AbstractEntityCondition[] pConditionArray)
    if (0 == pConditionArray.length)
    appendFalse();
    else
    for (int i = 0; i < pConditionArray.length; i++)
    if (i != 0)
    appendOr();
    appendOpening();
    appendCondition(pConditionArray[i]);
    appendClosing();
    * emits a "not" predicate.
    * @param pCondition
    void not(AbstractEntityCondition pCondition)
    appendNot();
    appendOpening();
    appendCondition(pCondition);
    appendClosing();
    * emits an "is null" predicate.
    * @param pColumnName
    void isNull(String pColumnName)
    appendColumn(pColumnName);
    appendIsNull();
    * emits an "is not null" predicate.
    * @param pColumnName
    void isNotNull(String pColumnName)
    appendColumn(pColumnName);
    appendIsNotNull();
    * emits a "between" predicate.
    * @param pColumnName
    * @param pValue1
    * @param pValue2
    void isBetween(String pColumnName, Object pValue1, Object pValue2)
    appendColumn(pColumnName);
    appendBetween();
    appendValue(pValue1);
    appendAnd();
    appendValue(pValue2);
    * emits a case-insensitive "between" predicate.
    * @param pColumnName
    * @param pValue1
    * @param pValue2
    void isBetweenIgnoringCase(String pColumnName, Object pValue1, Object pValue2)
    appendColumnUpper(pColumnName);
    appendBetween();
    appendValueUpper(pValue1);
    appendAnd();
    appendValueUpper(pValue2);
    * emits a "like" predicate.
    * @param pColumnName
    * @param pValue
    void isLike(String pColumnName, Object pValue)
    appendColumn(pColumnName);
    appendLike();
    appendValue(pValue);
    * emits a case-insensitive "like" predicate.
    * @param pColumnName
    * @param pValue
    void isLikeIgnoringCase(String pColumnName, Object pValue)
    appendColumnUpper(pColumnName);
    appendLike();
    appendValueUpper(pValue);
    * emits an "equals" predicate.
    * @param pColumnName
    * @param pValue
    void isEqualTo(String pColumnName, Object pValue)
    appendColumn(pColumnName);
    appendEqualTo();
    appendValue(pValue);
    * emits a case-insensitive "equals" predicate.
    * @param pColumnName
    * @param pValue
    void isEqualToIgnoringCase(String pColumnName, Object pValue)
    appendColumnUpper(pColumnName);
    appendEqualTo();
    appendValueUpper(pValue);
    * emits an "unequals" predicate.
    * @param pColumnName
    * @param pValue
    void isNotEqualTo(String pColumnName, Object pValue)
    appendColumn(pColumnName);
    appendNotEqualTo();
    appendValue(pValue);
    * emits a case-insensitive "unequals" predicate.
    * @param pColumnName
    * @param pValue
    void isNotEqualToIgnoringCase(String pColumnName, Object pValue)
    appendColumnUpper(pColumnName);
    appendNotEqualTo();
    appendValueUpper(pValue);
    * emits a "less than" predicate.
    * @param pColumnName
    * @param pValue
    void isLessThan(String pColumnName, Object pValue)
    appendColumn(pColumnName);
    appendLessThan();
    appendValue(pValue);
    * emits a case-insensitive "less than" predicate.
    * @param pColumnName
    * @param pValue
    void isLessThanIgnoringCase(String pColumnName, Object pValue)
    appendColumnUpper(pColumnName);
    appendLessThan();
    appendValueUpper(pValue);
    * emits a "less than or equals" predicate.
    * @param pColumnName
    * @param pValue
    void isLessThanOrEqualTo(String pColumnName, Object pValue)
    appendColumn(pColumnName);
    appendLessThanOrEqualTo();
    appendValue(pValue);
    * emits a case-insensitive "less than or equals" predicate.
    * @param pColumnName
    * @param pValue
    void isLessThanOrEqualToIgnoringCase(String pColumnName, Object pValue)
    appendColumnUpper(pColumnName);
    appendLessThanOrEqualTo();
    appendValueUpper(pValue);
    * emits a "greater than" predicate.
    * @param pColumnName
    * @param pValue
    void isGreaterThan(String pColumnName, Object pValue)
    appendColumn(pColumnName);
    appendGreaterThan();
    appendValue(pValue);
    * emits a case-insensitive "greater than" predicate.
    * @param pColumnName
    * @param pValue
    void isGreaterThanIgnoringCase(String pColumnName, Object pValue)
    appendColumnUpper(pColumnName);
    appendGreaterThan();
    appendValueUpper(pValue);
    * emits a "greater than or equals" predicate.
    * @param pColumnName
    * @param pValue
    void isGreaterThanOrEqualTo(String pColumnName, Object pValue)
    appendColumn(pColumnName);
    appendGreaterThanOrEqualTo();
    appendValue(pValue);
    * emits a case-insensitive "greater than or equals" predicate.
    * @param pColumnName
    * @param pValue
    void isGreaterThanOrEqualToIgnoringCase(String pColumnName, Object pValue)
    appendColumnUpper(pColumnName);
    appendGreaterThanOrEqualTo();
    appendValueUpper(pValue);
    * builds a "select" statment.
    * @param pQualifierName
    * @param pTableName
    * @param pCondition
    * @param pResult
    private void select(String pQualifierName, String pTableName, AbstractEntityCondition pCondition, AbstractEntityResult pResult)
    // this statment only reads from the DB
    mIsReadOnly = true;
    // initialize the table stack using the selected table
    // the first push will write " FROM ..."
    pushTable(pQualifierName, pTableName);
    // build SELECT
    StringBuffer sb = new StringBuffer();
    // go over all columns
    for (int i = 0; i < pResult.mColumnNameList.size(); i++)
    // first one has command, others separate with commas
    sb.append(i == 0 ? "SELECT DISTINCT TOP 100 " : ", ");
    // get column name reference
    String aQualifiedColumnName = QualifyColumnName((String) pResult.mColumnNameList.get(i));
    // append to the statment
    sb.append(aQualifiedColumnName);
    // add to the result list
    mResultColumnList.add(aQualifiedColumnName);
    sb.append(" ");
    // insert the "SELECT ..." before the " FROM ..." that was written on the push above
    m1Buffer.insert(0, sb);
    // do WHERE
    if (pCondition != null)
    m2Buffer.append(" WHERE ");
    // will add to both "FROM..." in first buffer and to "WHERE ..." in second buffer
    // this call does most of the hard work, and handles joins to other tables, etc.
    appendCondition(pCondition);
    // do ORDER BY
    for (int i = 0; i < pResult.mOrderByList.size(); i++)
    m2Buffer.append(i == 0 ? " ORDER BY " : ", ");
    // column name
    String aQualifiedColumnName = QualifyColumnName((String) pResult.mOrderByList.get(i));
    // direction (ASC or DESC)
    m2Buffer.append(aQualifiedColumnName).append(" ").append(pResult.mOrderByDirectionList.get(i));
    popTable();
    * is currently identical to "select"
    * @param pQualifierName
    * @param pTableName
    * @param pCondition
    * @param pResult
    private void distinct(String pQualifierName, String pTableName, AbstractEntityCondition pCondition, AbstractEntityResult pResult)
    select(pQualifierName, pTableName, pCondition, pResult);
    * builds a "count(*)" statement.
    * @param pQualifierName
    * @param pTableName
    * @param pCondition
    private void count(String pQualifierName, String pTableName, AbstractEntityCondition pCondition)
    // this statment only reads from the DB
    mIsReadOnly = true;
    // initialize the table stack using the selected table
    // the first push will write " FROM ..."
    pushTable(pQualifierName, pTableName);
    // build and insert "SELECT ..." before the " FROM ..." that was written on the push above
    m1Buffer.insert(0, "SELECT COUNT(*) ");
    // do WHERE
    if (pCondition != null)
    m2Buffer.append(" WHERE ");
    // will add to both "FROM..." in first buffer and to "WHERE ..." in second buffer
    // this call does most of the hard work, and handles joins to other tables, etc.
    appendCondition(pCondition);
    // finished with this table
    popTable();
    private void insert(String pQualifierName, String pTableName, Map pValueMap)
    // m1Buffer.append("set identity_insert " + pTableName + " off "+ " ").append("INSERT INTO ").append(QualifyTableName(pQualifierName, pTableName)).append(" (");
    m1Buffer.append("INSERT INTO ").append(QualifyTableName(pQualifierName, pTableName)).append(" (");
    m2Buffer.append(" VALUES (");
    // go over all values
    boolean isNotFirst = false;
    for (Iterator i = pValueMap.keySet().iterator(); i.hasNext();)
    if (isNotFirst)
    m1Buffer.append(", ");
    m2Buffer.append(", ");
    isNotFirst = true;
    String aColumnName = (String) i.next();
    // add the column name to the first part
    m1Buffer.append(aColumnName);
    // add a "?" to the second part, as well as adding the value to the parameter list
    if(pValueMap.get(aColumnName)!= null) {
    //Object column= pValueMap.get(aColumnName);
    aColumnName=aColumnName.replace( '\'', '`');
    m2Buffer.append("'");
    m2Buffer.append(pValueMap.get(aColumnName));
    m2Buffer.append("'");
    } else {
    m2Buffer.append(pValueMap.get(aColumnName));
    m1Buffer.append(")");
    m2Buffer.append(")");
    * builds a key-retrieval statement.
    //* @param pTypeName
    protected void identity(String pTypeName)
    m2Buffer.append("SELECT CAST( @@IDENTITY AS "+ pTypeName + ")" );
    private void update(String pQualifierName, String pTableName, Map pValueMap, AbstractEntityCondition pCondition)
    m1Buffer.append("UPDATE ").append(QualifyTableName(pQualifierName, pTableName)).append(" SET ");
    // go over all values
    boolean isNotFirst = false;
    for (Iterator i = pValueMap.keySet().iterator(); i.hasNext();)
    if (isNotFirst)
    m1Buffer.append(", ");
    isNotFirst = true;
    String aColumnName = (String) i.next();
    // add the column name to the first part
    m1Buffer.append(aColumnName);
    m1Buffer.append(" = ");
    // add a "?" to the second part, as well as adding the value to the parameter list
    if((pValueMap.get(aColumnName)) == null) {
    m1Buffer.append(pValueMap.get(aColumnName));
    // System.out.println("NUll values are= " + pValueMap.get(aColumnName));
    } else{
    m1Buffer.append("'");
    m1Buffer.append(pValueMap.get(aColumnName));
    m1Buffer.append("'");
    //System.out.println("Not Null values ARE*********" + pValueMap.get(aColumnName));
    // do WHERE
    if (pCondition != null)
    m2Buffer.append(" WHERE ");
    // this will normally be a key condition (one row updated at a time)
    appendCondition(pCondition); // will add to "WHERE ..." clause
    * builds a "delete" statement.
    * @param pQualifierName
    * @param pTableName
    * @param pCondition
    private void delete(String pQualifierName, String pTableName, AbstractEntityCondition pCondition)
    m1Buffer.append("DELETE FROM ").append(QualifyTableName(pQualifierName, pTableName));
    // do WHERE
    if (pCondition != null)
    m2Buffer.append(" WHERE ");
    // this will normally be a key condition (one row deleted at a time)
    appendCondition(pCondition); // will add to "WHERE ..." clause
    * will get and save a unique (to this statment) correlation name of the given table
    * to be used in the WHERE clause. This is in case the same table joined to
    * more than once in the same query.
    * @param pTableName
    * @return
    private String getCorrelationName(String pTableName)
    String aCorrelationName = pTableName;
    while (mReferenceSet.contains(aCorrelationName))
    aCorrelationName = aCorrelationName + "_OTHER";
    mReferenceSet.add(aCorrelationName);
    return aCorrelationName;
    * will prepend the qualifier (if any) to the table name.
    * @param pQualifierName
    * @param pTableName
    * @return
    private static String QualifyTableName(String pQualifierName, String pTableName)
    return (pQualifierName == null ? "" : pQualifierName + ".") + pTableName;
    * will make the given table the current table for parts of the expression below the current node.
    * This is used anytime a join is needed.
    * @param pQualifierName
    * @param pTableName
    private void pushTable(String pQualifierName, String pTableName)
    String aCorrelationName = getCorrelationName(pTableName);
    String aTableDeclaration = QualifyTableName(pQualifierName, pTableName) + " " + aCorrelationName;
    m1Buffer.append(m1Buffer.length() == 0 ? " FROM " : ", ");
    m1Buffer.append(aTableDeclaration);
    mTableList.add(aTableDeclaration);
    mTableStack.addFirst(aCorrelationName); // push
    * will revert to the previous current table. This is used after a join is finished building.
    private void popTable()
    mTableStack.removeFirst(); // pop
    * gets the table at the top of the stack.
    * @return
    private String getCurrentTable()
    return (String) mTableStack.getFirst();
    * will qualify the given column name with the name of the current table.
    * @param pColumnName
    * @return
    private String QualifyColumnName(String pColumnName)
    if (SELECT.equals(mStatementType))
    return getCurrentTable() + "." + pColumnName;
    return pColumnName;
    * will qualify the column name and append it to the second buffer.
    * @param pColumnName
    private void appendColumn(String pColumnName)
    m2Buffer.append(QualifyColumnName(pColumnName));
    * will qualify the column name and append it to the second buffer, adding the "UPPER" function.
    * @param pColumnName
    private void appendColumnUpper(String pColumnName)
    appendUpper();
    appendOpening();
    appendColumn(pColumnName);
    appendClosing();
    * will append "?" to the second buffer and add the value to the parameter list,
    * or append "NULL" if the value is null.
    * @param pValue
    private void appendValue(Object pValue)
    if (pValue == null)
    m2Buffer.append("NULL");
    else
    m2Buffer.append("?");
    mParameterList.add(pValue);
    * will append "?" to the second buffer and add the upper-cased value to the parameter list,
    * or append "NULL" if the value is null.
    * @param pValue
    private void appendValueUpper(Object pValue)
    appendValue(null == pValue ? null : pValue.toString().toUpperCase());
    * will append the condition to the statement. This initiates a series of calls that walks
    * the expression tree and builds the SQL accordingly by calls back to methods of this class.
    * @param pCondition
    private void appendCondition(AbstractEntityCondition pCondition)
    pCondition.buildPredicate(this);
    * appends a true condition.
    private void appendTrue()
    m2Buffer.append("1=1");
    * appends a false condition.
    private void appendFalse()
    m2Buffer.append("1=0");
    * appends an opening parenthesis.
    private void appendOpening()
    m2Buffer.append("(");
    * appends a closing parenthesis.
    private void appendClosing()
    m2Buffer.append(")");
    * appends "is null".
    private void appendIsNull()
    m2Buffer.append(" IS NULL");
    * appends "is not null".
    private void appendIsNotNull()
    m2Buffer.append(" IS NOT NULL");
    private void appendAnd()
    m2Buffer.append(" AND ");
    private void appendOr()
    m2Buffer.append(" OR ");
    private void appendNot()
    m2Buffer.append("NOT ");
    private void appendLike()
    m2Buffer.append(" LIKE ");
    private void appendBetween()
    m2Buffer.append(" BETWEEN ");
    private void appendEqualTo()
    m2Buffer.append(" = ");
    private void appendNotEqualTo()
    m2Buffer.append(" <> ");
    private void appendLessThan()
    m2Buffer.append(" < ");
    private void appendLessThanOrEqualTo()
    m2Buffer.append(" <= ");
    private void appendGreaterThan()
    m2Buffer.append(" > ");
    private void appendGreaterThanOrEqualTo()
    m2Buffer.append(" >= ");
    * appends the upper-casing function.
    private void appendUpper()
    m2Buffer.append("UCASE");
    * constructs the final SQL expression, builds a prepared statement with it,
    * and fills the prepared statement with the parameter values.
    * @param pConnection
    * @return
    * @throws SQLException
    PreparedStatement generatePreparedStatement(Connection pConnection) throws SQLException
    pConnection.setReadOnly(mIsReadOnly);
    String sql = m1Buffer + " " + m2Buffer;
    System.out.println("GENERATED SQL = ");
    System.out.println(sql);
    System.out.println("GENERATED SQL = ");
    System.out.println(sql);
    System.out.println("PARAMETER LIST = ");
    System.out.println(mParameterList);
    PreparedStatement aPreparedStatement = pConnection.prepareStatement(sql);
    for (int i = 0; i < mParameterList.size(); i++)
    aPreparedStatement.setObject(1 + i, mParameterList.get(i));
    return aPreparedStatement;
    * is an enumerated type.
    private static final class StatementType extends AbstractType
    private StatementType(String pType)
    super(pType);
    [i]package firstpro.persistence;
    import multnomah.database.ConnectionPool;
    import java.sql.*;
    import java.util.Date;
    import java.util.*;
    * is the abstract base class for all generated entity classes.
    * It encompasses all functionality not specifically tied to a given field.
    public abstract class AbstractEntity
    * contains all "open" entities in the system.
    * This is to insure that two threads cannot update the same entity at the same time.
    * It is a weak hash map, so that entries do not prevent garbage collection if something is left open.
    static Map sOpenEntityMap = new WeakHashMap();
    * is true when the entity represents a row in a table
    boolean mIsBacked = false;
    * is true when the entity is in a state that allows updating
    boolean mIsMutable = false;
    * contains the values that exist in the underlying row

  • NSM 3 Problem with Quotas in Microsoft environment

    I have assigned quotas of 2GB for all my teachers. I am moving home folders from a Novell environment to a Microsoft environment. Files move, but somehow, the move process does not complete on some users. Although the home directory in AD only has about 1 GB in documents, the engine reports that the directory is full. When I look at the path analysis report for that user, it shows no available space. Even if I increase the quota with NSM quota manager, it still reports no available space.

    Hi, can you send an email to storagemanager"@"novell.com and we can get
    a remote session open to see if we can resolve this for you. Please
    send a Runtime Config report with the email. The Runtime config report
    is generated through the reports tab of the UI.
    Thank you,
    NSM TEAM
    jromero wrote:
    > Thanks for the reply. I have tried all three options. Here's the latest
    > scenario:
    >
    > Unser eDir home directory: 1.3 GB
    > AD home directory quota 2GB
    > NSM Quota Manager reports 2GB in use
    > Explorer reports 1.3 GB in use
    > If I increase quota using NSM to 3 GB, job will proceed until it again
    > reports no more space.
    >
    >
    > Novell File Management Suite Team;2111665 Wrote:
    >> jromero,
    >> When you went through the data migration wizard, what did select in
    >> regards to quota?
    >>
    >> thanks,
    >> NSM Development
    >>
    >> On 6/2/2011 6:06 PM, jromero wrote:
    >>> I have assigned quotas of 2GB for all my teachers. I am moving home
    >>> folders from a Novell environment to a Microsoft environment. Files
    >>> move, but somehow, the move process does not complete on some users.
    >>> Although the home directory in AD only has about 1 GB in documents,
    >> the
    >>> engine reports that the directory is full. When I look at the path
    >>> analysis report for that user, it shows no available space. Even if
    >> I
    >>> increase the quota with NSM quota manager, it still reports no
    >> available
    >>> space.
    >>>
    >>>
    >
    >

  • Portlet Entitlement Problem with Quote in Portlet Title

    I have a portlet originally called "Manager's Toolbox". When I
    try to set an entitlement for this portlet to be for the manager
    role only, the entitlement is ignored. The portlet shows up
    for all users.
    I renamed it to "Managers Toolbox" (without the quote), recreated
    the portal and added the entitlement, and now it works correctly.

    David,
    Sounds like a bug, we'll fix it.
    Thanks,
    Phil
    "David Lu" <[email protected]> wrote in message
    news:4027fdba$[email protected]..
    >
    I have a portlet originally called "Manager's Toolbox". When I
    try to set an entitlement for this portlet to be for the manager
    role only, the entitlement is ignored. The portlet shows up
    for all users.
    I renamed it to "Managers Toolbox" (without the quote), recreated
    the portal and added the entitlement, and now it works correctly.

  • Problems with the richTextEditor and quotes

    Hello
    I'm having problems with quote chars and the richText
    control's htmlText. When users enter quotes into the richTextEditor
    control. The quotes breaks the HTML text, meaning it's no longer
    well formatted. Is there an escape char that I need to use. Or do I
    need to force some kind of refresh on the control prior to using
    the htmlText string?

    I have been using RTE in a content management system and
    found a need to replace non-standard quote characters with proper
    UTF-8 character counterparts. Curly quotes in particular are
    problematic. Use a replace function to substitute non-standard for
    standard characters.

  • I have just downloaded OSX Mavericks and am having a lot of problems with my iCloud account. I get a message "this iMac can't connect to iCloud because of a problem with (and then it quoted my e-mail address) Does anybody know what the problem could be??

    As mentioned above I have just downloaded OSX Maverick to my iMac. I am now having a lot of problems with iCloud. I get the message that "This iMac can't connect to iCloud because of a problem with, and then it goes on to quote my e-mail address. It then says to open iCloud preferences to fix this problem.
    I do this and no matter what I seem to do this message continues to return.
    Can anybody explain how to resolve this problem (please bear in mind that I am noy very computer literate).
    Many thanks
    Mike

    Hello John
    Sorry I haven't got back to you sooner.
    Thanks very much for your help, your solution solved my problem.
    Thanks again and kind regards
    Mike

  • Problem with javascript/PHP/ oracle 10g smart quotes

    I have a problem with my php form that passes the text field to a javascript object. When I copy text from MS Word that includes smart quotes, the form inputs that into the database as ? (upside down) marks. The charset of the DB is WE8MSWIN1252. How do I store these smart quotes as regular quotes? And also if I can do any conversions on the front end (js or php). I tried doing some conversion but to no avail. Any help would be appreciated thank you. “double”

    Decide if you want your HTML pages in Windows code page 1252 or Unicode UTF-8. Then, make sure the pages are properly tagged as either "text/html;charset=windows-1252" or "text/html;charset=utf-8". Use HTTP header Content-type or the corresponding <META HTTP-EQUIV=...> tag. Then, set NLS_LANG environment variable for your PHP engine to either AMERICAN_AMERICA.WE8MSWIN1252 or to AMERICAN_AMERICA.AL32UTF8, depending on which encoding you selected for your HTML.
    -- Sergiusz

  • Workstation specs -- Any problems with this system quote?

    Here are the specs I have been quoted.  I'm not terribly knowledgeable about hardware, does anyone see any problems with this system?  I have recently started shooting and editing weddings, engagements and corporate videos.  I think it may be bit more than I need, but I would much prefer that to less than I need.  Any input from the more tech savvy users would be much appreciated.
    Darren Breckles
    65539
    ASUS Sabertooth X79 ATX LGA2011 DDR3 3PCI-E16 2PCI-E SATA3 USB3.0 SLI CrossFireX Audio Motherboard [Sabertooth X79]
    72374
    Mushkin Enhanced Blackline Frostbyte 32GB 4X8GB PC3-12800 DDR3-1600 CL10 Quad Channel Memory Kit [994055]
    64540
    Noctua NH-D14 SE2011 LGA2011 Heatpipe Cooler w/ NF-P14 140mm & NF-P12 120mm PWM Fans [NH-D14 SE2011] [Reg. $89.99]
    67678
    Intel 520 Series 240GB 2.5in SSD MLC 25nm SATA3 Solid State Disk Flash Drive OEM [SSDSC2CW240A310] [Reg. $279.99]
    4729477
    8 port internal via 2X SFF-8087, LSI2208 1GB cache, 6Gb/s, RAID 0/1/10/5/50/6/60 [RS25DB080]
    1
    84358
    MSI GeForce GTX 770 OC Twin Frozr IV 1098/1150MHZ 2GB 7GHZ GDDR5 2xDVI HDMI DP PCI-E 3.0 Video Card [N770 TF 2GD5/OC] [Reg. $429.99]
    62678
    ASUS BW-12B1ST Blu-Ray Writer 12X BD-R 16X DVD+R SATA Black Retail [BW-12B1ST/BLK/G/AS][Reg. $89.98]
    Environmental Fee $0.75 Per Item
    45275
    Microsoft Windows 7 Professional Edition 64Bit DVD SP1 OEM [FQC-04649] [Reg. $153.98]
    75044
    Fractal Design Define R4 ATX Tower Case Black Pearl 2X5.25 8X3.5INT No PSU Front 2XUSB3.0 Audio [FD-CA-DEF-R4-BL] [Reg. $119.99]
    77641
    Corsair AX860 860W ATX 12V V2.31 80 Plus Platinum Modular Power Supply Active PFC 120mm Fa *IR-$10* [CP-9020044-NA] [Reg. $189.89]
    49665
    nMedia ZE-C118 3.5in Multi Function Panel Flash Card Reader W/USB2.0 eSATA SDHC2.0 Win 7 Black [ZE-C118 ] [Reg. $19.99]
    58276
    StarTech.com 3.5in Hard Drive to 5.25in Front Bay Bracket Adapter [BRACKETFDBK]
    78186
    Noctua NF-A14 FLX 140mm Ultra Quiet Cooling Fan 900-1200RPM 115.5M3/H 19.2DBA 3-PIN [NF-A14 FLX] [Reg. $22.99]
    4
    22823
    Premium PC Assembly and Testing With 1 Year Limited NCIX Warranty (PRE-CONFIG WIN. OS If Purchased)
    Environmental Fee $3.00 Per Item
    Note: Includes extra attention to cabling, lighting installation and extra burn-in period. Recommended for windowed cases. Assembly requires an additional 4-5* business days to ship once all parts are in stock. *typical lead time (currently 2-5 business days)
    1
    $3.00
         73920-1
    NCIX 3 Year On-Site Care Coverage for PC $3000.00 - $3999.99 (22823)
    89510
    Intel Core i7 4930K 6 Core 3.4GHZ (3.9GHZ Turbo) 12MB Hyperthreading LGA2011 Processor No HSF [BX80633i74930K] [Reg. $649.99]
    81958
    Western Digital RE 2TB SATA3 7200RPM 64MB Cache 3.5in Internal Hard Drive [WD2000FYYZ] [Reg. $213.57]
    Environmental Fee $0.75 Per Item
    4

    Very nice build list Darren!
    I would have selected the Samsung 840 Pro 256GB SSD over the Intel 520, and Areca's ARC-1882i over the Intel SAS controller you list, but those are preferences not essential changes.
    Regards,
    Jim

  • StringTokenizer class problem with strings in double quotes

    Hello Technocrats,
    I have a problem with tokenizing following string enclosed in (). (abc," India, Asia", computer engineer). My separator is ",", thus StringTokenizer class gives me 4 tokens namely abc, "India, Asia" and computer engineer. But I require that String in double quotes should be a single token. How to achieve this using StringTokenizer class? Or is there any other way?
    Thanks in advance.

    Try
    String[] str="abc,\" India, Asia\",computer engineer".split(",",1);
              for(String s: str)
                   System.out.println(s);
              }Thanks.

  • Problem with single quote around ANYINTERACT

    CREATE TABLE JUNK
    as SELECT s.survey_id,s.shape,s.original_depth
    FROM bathyuser.sounding s,m_covr r
    WHERE SDO_GEOM.RELATE (s.shape, 'ANYINTERACT', R.geom, 0.5) = 'TRUE'
    AND R.DSNM=CNT.DSNM
    and
    s.SURVEY_ID in
    (SELECT unique s.survey_id FROM header s, m_covr r
    WHERE SDO_GEOM.RELATE (s.shape, 'ANYINTERACT', r.geom, 0.5) = 'TRUE'
    AND DSNM=CNT.DSNM)';
    This above SQL works fine in SQL prompt. But when I put it together in PL/SQL it gives me this error :
    WHERE SDO_GEOM.RELATE (s.shape, 'ANYINTERACT', R.geom, 0.5) = 'TRUE'
    ERROR at line 17:
    ORA-06550: line 17, column 39:
    PLS-00103: Encountered the symbol "ANYINTERACT" when expecting one of the
    following:
    * & = - + ; < / > at in is mod remainder not rem
    <an exponent (**)> <> or != or ~= >= <= <> and or like LIKE2_
    LIKE4_ LIKEC_ between || multiset member SUBMULTISET_
    Could someone help me fix this error. I know I have to try it with "EXECUTE IMMEDIATE" command, but I'm having problem with "||" (concatinate).
    Thanks so much
    Cuong

    This is how you go about debugging execute immediate statements. I am assuming that you fixed the first problem as marias suggested and cam up with something like this. Note, I changed the table in your surso to dual since I do not have your tables, but the effect is the same. I changed the EXECUTE IMMEDIATE to DBMS_OUTPUT.Put_Line so you can actually see what you are trying to execute. I also added some carriage returns to make the formatting a littel easier to see. This is what I got:
    SQL> DECLARE
      2     statement varchar2(1000);
      3  CURSOR C_DSNM5 IS
      4     SELECT dummy dsnm FROM dual;
      5  BEGIN
      6     FOR CNT IN C_DSNM5 LOOP
      7        STATEMENT := 'CREATE TABLE JUNK'||
      8                     ' AS SELECT s.survey_id,s.shape,s.original_depth'||CHR(10)||
      9                     ' FROM bathyuser.sounding s,m_covr r '||CHR(10)||
    10                     'WHERE SDO_GEOM.RELATE (s.shape, '||
    11                     '''ANYINTERACT'''||
    12                     ', R.geom, 0.5) = '||'''TRUE'''||CHR(10)||
    13                     ' AND R.DSNM = CNT.DSNM '||CHR(10)||
    14                     ' AND s.SURVEY_ID IN '||
    15                     ' (SELECT UNIQUE s.survey_id FROM HEADER s, m_covr r'||CHR(10)||
    16                     ' WHERE SDO_GEOM.RELATE (s.shape, '||
    17                     '''ANYINTERACT'''||
    18                     ', r.geom, 0.5) = '||
    19                     '''TRUE'''||CHR(10)||
    20                     ' AND R.DSNM = '||CNT.DSNM||' )';
    21        DBMS_OUTPUT.Put_Line (statement);
    22     END LOOP;
    23  END;
    24  /
    CREATE TABLE JUNK AS SELECT s.survey_id,s.shape,s.original_depth
    FROM bathyuser.sounding s,m_covr r
    WHERE SDO_GEOM.RELATE (s.shape, 'ANYINTERACT', R.geom, 0.5) = 'TRUE'
    AND R.DSNM = CNT.DSNM
    AND s.SURVEY_ID IN  (SELECT UNIQUE s.survey_id FROM HEADER s, m_covr r
    WHERE SDO_GEOM.RELATE (s.shape, 'ANYINTERACT', r.geom, 0.5) = 'TRUE'
    AND R.DSNM = X )
    PL/SQL procedure successfully completed.You have at least two issues with this CREATE TABLE statement. The last line needs to have the X (which came from dual) quoted since it is a string. You also still have a reference to CNT.DSNM, unless you fixed both occurences.
    Another major problem is that if your cursor will return more than one row, and by the structure of this I assume that it might, the on the second record you are going to get:
    ORA-00955: name is already used by an existing object.
    Although I see no reason why you need dynamic sql here, you really need to use bind variables whereever possible (everywhere you use a variable except ofr names of database objects. So, your procedure should look more like:
    DECLARE
       statement varchar2(1000);
       CURSOR C_DSNM5 IS
          SELECT distinct DSNM from M_COVR where dsnm like 'US5%';
    BEGIN
       FOR CNT IN C_DSNM5 LOOP
          STATEMENT := 'CREATE TABLE JUNK'||
                       ' AS SELECT s.survey_id,s.shape,s.original_depth'||
                       ' FROM bathyuser.sounding s,m_covr r '||
                       'WHERE SDO_GEOM.RELATE (s.shape, '||
                       '''ANYINTERACT'''||
                       ', R.geom, 0.5) = '||'''TRUE'''||
                       ' AND R.DSNM = :b1 '||
                       ' AND s.SURVEY_ID IN '||
                       ' (SELECT UNIQUE s.survey_id FROM HEADER s, m_covr r'||
                       ' WHERE SDO_GEOM.RELATE (s.shape, '||
                       '''ANYINTERACT'''||
                       ', r.geom, 0.5) = '||
                       '''TRUE'''||
                       ' AND R.DSNM = :b2 )';
          EXECUTE IMMEDIATE statement USING cnt.dsnm, cnt.dsnm
       END LOOP;
    END;But it is still very wrong.
    Perhaps if you can explain in words what you are trying to accomplish someone can provide a much better response.
    John

  • Got a problem with BIOS in my board MSI 785GM-E51

    i have a MSI 785GM-E51 board,i got a problem with the graphic card bus interface,it still run in 8x not in 16x
    i try to disable a onboard graphic on BIOS,but i not find it.
    and last i try to update BIOS to v2.4 n' not work too.
    this a example;

    Quote from: Bas on 08-March-10, 21:21:36
    You do not need to disable the onboard.
    As for the plug-in card, there is nothing in the BIOS to make it work 8x or 16x.
    Make sure your card is seated correctly, else it will work but at lower number of lanes.
    What program is telling you it's 8x?
    GPU-Z

  • Studio 12.1 Performace Analyzer 7.7 problem, with 'er_print' utility.

    I am having a minor but nagging problem with a regression in the ‘er_print’ utility of the Sun Performance Analyzer suite bundled in Studio 12. is there maybe a patch available or in the works?
    I have not had any success in finding a resolution by searching the open literature…
    The issue is that the ‘callers-callees’ listing only dumps functions in alphabetical order, ignoring the sort order specified by ‘sort’. This is a regression from the Performance Analyzer (7.4) behavior from Sun Studio 10. We only recently jumped to studio 12.1.
    This functionality is documented here: http://docs.sun.com/app/docs/doc/821-0304/afaid?a=view (as well as many other references). To quote:
    “callers-callees
    Print the callers-callees panel for each of the functions, in the order specified by the function sort metric (sort)."
    I use a script input to er_print that in the past analyzed the top ‘N’ functions sorted on inclusive thread time. Now I have to be sure to dump ALL functions and need a third-party search tool to find that information in the resulting report.
    Has anyone heard of this problem or are there Performance Analyzer patch(es) available. I saw some for 7.6 and another for unspecified but have not seen this problem in patch notices.
    Thanks.
    Regards,
    Steve

    Nik, thanks for taking a look. We can't go to 12.2 because we're a software developer and we'll lose our binary compatibility with the release we've been building for the last few months. I'm a systems guy and will paste in a developer's example below.
    Note Marc's url shows a 12.1 Performance Analyzer patch 142369-01 we have not yet installed. The patch notice description doesn't show much. I'll pass on patch info to remote user/developer.
    Developer example:
    I use a script input to er_print that in the past analyzed the top ‘N’ functions sorted on inclusive thread time. Now I have to be sure to dump ALL functions and need a third-party search tool to find that information in the resulting report.
    Here’s a shortened (only 4) example of the behavior I’m seeing… the focus of the functions in callers-callees are NOT those of the functions determined by the sort metric.
    = = = =
    sysun046% er_print /scratch/test.4.er
    /scratch/test.4.er: Experiment has warnings, see header for details
    (/opt/sunstudio12.1/bin/../prod/bin/sparcv9/er_print) sort i.total
    Current Sort Metric: Inclusive Total Thread Time ( i.total )
    (/opt/sunstudio12.1/bin/../prod/bin/sparcv9/er_print) cmetrics a.total:e.user:i.user:e.total:i.total
    Current caller-callee metrics: a.total:e.user:i.user:e.total:i.total:name
    Current caller-callee sort metric: Attributed Total Thread Time ( a.total )
    (/opt/sunstudio12.1/bin/../prod/bin/sparcv9/er_print) limit 4
    (/opt/sunstudio12.1/bin/../prod/bin/sparcv9/er_print) sample_select 22-53
    Exp Sel Total
    === ===== =====
    1 22-53 57
    (/opt/sunstudio12.1/bin/../prod/bin/sparcv9/er_print) functions
    Functions sorted by metric: Inclusive Total Thread Time
    Excl. Incl. Incl. Total Name
    User CPU User CPU Thread
    sec. sec. sec.
    26.015 26.015 113.530 <Total>
    0. 26.015 113.530 ACE_Task_Base::svc_run(void*)
    0. 26.015 113.530 ACE_Thread_Adapter::invoke()
    0. 26.015 113.530 ORB_Task::svc()
    (/opt/sunstudio12.1/bin/../prod/bin/sparcv9/er_print) callers-callees
    Functions sorted by metric: Inclusive Total Thread Time
    Callers and callees sorted by metric: Attributed Total Thread Time
    Attr. Total Excl. Incl. Excl. Total Incl. Total Name
    Thread User CPU User CPU Thread Thread
    sec. sec. sec. sec. sec.
    113.530 26.015 26.015 113.530 113.530 *<Total>
    113.530 0. 26.015 0. 113.530 lwpstart
    Attr. Total Excl. Incl. Excl. Total Incl. Total Name
    Thread User CPU User CPU Thread Thread
    sec. sec. sec. sec. sec.
    0.010 0. 0.010 0. 0.010 ACE_Message_Block::clone(unsigned long)const
    0. 0. 0.010 0. 0.010 *ACE_Data_Block::clone(unsigned long)const
    0.010 0.398 0.398 0.398 0.398 memcpy
    Attr. Total Excl. Incl. Excl. Total Incl. Total Name
    Thread User CPU User CPU Thread Thread
    sec. sec. sec. sec. sec.
    0.001 0. 0.003 0. 0.011 ACE_Select_Reactor_T<ACE_Select_Reactor_Token_T<ACE_Token> >::resume_handler(int)
    0.001 0.001 0.001 0.001 0.001 *ACE_Guard<ACE_Select_Reactor_Token_T<ACE_Token> >::release()
    Attr. Total Excl. Incl. Excl. Total Incl. Total Name
    Thread User CPU User CPU Thread Thread
    sec. sec. sec. sec. sec.
    0.010 0. 0.010 0. 0.010 TAO_Synch_Queued_Message::clone(ACE_Allocator*)
    0. 0. 0.010 0. 0.010 *ACE_Message_Block::clone(unsigned long)const
    0.010 0. 0.010 0. 0.010 ACE_Data_Block::clone(unsigned long)const
    = = = = =
    Nik, thanks for taking a look.
    Steve

Maybe you are looking for

  • How do i re-accossiate my ipod to a new computer?

    My ipod was originally registered onto my home computer, which is a PC. Now i'm at university and have an emac and would like to be able to have it as the computer which my ipod is registered on so that i can update it from the emac. Do i have to wip

  • Multiple images in Pages

    I am trying to copy and past two doc images that were converted from PDF's. I copy and past the first image then the second image, I save/save as and close then when I close the image file the clip board gets cleared out. I reopen my Pages doc and th

  • Help in XML data..(solved)

    Hi everyone, Could someone please help me to solve this.. I have some XML data in the database in a clob column..like this.. XMLDATA 1 ========== <findPatientByNameResponse xmlns="http://service.sdt.tact.company.org">   <out xmlns="http://service.sdt

  • Inserting Livecycle page into a different Livecycle form

    I've been searching around for an answer for a while, but I haven't seen a similar question. I currently have a Livecycle form made up of several pages, and I am trying to insert a page from a different form. For example, I have 8 pages in form A, an

  • Date Data Selection in Query Builder using Hyperion JDBC Driver

    Hi, I am trying to filter out data prior to a specific request date on Query Builder. I have tried : and SALES_ORDER_FACT.REQ_DT < sysdate() I have also tried {$SYSDATE()-1$} , {$SYSDATE()$}, SYSDATE and SYSDATE() Any assistance will be appreciated.