Make case-insensitive oracle database

Hi all

I use oracle 10g EE that my front end and database backend is in c# .NET. I want to make my oracle database to perform any case comparison insensibly. I searched the net and found several ways to achieve

1. use the upper function in procedures - cannot afford
2. order of the function - cannot afford
3. setting session parameters

ALTER SESSION SET NLS_COMP = ANSI;
ALTER SESSION SET NLS_SORT = BINARY_CI;

The 3rd is promising and can save a lot of time. I have several question

1 is there a way I can adjust these settings in .NET?
2 is it possible I can set both and will do only my case insensitive database?

any link, reference is very appreciated.

Thank you

You can create a unique index of the feature based on this column to avoid that these records.

I don't see that should be case-insensitive database here.

Tags: Database

Similar Questions

  • SELECT INTO make case-insensitive query?

    Hi all

    I'm having a problem with a query as if it is case-insensitive when I do a «SELECT table.x variable INTO...» ». If I do the same query, without the "variable INTO", I get a result as expected.

    The query is similar to the following:
    SELECT table_id variable FROM table WHERE table.varchar2column = 'name' AND table.integercolumn = int_variable;

    There is a unique constraint, forcing the varchar2column / integercolumn of the unique values.

    If the varchar2column has two entries that differ only in this case, a regular at the statement select returns a result. However, the procedure stored with the, I get the following error message:

    ORA-01422: exact fetch returns more than number of lines

    He gets not only if I remove the entry that only differs in the case of the letters. It is 10.2.0.1.0 Oracle, if that matters.

    I need this application to be case-sensitive. I'm not an expert of the DB, I'm just a developer trying to solve a problem. I tried to run "ALTER session SET nls_sort = binary" in the stored procedure, but I guess I can't do that...

    Any suggestion would be appreciated.

    As mentioned before... name your best-er settings.

    Your setting is the same as the name of the column on the table that you query... bad move.

    Here I change the username to work things p_username and 'magically '.

    CREATE OR REPLACE FUNCTION get_cached_user_id(p_username user_security_table.username%type, authserver user_security_table.authentication_server_id%type)
      RETURN user_security_table.user_security_id%type IS
    
      cacheduserid user_security_table.user_security_id%type;
    BEGIN
      6
      SELECT uat.user_security_id
      INTO cacheduserid
      FROM user_security_table uat
      WHERE uat.username = p_username AND uat.authentication_server_id = authserver;
    
      IF cacheduserid IS NULL THEN
         SELECT uat.user_security_id INTO cacheduserid FROM user_security_table uat WHERE uat.username = 'anonymous' AND uat.authentication_server_id IS NULL;
      END IF;
      RETURN cacheduserid;
      EXCEPTION
         WHEN NO_DATA_FOUND THEN
           SELECT uat.user_security_id INTO cacheduserid FROM user_security_table uat WHERE uat.username = 'anonymous' AND uat.authentication_server_id IS NULL;
           RETURN cacheduserid;
    END;
     21   /
    
    Function created.
    
    TUBBY_TUBBZ?SELECT get_cached_user_id('sample',20) from dual;
    
    GET_CACHED_USER_ID('SAMPLE',20)
    -------------------------------
                         2
    
    1 row selected.
    
    TUBBY_TUBBZ?
    

    Simple fix... development of a standard in the future, as for all procedure using p_ settings can save you a lot of grief.

  • Define Oracle case insensitive?

    Hi all

    Is it possible I can do Oracle 10 g case insensitive. I tried searching and found this link, but I did not have my answer that http://www.dba-oracle.com/t_case_insensitive_indexes_searches.htm does not work.

    case insensitive

    Thank you
    Danish

    Make the changes to the system level? Trigger once the connection in?
    You should try it now.

    Nicolas.

  • AGAIN starts after only one physical disk has several partitions makes no sense to the production oracle database?

    Dear Experts,

    Don't + REDO1 diskgroup have only one physical disk has several partitions makes no sense to the production oracle database?

    For example

    • + Diskgroup Redo1 have 2 50 GB disks (fact these 2 discs are the same physical disk partitions OR these should be separate disk as recommended approach)?
    • + Diskgroup Redo1 have 2 drives of capacity 50 GB (for RAID 1 + 0)
    • + Diskgroup Redo2 have 2 50 GB disks
    • + Diskgroup Redo2 have 2 drives of capacity 50 GB (for RAID 1 + 0 )

    Thank you and best regards,

    IVW

    Hello

    Partitioning your disks for ASM configuration as 'A' might make sense. If you lose one disk, you have the discs to another.

    'B' totally make sense if you have lost the disc that you have lost all group ASM and you need to change this with something like 'C '.

    But obviously you need redundancy ASM configured appropriately.

    Kind regards

    Juan M

  • Case-insensitive sort, is this possible?

    Hello everyone,

    I'm doing a request to make of case insensitive sorts, but I failed miserably. I wonder if anyone has experienced the same problem...

    In a regular session of the Oracle, all I have to do is to set the NLS_SORT as BINARY_CI and sorting is case-insensitive; However, my Apex application solemnly ignores everything I try to do in this direction.

    I first tried to create a db setting process in the session (running code PL/SQL 'immediate 'alter session... » ») ; tried to put this process within a page, in many processes points and then tried to put this process in the application itself. in both cases, if I debug the page, I see that the command is executed successfully.

    And, in fact, the first time, the report is run, and the query appears in the debugging, the works of THIS sort; However, if I try to reload the page with a F5 or change something in the search bar (number of lines per page, filter, etc.), the kind regresses to the shape of the case. It's probably getting the records not in the query, but some cache weird, because any time the sorting doesn't work anymore, debugging does not show the application running.

    Then I tried to study where is - this cache and how killing, absolutely nothing helped. Tried to create another process to clear all session state, tried to disconnect and even once tried to kill all sessions of APEX database, close the browser and remove its cache... the cache with poorly sorted records has survived all this.

    Oh and even if sometimes the sort works for the records in the report, when I click on the header of column related to the field in question, and it shows all the values in this column, that the order of these values is never affected by the session NLS_SORT setting.

    Could someone has an idea about this?

    Thank you.

    What is an interactive report? If so, see [this post | http://forums.oracle.com/forums/thread.jspa?messageID=3920123].

  • Java class to connect to Oracle Database Express Edition11g and URL

    Can I use Oracle SQL Developer to do or use it as the value of the URL for the host name?

    I'm just starting to learn Java and with it, learn how to use the Oracle Database Express Edition11g and with it the Oracle SQL Developer...

    At this point, I have the Express Edition is installed and the SQL Developer installed and were able to establish a connection and to run a query and get a result.

    I use Eclipse for JAVA.  I have a work of class that performs a query on a database/table in MySQL.

    So now I'm eager to make the same use as the database Oracle Database Express Edition11g engine.

    And this means that two different versions of JAVA that I need to get the right to be able to do.

    The first is the value of the url variable.

    I now like

    String url = "jdbc:oracle:thin:@localhost";

    then

    Class.forName ("oracle.jdbc.OracleDriver");

    and then

    Connection connection = DriverManager.getConnection (url);

    The thing I'm puzzled on is in the URL where I 'localhost' was supposed to be the term generic and not so much as the text, you should use.

    I see in Web sites like 3 connection to Oracle Database XE

    and decrease example 3-2 by specifying the URL of database using the XE Client Setup

    There I see

    JDBC:driver_type: [username/password] @[//]host_name[: port] [XE]]

    And just what is and what is not is explained here.  So what I ended up with was

    String url = "jdbc:oracle:thin:@localhost";

    So if it was just a text to rest for a name I wonder just such a value or name might really where.

    I noticed that view that an app called "Oracle JDeveloper" has been used to create the values.   I don't have such a thing, or at least I don't think I do.

    Do I need?

    I have Oracle SQL DEVELOPER, where I used the following to connect to the database of the XE.

    My choice for Oracle's SQL Developer Help

    Name of connection: Connection1

    User name: Rod

    Password: myOracle11

    Host name: localhost

    Port: 1521, which is the default value

    SID: xe

    Above so I have to host name set to localhost

    Can I use Oracle SQL Developer to do or use it as the value of the URL for the host name?

    1. I do nothing

    2. While wouldn't you say it

    3. no results from the earlier assignment.

    I asked "'can I use Oracle SQL Developer to do or use it as the value of the URL for the host name?" "

    I showed the choice that I used in SQL Developer to connect to the schema.  And I was wondering, now that I had done this case those are the values that I could use in the Java class that I wrote.  The web site in the first post of this thread showed connection but he was using JDeveloper and SQL Developer.

    So I was wondering if the connection that I made using SQL Developer would do the same trick, and if I could use the values I did there.

    I'm happy to announce that YES, The values used to connect using SQL Developer work exactly like JDeveloper.

    So, given that in SQL Developer for Hostname I chose the value "localhost" "Rod" Username and password "myOracle11".

    I did the following JAVA CLASS that worked:

    package VC_2_9;

    Java for COBOL - copyright 1999 Doke & Hardgrave programmer

    import java.sql. *;

    public class DataBaseDemoOracle

    {

    Public Shared Sub main (string args [])

    {

    String CUST_LAST_NAME;

    / * String url = "jdbc:mysql://localhost/visualcafe";                     */

    String url = "JDBC: thin: @localhost';"

    / * String sqlQuery = "SELECT Name, SSNo, address, telephone OF THE customer;    */

    String sqlQuery = "SELECT CUST_LAST_NAME FROM DEMO_CUSTOMERS";

    //                                               |||||||||||||||

    Try

    {

    Class.forName ("oracle.jdbc.OracleDriver");

    Connection connection = DriverManager.getConnection (url, "Rod","myOracle11" ");

    Statement statement = aConnection.createStatement ();

    ResultSet rs = aStatement.executeQuery (sqlQuery);

    Boolean more = rs.next ();

    (more)

    {

    CUST_LAST_NAME = rs.getString (1);

    /* */

    System.out.println ("name:" + CUST_LAST_NAME);

    more = rs.next ();

    }

    RS. Close();

    aStatement.close ();

    aConnection.close ();

    }

    catch (ClassNotFoundException e)

    {System.out.println ("Exception caught" + e) ;}}

    catch (SQLException e)

    {If (e! = null)}

    {System.out.println ("SQLException taking" + e);}

    e = e.getNextException ();

    } / / end of while loop

    } / / end of capture

    } / / main end

    } / / end DataBaseDemoOracle.java

  • QRCode in Oracle Database 10g class

    Hi guys,.

    I am trying to install a java class that generates an Image QR in the server. The class is QRCode.class if I run this class in the server, then the QR Image is generated, now I want to do this, but the appeal of this java class in the database but I can't compile the java class into the database, the code for the class is:

    CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED APPS. " QRCode"AS

    package prosegur.qrcode;

    to import java.awt.image.BufferedImage;

    import java.io.IOException;

    import java.util.ArrayList;

    import java.util.List;

    public class {QRCode

    private static final int PAD0 = 0xEC.

    private static final int PAD1 = 0x11;

    private int reference;

    Private Boolean [] [] modules;

    private int moduleCount;

    private int errorCorrectLevel;

    private list < QRData > qrDataList;

    public QRCode() {}

    this.typeNumber = 1;

    this.errorCorrectLevel = ErrorCorrectLevel.H;

    this.qrDataList = new ArrayList < QRData > (1);

    }

    public int getTypeNumber() {}

    return of reference;

    }

    {} public void setTypeNumber (int reference)

    this.typeNumber = reference;

    }

    public int getErrorCorrectLevel() {}

    Return errorCorrectLevel;

    }

    {} public void setErrorCorrectLevel (int errorCorrectLevel)

    this.errorCorrectLevel = errorCorrectLevel;

    }

    {} public void addData (string data)

    addData (data, QRUtil.getMode (data));

    }

    ' Public Sub addData (String, int mode data) {}

    {Switch (mode)}

    case Mode.MODE_NUMBER:

    addData (new QRNumber (data));

    break;

    case Mode.MODE_ALPHA_NUM:

    addData (new QRAlphaNum (data));

    break;

    case Mode.MODE_8BIT_BYTE:

    addData (new QR8BitByte (data));

    break;

    case Mode.MODE_KANJI:

    addData (new QRKanji (data));

    break;

    by default:

    throw new IllegalArgumentException ("mode:" + mode);

    }

    }

    public void clearData() {}

    qrDataList.clear ();

    }

    protected void addData (QRData qrData) {}

    qrDataList.add (qrData);

    }

    protected int getDataCount() {}

    Return qrDataList.size ();

    }

    protected QRData getData (int index) {}

    Return qrDataList.get (index);

    }

    {} public is Boolean (int row, int col)

    If (modules [row] [column]! = null) {}

    Return modules [row] [col] .booleanValue ();

    } else {}

    Returns false;

    }

    }

    public int getModuleCount() {}

    Return moduleCount;

    }

    public void make() {}

    make (false, getBestMaskPattern());

    }

    private int getBestMaskPattern() {}

    int minLostPoint = 0;

    model int = 0;

    for (int i = 0; i < 8; i ++) {}

    Make (true, i);

    int lostPoint = QRUtil.getLostPoint (this);

    If (i == 0 | minLostPoint > lostPoint) {}

    minLostPoint = lostPoint;

    model = i;

    }

    }

    return the template;

    }

    Private Sub (Boolean test, int maskPattern) {} do

    moduleCount = reference * 4 + 17;

    modules = new Boolean [moduleCount] [moduleCount];

    setupPositionProbePattern (0, 0);

    setupPositionProbePattern (moduleCount - 7, 0);

    setupPositionProbePattern (0, moduleCount - 7);

    setupPositionAdjustPattern();

    setupTimingPattern();

    setupTypeInfo (test, maskPattern);

    If (reference > = 7) {}

    setupTypeNumber (test);

    }

    DataArray [] QRData = qrDataList.toArray (new QRData [qrDataList.size ()]);

    data Byte [] = createData (reference, errorCorrectLevel, dataArray);

    mapData (data, maskPattern);

    }

    ' Private Sub mapData (data byte [], int maskPattern) {}

    int inc = - 1;

    int row = moduleCount - 1;

    int bitIndex = 7;

    int byteIndex = 0;

    for (int col = moduleCount - 1; col > 0; col = 2) {}

    If (col == 6) col -;

    While (true) {}

    for (int c = 0; c < 2; c ++) {}

    If (modules [row] [column - c] == null) {}

    darkness Boolean = false;

    If (byteIndex < data.length) {}

    Black = (((données [byteIndex] >>> bitIndex) & 1) == 1);

    }

    Boolean mask = QRUtil.getMask (maskPattern, line, col - c);

    If {(mask)

    Black =! Dark;

    }

    modules [row] [column - c] = Boolean.valueOf (dark);

    -bitIndex;

    If (bitIndex ==-1) {}

    byteIndex ++;

    bitIndex = 7;

    }

    }

    }

    rank += inc.;

    If (row < 0 | moduleCount < = row) {}

    rank-=, increase;

    Inc = - inc;

    break;

    }

    }

    }

    }

    private void setupPositionAdjustPattern() {}

    int [] pos = QRUtil.getPatternPosition (typeNumber);

    for (int i = 0; i < pos.length; i ++) {}

    for (int j = 0; j < pos.length; j ++) {}

    int row = pos [i];

    int col = pos [j];

    If (modules [row] [column]! = null) {}

    continue;

    }

    for (int r = - 2; r < = 2; r ++) {}

    for (int c = - 2; c < = 2; c ++) {}

    If (r ==-2 | r == 2 | c ==-2 | c == 2)

    || (r == 0 & & c == 0)) {

    modules [line + r] [col + c] = Boolean.valueOf (true);

    } else {}

    modules [line + r] [col + c] = Boolean.valueOf (false);

    }

    }

    }

    }

    }

    }

    ' private void setupPositionProbePattern (int row, int col) {}

    for (int r = - 1; r < = 7; r ++) {}

    for (int c = - 1; c < = 7; c ++) {}

    If (line + r < = - 1 | moduleCount < = row + r)

    || Col + c < = - 1. moduleCount < = col + c) {}

    continue;

    }

    If ((0 < = r & & r < = 6 & & (c == 0 || c == 6)))

    || (0 < = c & & c < = 6 & & (r == 0 | r == 6))

    || (2 < = r & & r < = 4 & & 2 < = c & & c < = 4)) {

    modules [line + r] [col + c] = Boolean.valueOf (true);

    } else {}

    modules [line + r] [col + c] = Boolean.valueOf (false);

    }

    }

    }

    }

    private void setupTimingPattern() {}

    for (int r = 8; r < moduleCount - 8; r ++) {}

    If (modules [r] [6]! = null) {}

    continue;

    }

    [r] modules [6] = Boolean.valueOf (r % 2 == 0);

    }

    for (int c = 8; c < moduleCount - 8; c ++) {}

    If (modules [6] [c]! = null) {}

    continue;

    }

    modules [6] [c] = Boolean.valueOf (c % 2 == 0);

    }

    }

    {} private void setupTypeNumber (Boolean test)

    int bit = QRUtil.getBCHTypeNumber (typeNumber);

    for (int i = 0; i < 18; i ++) {}

    Boolean mod = Boolean.valueOf (! test & & ((bits >> je) & 1) == 1);

    modules [I / 3] [I % 3 + moduleCount - 8-3] = mod;

    }

    for (int i = 0; i < 18; i ++) {}

    Boolean mod = Boolean.valueOf (! test & & ((bits >> je) & 1) == 1);

    modules [I % 3 + moduleCount - 8-3] [I / 3] = mod;

    }

    }

    ' Private Sub setupTypeInfo (Boolean test, int maskPattern) {}

    data = int (errorCorrectLevel < < 3) | maskPattern;

    int bit = QRUtil.getBCHTypeInfo (data);

    // ???

    for (int i = 0; i < 15; i ++) {}

    Boolean mod = Boolean.valueOf (! test & & ((bits >> je) & 1) == 1);

    If (I have 6 <) {}

    the [i] [8] modules = mod;

    } ElseIf (I < 8) {}

    modules [i + 1] [8] = mod;

    } else {}

    modules [moduleCount - 15 + i] [8] = mod;

    }

    }

    for (int i = 0; i < 15; i ++) {}

    Boolean mod = Boolean.valueOf (! test & & ((bits >> je) & 1) == 1);

    If (I < 8) {}

    modules [8] [moduleCount - i - 1] = mod;

    } ElseIf (I < 9) {}

    modules [8] [15 - i - 1 + 1] = mod;

    } else {}

    modules [8] [15 - i - 1] = mod;

    }

    }

    // ??

    modules [moduleCount - 8] [8] = Boolean.valueOf(!test);

    }

    public static ubyte [] createData (int errorCorrectLevel, int reference, dataArray [] QRData) {}

    RSBlock [] rsBlocks = RSBlock.getRSBlocks (reference, errorCorrectLevel);

    BitBuffer buffer = new BitBuffer();

    for (int i = 0; i < dataArray.length; i ++) {}

    Data QRData = dataArray [i];

    buffer.put (Data.getMode (), 4);

    buffer.put (Data.getLength (), data.getLengthInBits (typeNumber));

    Data.Write (buffer);

    }

    int totalDataCount = 0;

    for (int i = 0; i < rsBlocks.length; i ++) {}

    totalDataCount += rsBlocks [i] .getDataCount ();

    }

    If (buffer.getLengthInBits () > totalDataCount * 8) {}

    throw new IllegalArgumentException ("code length overflow. ("

    + buffer.getLengthInBits)

    + « > »

    + totalDataCount * 8

    + ")");

    }

    // ?????

    If (buffer.getLengthInBits () + 4 < = totalDataCount * 8) {}

    buffer.put (0, 4);

    }

    padding

    While (buffer.getLengthInBits (% 8)! = 0) {}

    buffer.put (false);

    }

    padding

    While (true) {}

    If (buffer.getLengthInBits () > = totalDataCount * 8) {}

    break;

    }

    buffer.put (PAD0, 8);

    If (buffer.getLengthInBits () > = totalDataCount * 8) {}

    break;

    }

    buffer.put (PAD1, 8);

    }

    Return createBytes (buffer, rsBlocks);

    }

    private static ubyte [] (BitBuffer buffer RSBlock [] rsBlocks) createBytes {}

    int offset = 0;

    int maxDcCount = 0;

    int maxEcCount = 0;

    int [] [] dcdata = new int [rsBlocks.length] [];

    int [] [] ecdata = new int [rsBlocks.length] [];

    for (int r = 0; r < rsBlocks.length; r ++) {}

    int dcCount is rsBlocks [r] .getDataCount ();.

    int ecCount = rsBlocks [r] .getTotalCount () - dcCount;

    maxDcCount = Math.max (maxDcCount, dcCount);

    maxEcCount = Math.max (maxEcCount, ecCount);

    [r] dcdata = new int [dcCount];

    for (int i = 0; i < dcdata [r] .length; i ++) {}

    dcdata [r] [i] = 0xff & buffer.getBuffer ([i + shift]);

    }

    offset += dcCount;

    Polynomial rsPoly = QRUtil.getErrorCorrectPolynomial (ecCount);

    Polynomial rawPoly = new polynomial (dcdata [r], rsPoly.getLength () - 1);

    Polynomial modPoly = rawPoly.mod (rsPoly);

    [r] ecdata = new int [rsPoly.getLength () - 1];

    for (int i = 0; i < ecdata [r] .length; i ++) {}

    int modIndex is i + modPoly.getLength () - ecdata [r] .length;.

    ecdata [r] [i] = (modIndex > = 0)? modPoly.get (modIndex): 0;

    }

    }

    int totalCodeCount = 0;

    for (int i = 0; i < rsBlocks.length; i ++) {}

    totalCodeCount += rsBlocks [i] .getTotalCount ();

    }

    data Byte [] = new ubyte [totalCodeCount];

    int index = 0;

    for (int i = 0; i < maxDcCount; i ++) {}

    for (int r = 0; r < rsBlocks.length; r ++) {}

    If (I < dcdata [r] .length) {}

    data [index ++] = dcdata (byte) [r] [i];

    }

    }

    }

    for (int i = 0; i < maxEcCount; i ++) {}

    for (int r = 0; r < rsBlocks.length; r ++) {}

    If (I < ecdata [r] .length) {}

    data [index ++] = ecdata (byte) [r] [i];

    }

    }

    }

    return data;

    }

    public static getMinimumQRCode (int errorCorrectLevel, string data) {} QRCode

    int mode = QRUtil.getMode (data);

    QRCode qr = new QRCode();

    qr.setErrorCorrectLevel (errorCorrectLevel);

    qr.addData (data, mode);

    int length = qr.getData (0) .getLength ();

    for (reference int = 1; Reference < = 10; reference ++) {}

    If (length < = QRUtil.getMaxLength (reference, errorCorrectLevel)) {}

    qr.setTypeNumber (typeNumber);

    break;

    }

    }

    QR.make ();

    return qr;

    }

    public BufferedImage createImage (int cellSize, int margin) throws IOException {}

    imageSize = getModuleCount() int * cellSize + margin * 2;

    BufferedImage image = new BufferedImage (imageSize imageSize, BufferedImage.TYPE_INT_RGB);

    for (int y = 0; y < imageSize; y ++) {}

    for (int x = 0; x < imageSize; x ++) {}

    If (margin < = x & & x < imageSize - margin)

    (& & margin < = y & & y < imageSize - margin) {}

    Col int = (x - margin) / cellSize;

    int row = (y - margin) / cellSize;

    If (is (row, col)) {}

    image.setRGB (x, y, 0x000000);

    } else {}

    image.setRGB (x, y, 0xffffff);

    }

    } else {}

    image.setRGB (x, y, 0xffffff);

    }

    }

    }

    return image;

    }

    }

    /

    And the error when I tried to compile is:

    CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED APPS. " QRCode"AS

    *

    ERROR on line 1:

    ORA-29536: badly formed source: met "<" on line 13, column 22.

    Expected one of:

    < ID >...

    "[" ...

    "." ...

    "(" ...

    It's like the java compiler does not detect the line:

    private list < QRData > qrDataList;   With the symbols of <>...


    DB Version: Oracle Database 10 g Enterprise Edition Release 10.2.0.5.0 - 64bi


    Could someone help me? may may be the version of the java compiler of the database?


    Thank you!!


    Pablo. -.

    The version of the JVM in 10g does not include generic drugs

  • What do I need install Oracle Database 11 g 2 for the Oracle 10 g database migration?

    Hi all

    Would you be kind enough to help me with the following question!  I currently have Oracle Database 10 g on the old servers to my work and I want to install the GR 11, 2 on Windows Server 2008 R2 Enterprise Oracle database to new servers for upgrade.  I also forms, reports and Designer 10 g to maintain our existing applications.  So, I already looked in the Certification and found the following:

    Latest version of the product: latest version of the database server window weblogic

    Form Builder 11.1.2.0.0 11.2.0.4.0 7, 2008 R2, 2008 10.3.6.0.0

    Reports           11.1.2.0.0                                           11.2.0.4.0                                                 7, 2008 R2, 2008                                   10.3.6.0.0

    Designer 10.1.2.6.0 11.2.0.1.0 xp, vista, 7, 2003 (all 32 bit)

    For Designer, it is approved for a 32 - bit window, so I'm having trouble with the new requirement of system this window must be after 2003.  I want to take all of the availability and follow the Oracle certification (except that I will be given Designer because of compliance) as above.  I'm new with Oracle, and I don't know what comes with what to do it is complete.

    1. I'm going to install a database server (free 11.2.0.4.0 as described above) in a new server (2008 R2), then what I have to install the WebLogic Server with it?

    2. I'll install the generator of reports and Forms Builder (11.1.2.0.0) in another server (2008R2), so what I have to install WebLogic Server as well with her?

    3. what else do I need to install on this two server so that they work so that I can begin to migrate all existing data, forms and States more?

    Any advice would be greatly appreciated.  Thank you.

    Remember that this forum is targeted to the Oracle Forms product, for questions about the database can be better answered in one of the areas of database.  That being said, here are my comments:

    1 I'll install a database server (version 11.2.0.4.0 as described above) in a new server (2008 R2), then what I have to install the WebLogic Server with it?

    A database facility didn't need of WLS (which I am aware). Consider what you want is a typical design at three levels. Database - average level (applications server) - Client (tools and end user).   Each level has nothing to do with the other installation point of view assuming that they are not installed on the same computer. WLS is a middleware software (medium level). Be sure to check the product documentation before performing any installation. The 11.2 DB docs can be found here:

    http://docs.Oracle.com/CD/E11882_01/index.htm

    2. I will install Forms Builder and Report Builder (11.1.2.0.0) in another server (2008R2), so what I have to install WebLogic Server as well with it?

    Tools (Forms Builder, generator of reports, etc.) are not remote or web tools.  These must be installed on each developer's computer.  The installation of these tools does not require that WLS be installed first (on the developer's computer), but there is no need to be run unless the developer wants to apply locally for testing.  For a production deployment (multi-user), a similar concept will be used.  WLS will be installed first, followed by the forms and reports Services (runtime).  It will be on your remote server (medium level).  Software distribution you use will be exactly the same for the developer and the installation of intermediate level.  The difference will be in the options you choose during installation.  If you want to include manufacturers during installation, simply check the appropriate boxes when you are prompted.

    Also, if you plan to use the forms/States 11 GR 2, I recommend not using 11.1.2.0 and instead use 11.1.2.2, which is the latest version. F/R 11.1.2.2 installation requires that you first install WLS 10.3.6.  You should refer to the product documentation before beginning any installation. Specifically, carefully examine the product Setup Guide and Guide to the system requirements. The 11.1.2.2 doc library can be found here:

    3 what else do I need to install on this two server so that they work so that I can begin to migrate all the existing data, forms and States on?

    Looks like you've covered everything.  The granular details will be covered in the Installation and Guides to the system requirements.

    My recommendations:

    o ensure that each machine has at least 4gig of RAM

    o ensure that each machine has a static IP address before you start any part of the installation.  This can be done without a static IP address, but you must take additional steps (see Guide to Sys Req).

    o on machines where you plan to install WLS, make sure you have a 64 bit JDK installed first.  If you don't use a F/R 11.1.2.2, you must use Java 6.  However, if you decide to use 11.1.2.2, you can use Java 6 or 7.  Do not use Java 8 in all cases.

    When it comes to the designer, it must be installed on an old machine.  In General, I do not recommend to use it longer.  Although there is currently not a way to full migration out of it, you can use SQL Developer to manage the db objects that were created/used with it.  There are several MyOracleSupport documents that discuss the issue.  You can search the Knowledge Base of MOS to find or contact Support for more information.

  • WebCenter Sites installing Oracle database 11g XE

    Someone was able to install WebCenter Sites 11.1.1.8 with Oracle 11 g Express Edition DB on Windows 7? I know not that XE DB is not officially supported, but asking nonetheless.

    I used the database XE with Sites 7.6.2 and WebCenter 11.1.1.8 with hsqldb on Windows 7, but when I try to install Sites 11.1.1.8 with XE database, I get the following error.

    [2014-10-24 14:52:15, 797 UTC] [ERROR] [.kernel. [Default (self-adjusting)'] [fatwire.logging.cs.db] Exception to execution of prepared statement: INSERT INTO tt1414162150470 (EXTENSION, MIMETYPE, ISDEFAULT, DESCRIPTION) VALUES (?,?,?,?)

    EXTENSION = docx

    MIMETYPE = application/vnd.openxmlformats-officedocument.wordprocessingml.document

    ISDEFAULT = y

    DESCRIPTION = MS Word 2007

    java.sql.SQLException: ORA-12899: value too large for column 'WEBCENTERUSER '. "" TT1414162150470 ". "' MIMETYPE ' (real: 71, maximum: 64)

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:445)

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)

    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)

    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:450)

    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:192)

    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)

    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:207)

    at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1044)

    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1329)

    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3593)

    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3674)

    at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1354)

    at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:172)

    to com FutureTense.Servlet.JDBCTable.executeUpdate_trans_logic(JDBCTable.java:1367)

    to com FutureTense.Servlet.JDBCTable.access$ 000 (JDBCTable.java:68)

    to com FutureTense.Servlet.JDBCTable$ 1.execute(JDBCTable.java:1319)

    at com.fatwire.cs.core.db.NestedTransactionBlock.execute(NestedTransactionBlock.java:189)

    to com FutureTense.Servlet.JDBCTable.executeUpdate_trans(JDBCTable.java:1324)

    to com FutureTense.Servlet.JDBCTable.executeUpdate(JDBCTable.java:1211)

    to com FutureTense.Servlet.JDBCTable.AddRow(JDBCTable.java:943)

    at COM.FutureTense.Common.ftDBTable.insertRow (ftDBTable.java:1281)

    to com FutureTense.CatalogManager.CatalogEngine._replaceRows(CatalogEngine.java:1670)

    to com FutureTense.CatalogManager.CatalogEngine.access$ 400 (CatalogEngine.java:45)

    to com FutureTense.CatalogManager.CatalogEngine$ 4.execute(CatalogEngine.java:1548)

    at com.fatwire.cs.core.db.NestedTransactionBlock.execute(NestedTransactionBlock.java:189)

    to com FutureTense.CatalogManager.CatalogEngine.replaceRows_trans(CatalogEngine.java:1558)

    to com FutureTense.CatalogManager.CatalogEngine.replaceRows(CatalogEngine.java:1355)

    at COM.FutureTense.Common.CatalogManager.execute (CatalogManager.java:1987)

    at COM.FutureTense.Common.ContentServer.runManager (ContentServer.java:3442)

    at COM.FutureTense.Common.CS.CatalogManager (CS.java:1503)

    at COM.FutureTense.Common.CS.CatalogManager (CS.java:1457)

    at COM.FutureTense.Apps.Install.command.ImportCatalog.doIt (ImportCatalog.java:522)

    at COM.FutureTense.Apps.Install.command.ImportCatalog.importCatalogDirectory (ImportCatalog.java:729)

    at COM.FutureTense.Apps.Install.command.ImportCatalog.doImport (ImportCatalog.java:271)

    at COM.FutureTense.Apps.Install.command.ImportCatalog.exec (ImportCatalog.java:189)

    at COM.FutureTense.Apps.Install.command.Command.execute (Command.java:130)

    to com FutureTense.Apps.Install.server.InstallManager.invokeCommand(InstallManager.java:479)

    to com FutureTense.Apps.Install.server.InstallManager.execute(InstallManager.java:104)

    to com FutureTense.Apps.Install.server.InstallServer.evalPage(InstallServer.java:123)

    at COM.FutureTense.Common.ContentServer.execute (ContentServer.java:465)

    to com FutureTense.Servlet.FTServlet.execute(FTServlet.java:129)

    to com FutureTense.Servlet.FTServlet.doPost(FTServlet.java:61)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at com.fatwire.auth.RequestAuthenticationFilter.doFilter(RequestAuthenticationFilter.java:193)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to com FutureTense.Servlet.URLRewriteFilter.doFilter(URLRewriteFilter.java:81)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at com.fatwire.wem.sso.cas.filter.CASFilter.doFilter(CASFilter.java:701)

    at com.fatwire.wem.sso.SSOFilter.doFilter(SSOFilter.java:51)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3730)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3696)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    [2014-10-24 14:52:15, 801 UTC] [ERROR] [.kernel. [Default (self-adjusting)'] [cs.core.db.DBTransaction] unable to run TransactionUnit

    com.fatwire.cs.core.db.TransactionAbortException: replacerows failed

    to com FutureTense.CatalogManager.CatalogEngine$ 4.execute(CatalogEngine.java:1551)

    at com.fatwire.cs.core.db.NestedTransactionBlock.execute(NestedTransactionBlock.java:189)

    to com FutureTense.CatalogManager.CatalogEngine.replaceRows_trans(CatalogEngine.java:1558)

    to com FutureTense.CatalogManager.CatalogEngine.replaceRows(CatalogEngine.java:1355)

    at COM.FutureTense.Common.CatalogManager.execute (CatalogManager.java:1987)

    at COM.FutureTense.Common.ContentServer.runManager (ContentServer.java:3442)

    at COM.FutureTense.Common.CS.CatalogManager (CS.java:1503)

    at COM.FutureTense.Common.CS.CatalogManager (CS.java:1457)

    at COM.FutureTense.Apps.Install.command.ImportCatalog.doIt (ImportCatalog.java:522)

    at COM.FutureTense.Apps.Install.command.ImportCatalog.importCatalogDirectory (ImportCatalog.java:729)

    at COM.FutureTense.Apps.Install.command.ImportCatalog.doImport (ImportCatalog.java:271)

    at COM.FutureTense.Apps.Install.command.ImportCatalog.exec (ImportCatalog.java:189)

    at COM.FutureTense.Apps.Install.command.Command.execute (Command.java:130)

    to com FutureTense.Apps.Install.server.InstallManager.invokeCommand(InstallManager.java:479)

    to com FutureTense.Apps.Install.server.InstallManager.execute(InstallManager.java:104)

    to com FutureTense.Apps.Install.server.InstallServer.evalPage(InstallServer.java:123)

    at COM.FutureTense.Common.ContentServer.execute (ContentServer.java:465)

    to com FutureTense.Servlet.FTServlet.execute(FTServlet.java:129)

    to com FutureTense.Servlet.FTServlet.doPost(FTServlet.java:61)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at com.fatwire.auth.RequestAuthenticationFilter.doFilter(RequestAuthenticationFilter.java:193)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to com FutureTense.Servlet.URLRewriteFilter.doFilter(URLRewriteFilter.java:81)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at com.fatwire.wem.sso.cas.filter.CASFilter.doFilter(CASFilter.java:701)

    at com.fatwire.wem.sso.SSOFilter.doFilter(SSOFilter.java:51)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3730)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3696)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    [2014-10-24 14:52:15, 806 UTC] [ERROR] [.kernel. [Default (self-adjusting)'] [fatwire.logging.cs.db] Exception updating a row in the tt1414162150470 table

    com.fatwire.cs.core.db.TransactionAbortException: replacerows failed

    to com FutureTense.CatalogManager.CatalogEngine$ 4.execute(CatalogEngine.java:1551)

    at com.fatwire.cs.core.db.NestedTransactionBlock.execute(NestedTransactionBlock.java:189)

    to com FutureTense.CatalogManager.CatalogEngine.replaceRows_trans(CatalogEngine.java:1558)

    to com FutureTense.CatalogManager.CatalogEngine.replaceRows(CatalogEngine.java:1355)

    at COM.FutureTense.Common.CatalogManager.execute (CatalogManager.java:1987)

    at COM.FutureTense.Common.ContentServer.runManager (ContentServer.java:3442)

    at COM.FutureTense.Common.CS.CatalogManager (CS.java:1503)

    at COM.FutureTense.Common.CS.CatalogManager (CS.java:1457)

    at COM.FutureTense.Apps.Install.command.ImportCatalog.doIt (ImportCatalog.java:522)

    at COM.FutureTense.Apps.Install.command.ImportCatalog.importCatalogDirectory (ImportCatalog.java:729)

    at COM.FutureTense.Apps.Install.command.ImportCatalog.doImport (ImportCatalog.java:271)

    at COM.FutureTense.Apps.Install.command.ImportCatalog.exec (ImportCatalog.java:189)

    at COM.FutureTense.Apps.Install.command.Command.execute (Command.java:130)

    to com FutureTense.Apps.Install.server.InstallManager.invokeCommand(InstallManager.java:479)

    to com FutureTense.Apps.Install.server.InstallManager.execute(InstallManager.java:104)

    to com FutureTense.Apps.Install.server.InstallServer.evalPage(InstallServer.java:123)

    at COM.FutureTense.Common.ContentServer.execute (ContentServer.java:465)

    to com FutureTense.Servlet.FTServlet.execute(FTServlet.java:129)

    to com FutureTense.Servlet.FTServlet.doPost(FTServlet.java:61)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at com.fatwire.auth.RequestAuthenticationFilter.doFilter(RequestAuthenticationFilter.java:193)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to com FutureTense.Servlet.URLRewriteFilter.doFilter(URLRewriteFilter.java:81)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at com.fatwire.wem.sso.cas.filter.CASFilter.doFilter(CASFilter.java:701)

    at com.fatwire.wem.sso.SSOFilter.doFilter(SSOFilter.java:51)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3730)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3696)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    [2014-10-24 14:52:15, 808 UTC] [ERROR] [.kernel. [Default (self-adjusting)'] [fatwire.logging.cs.install] ImportCatalogError import the table. Error number =-105

    [2014-10-24 14:52:15, 858 UTC] [ERROR] [.kernel. [Default (self-adjusting)'] [fatwire.logging.cs.install] ImportCatalog importCatalogFile: Error importing the file. \Downloads\p17068201_111180_Generic\WebCenterSites_11.1.1.8.0\WCS_Sites\WCS_Sites\Sites\Xcelerate\Populate\MimeType.html

    [2014-10-24 14:52:16, 190 UTC] [ERROR] [.kernel. [Default (self-adjusting)'] [fatwire.logging.cs.install] ImportCatalog import file = \Downloads\p17068201_111180_Generic\WebCenterSites_11.1.1.8.0\WCS_Sites\WCS_Sites\Sites\Xcelerate\Populate\MimeType.html failed due to the error - 105

    Hello Hari,

    If you have a 7.x Sites install on the same database and it is picking up the size of the column in this table to create the table temporary tt? Make sure that your database user has no role DBA or SELECT ANY DICTIONARY (or any other role that allows him to see other patterns).

    Kind regards

    Stephan.

  • 1Z0-117: Oracle Certified Expert, Oracle Database 11 g Release 2 SQL Tuning

    Hello

    I failed the exam 1Z0-047 Oracle database SQL Expert"x 3 and will pass the exam in January 2012. I'm sure I'll spend this time :-) to 95%

    Now my question: what's next 1Z0-047? I only know how to leave 1Z0-047. I am SQL scripts to my work, but no DBA work and not of PL/SQL. So I guess that the "Oracle Certified Expert, Oracle Database 11 g Release 2 SQL Tuning" would be the next logical step?

    Is 'Oracle Certified Expert, Oracle Database 11g Release 2 SQL Tuning' too complicated for me (only have knowledge of the exam 1Z0-047). Because I don't have experience with the topics listed in the objectives, for the most part never heard talk about.

    What study guide?

    So I guess that the "Oracle Certified Expert, Oracle Database 11 g Release 2 SQL Tuning" would be the next logical step?

    I agree with you.

    The Oracle 11 g Release 2 database: review SQL Tuning is still in beta at least until November 24, 2012. Beta versions have been known to be extended. Even if this isn't the case, the examination of the production is not available before mid-January 2013 about. I had one experience with a beta. I hated and will never be another. There is little reason to do so, and most importantly (reduced cost) is not important to me because my company reimburses the cost of my essay, so I don't really care about the savings. They take several times longer to complete and I was a mess at the time that I finished that I did with a headache roaring through a large part of the review.

    That said - answering your question:

    1Z0-047 is a really complicated test. The questions and answers are designed to mislead. There is a reason for that. SQL, by its very nature, is a fairly simple language. Part of its appeal, is that it is easy to understand and write. If the people who wrote the essay was not gone to their best to make the deliberately convoluted SQL code, then it would not have required skills 'experts' to pass. It is much more difficult to read and diagnose poorly written SQL as well written SQL.

    I also took the test Application Express Expert: 1Z0-450. The questions that it were not written in a deliberately confusing manner. However, they had need intimate knowledge of the interface of the Apex. Because it was possible to write questions 'hard' without having to make them deliberately more obscure, the questions were simpler. I did not review SQL Tuning (as I said... no more betas for me), but I suspect that it will be similar to 1Z0-450 has enough information "at the level of experts" to write questions on that test will not attempt to write "hard" questions

    Is 'Oracle Certified Expert, Oracle Database 11g Release 2 SQL Tuning' too complicated for me.
    Because I don't have experience with the topics listed in the objectives, for the most part never heard talk about.

    Not sure what is in the test. This is excellent news. Student for the test will teach you a lot of new things about writing and tuning SQL. In my posts, a concept is repeated again and again. The value of certification is not make a piece of paper to stick in a workbook. The value comes to what new skills you gain in is about to pass the test. If you do not know the information and that you are not studying for the test, Yes, you will not pass. If you prepare for the test until you do understand the objectives, then you should be able to pass the test.

    What study guide?

    None does not yet exist. There is no doubt that I will write a review study guide. It won't be until some time after the test is in production. I do not publish guides for which I hold the certification. Do not wait for good. You can use the same exact source, I will use in his creation - the Oracle documentation. I guarantee you that all topics on the unique OE page and every single question that is under review are answered somewhere in the documentation.

  • Java web application UTF-8 encoding and mswin1252 Oracle database

    Hi all

    We need the following:

    Oracle Database 11 g Enterprise Edition Release 11.1.0.7.0 - 64 bit Production
    With partitioning, Oracle Label Security, OLAP, Data Mining,
    Oracle Database Vault and Real Application Testing options

    Developing on Jdeveloper 10.1.3.5 on WinXP Pro. Our production application servers are running on Windows 2003 10.1.3.4. I was using the jdbc libraries provided, but test now with the 11.1.0.7.0 drivers, downloaded from OTN.

    Database = WE8MSWIN1252 NLS_CHARACTERSET

    I guess our application servers are on WEMSWIN1252.

    Our application has to support french and English.

    We had problems with the unmapped characters (question mark reverse) in our database, and we suspect that these are special windows extended characters. Our java web application is set to the character set iso8859-1. We suspect that it is maybe the reason why some characters were is badly encoded in the comic book. Our application is built with struts 1.2.9.

    The page encoding UTF - 8 seems to be the standard for web applications. I changed our configuration of the struts controller to use UTF - 8. Using Jdeveloper OC4J local testing reveals that although the data extracted from makes it db correctly in the browser, registering with special characters is a problem.

    "Stéphane" recorded under "Sta © phane".

    I guess the question is here, mswin1252 is a single-byte coding scheme, but UTF - 8 is an encoding scheme of variable width and for some European characters, uses 2 bytes to represent. I think that's what I see here.

    Now it is, is it possible for us to use UTF - 8 in java application, but our database in MSWIN1252? I remember reading that the best practice is always to use a character set of superset in comics, as well as its subsets in customers. In our case, we also deal with both representations of variable width. I also remember reading that JDBC is based more on the nls_lang setting... can't jdbc do charset conversion?

    Thanks for the help

    Generally speaking, managers Oracle will do the conversion. I can't speak for the other executives, but whatever it is based on Java is expected to perform the conversion correctly.

    However, your colleague is right that it is strongly advised to have your database running with AL32UTF8 database character set. This is because when the application is configured for UTF - 8, you no longer control what characters people can conclude their browsers/clients. It is preferable to be able to store all the possible characters and no risk of data loss. In addition, any request must be fully compatible Unicode today ' today - including the backend.

    -Sergiusz

  • Problem with SQL case insensitive

    I have the following SQL query, where I want the where criteria to be case-insensitive.

    SELECT t.number, t.nom FROM Table t
    WHERE t.nom =?;

    I can solve this problem by using for example. DOWN, like this:

    SELECT t.number, t.nom FROM Table t
    WHERE LOWER (t.name) = LOWER (?);

    But, as I understand it, it is a specific solution for Oracle. If want to protect my code, so that it will work on a database, how could I do?

    You should NOT do this.
    Database-independent applications are all shrinkware, vaporware and fraudware.
    Built under sqlserver independent database application will run successfully without change on Oracle.
    The only people taking advantage of this situation are lawyers.

    Also to help 'lower () =' can delete the use of the index in Oracle.
    If you expect a concrete case, you should apply this case upon entry.

    Heck, everyone is case-sensitive. Only the Empire of evil aka Microsoft is not. You want to be enslaved by the Empire struggling or who belong to the free world?

    -----------
    Sybrand Bakker
    Senior Oracle DBA

  • the case-insensitive query results

    I got a help from 11g with the suite of version information

    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    PL/SQL Release 11.1.0.7.0 - Production
    CORE Production 11.1.0.7.0
    AMT for 32-bit Windows: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 - Production

    The result of the query are case-sensitive

    Ex: Select * from Table_1 where column like '% new % ';

    result: News

    But do not go back NEWS News or news

    The result of the query are case-sensitive

    But you want the results to be case-insensitive?
    Well, then you can use:

    Select * from Table_1 where lower(column) like '%news%';
    

    And use a function based index.

  • How to remove the extra space of oracle database column

    How to remove the extra space of oracle database column. I would like to clean up the column in the database by deleting the extra space is entered by the dataentery people.

    When I run the query:
    SELECT
    ROWID, C.CODETABLE_ID, C.CODEVALUE_ID, C.DESCR, LENGTH (C.CODEVALUE_ID).
    C.OBSOLETE_DT, C.RECORDSOURCE, C.CREATED_DT,
    C.CREATEDBY, C.LASTUPDATED_DT, C.LASTUPDATEDBY
    OF CODEVALUE C
    Where LENGTH (C.CODEVALUE_ID) > 6

    the data type is varchar2 and I would get rid of the any extra blank space added to the column. in my case, if the length is greater than 6

    Hello

    user452051 wrote:
    Thanks for the reply. Why should I have this line?

    AND codevlaue_id! = TRIM (codevalue_id) - see note below
    ;

    I just changed my post when you posted this. The explanation is there now:

    Frank Kulash wrote:
    ...
    The condition "codevlaue_id!" = TRIM (codevalue_id)"does not change the results of everything, but it can make the most effective statement if there are lines where codevalue_id is on 6 characters long, but contains no additional space. It will prevent the triggers from firing and redo the data generated.

  • The installer of Oracle Database 11 g: Administration Workshop I Ed 2 D50102GC20

    It landed at me to set up a database of Oracle 11 g: Administration Workshop I Ed 2 D50102GC20 in environment OEL (Oracle Enterprise Linux).
    Easier said then done when you're not fluent in Oracle.

    Configuration guides distributed RESOURCES (D50102GC20_setup_doc) leave some hope when it comes to clarity.


    "*" 13.     Create a script (for example, setupasm.sh) from the following commands, and then run the script to create the ASM disks: «*»

    This urge to script to run the command "oracleasm', 'oracleasm' is not included in the standard installation of OEL and it is not included
    in the installation guide either. I added the OracleASMLib:s I could find via [http://www.oracle.com/technology/tech/linux/asmlib/index.html | http://www.oracle.com/technology/tech/linux/asmlib/index.html].
    which of course is not distributed for OEL openly but only for some RedHat Distributions.

    To download OracleASM for OEL, an account of LSN is required, but I do not have an account.


    + "Getting ASMLib without a ULN subscription +".
    + While the pilot and support tools are on the Enterprise Linux installation media, the oracleasmlib RPM is not (this package allows Oracle to access the kernel driver). +

    + This package is available on the LSN. The LSN subscribers can use up2date (8) to download and install the package on their servers. +
    + Non-subscribers are free to use the similar package built for RHEL on their Enterprise Linux machines. +
    + New subscribers of LSN that happens to use the oracleasmlib package RHEL version are invited to update the package of LSN. » +

    Here is a version of Red Hat does not support
    [http://www.oracle.com/technology/software/tech/linux/asmlib/rhel5.html | http://www.oracle.com/technology/software/tech/linux/asmlib/rhel5.html]

    BUT, it is not a third party version of the kernel (Kernel 2.6.18 - 92.el5) naturally.

    Any thoughts on the version that could be compatible?
    When searching for this, I found this:

    Page 18:

    + "If you want to upgrade an existing Oracle ASM, then you need to upgrade Oracle ASM +".
    + by running an Oracle grid infrastructure upgrade. * If you do not have Oracle ASM + *.
    * + installed and want to use Oracle ASM as your storage option, then you must + *.
    * + complete an Oracle grid infrastructure installation before you start your Oracle + *.
    * + Installation of the database. » +*
    [http://download.oracle.com/docs/cd/E11882_01/install.112/e10840.pdf | http://download.oracle.com/docs/cd/E11882_01/install.112/e10840.pdf]

    Installation of network infrastructure all of a sudden? I don't know what to believe or think.



    In any case, keep reading the installation instructions:

    * "14. Make sure the Oracle 11 g database ("database software and clusterware are staged in the following directories: ' *)

    Clusterware? Clusterware is even part of the 11G? I failed to find it and read things like:

    + "After reviewing the documentation it became obvious that the Clusterware CD is now replaced by the new CD of grid Infrastructure 11 GR 2." +
    [http://www.itsarva.com/ittopicsblog/?p=338 | http://www.itsarva.com/ittopicsblog/?p=338]

    I have my doubts. And is it supposed to be installed or just copied? English is not my mother tongue but "staged" language for me is open to interpretation and in both directions (installed <>- copied, resident)



    Any help in this regard is appreciated!

    user9129034 wrote:

    Well Yes, this one is a bear. I wonder where you got the installation instructions. (Or... why you ask in the Forums.)

    The instructions come from Oracle University Resource Center ([http://education.oracle.com/pls/eval-eddap-dcd/ou_ourc.new_home]) and the reason for posting me here is the official contact of Oracle that I cannot help me with support or whatever it is technical and cannot refer me to someone who can help.

    Please have your Oracle contact talk to Don (responsible for the North American OR partner) put you and I in official contact.

    I did the full install and can lead you through it. But in doing so in the forums is not appropriate.

    / Hans Forbrich

Maybe you are looking for