Difference between "query database" than "DBAdapter.

I want to know the advantages and disadvantages of the use of "query database" than "DBAdapter.

my query is ' select * from the table t1, table t2 where ti .col1 = t2.col2.

Thanks in advance

DBAdapter takes care of mapping the relational structure in XML format using toplink, there is more overhead in doing this. You must perform additional configuration if you want the infrastructure of database adapters using the application servers-data sources otherwise it uses is the own connection pool.

query-database, I expect to be faster and use application servers data sources directly. If you select several columns in the database then I think you would need to perform a few additional steps before you are able to use the returned content because it won't return XML.

Tags: Fusion Middleware

Similar Questions

  • Difference between Oracle database and SQL or SQL Developer +?

    Hello
    I am very very new to Oracle... Only yesterday I installed Oracle 11 G for learing... I found to create an Oracle database

    Oracle Db11gHome1 = > Configuration and Migration Tools = > Database Configuration Wizard
    ... blah... blah... blah... Success... I created...

    But I found the menus

    Oracle Db11gHome1 = > application development = > SQL Developer
    Oracle Db11gHome1 = > = application development > SQL Plus

    And so I get confused... I know SQLSERVER 2008... etc... to create databases... So the above said two is for what purpose?
    Anyone can show me a route for this spirit of quarrels?

    Thank you

    Hello

    Welcome to the world of Oracle.

    SQL Developer: http://www.oracle.com/technetwork/developer-tools/sql-developer/what-is-sqldev-093866.html

    SQl more: http://docs.oracle.com/cd/B13789_01/server.101/b12170/qstart.htm

    These docs will give an initial advance for these tools.

    Something in common between these two tools is: both are used to access the Oracle database.

    Thank you
    Navneet

  • difference between the eve of the database and primary database

    can someone tell me the difference between the database and the database of relief in simple layman's language...

    Thanks in advance

    The primary database is the active production database.
    STANDBY database is a database backup (or read-only).
    Basically, the database pending is in power of the primary database (mechanism depends on the type of sleep) where users are connected to.

    Nicolas.

  • Satellite L750 / 04 k: what is the difference between 64-bit and 32-bit Win?

    L750 / 04 k, what is the difference between the implementation than the 32-bit version or 64-bit?
    The 32-bit version supports 4 GB of RAM?

    Which should I use?

    Hello

    32-bit Windows (what Windows OS is not matter) supports max 3.2 GB of RAM
    Even if the laptop could use more RAM, Win 32 bit is capable of using only 3.2 GB

    That is why it s recommended to use the 64-bit version due to the limitation of the RAM in 32-bit

    Welcome them

  • How to find the difference between standard edition and standard edition one

    How to find the difference between oracle database standard edition and standard edition one 64 bit

    (a) using sql
    (b) using the configuration/installation files

    How to find the difference between oracle database standard edition and standard edition one 64 bit

    (a) using sql

    Select * the option of $ v;

    (b) using the configuration/installation files

    opatch lsinventory-details

  • Simple query to find the difference between 2 numbers in one column to another column

    Hello

    I would like to know the difference between 2 numbers in same column corresponding to a condition of another column. How do that?

    For example: say I have a table with 3 columns A, B and C.

    A > Varchar2

    B > Varchar2

    C > number

    A B C
    AD1
    BC2
    CB3
    DA4

    I want something like 'column value corresponding C min min (col B) result = (col A) - value of the corresponding C column (number)' without having to write 2 select statements. How do I do that?

    Thanks in advance

    aBBy007



    Notes on the system:

    2-node 11.2.0.3.4 GI/RDBMS running on RHEL5.

    Hello

    It is not very similar to your original question.  It would be better if you asked what you really want in your first post, rather than making people to time writing solutions you want not and can not use waste.  Once you see an answer to this question, will you change the question again?

    Here's a way to do what you asked:

    WITH got_lasts AS

    (

    SELECT val.thread #.

    , MAX (val.sequence #) AS last_standby_seq_received

    MAX (CASE

    WHEN val.applied = "YES".

    THEN val.sequence #.

    END

    ) AS last_standby_seq_applied

    V $ archived_log val

    Join v$ database vdb WE val.resetlogs_change #.

    = vdb.resetlogs_change #.

    GROUP BY thread #.

    )

    SELECT thread #.

    last_standby_seq_received

    last_standby_seq_applied

    last_standby_seq_received

    -last_standby_seq_applied AS total_lag

    OF got_lasts

    ORDER BY thread #.

    ;

  • Hi I am new to Oracle forms and reports I want to know the differences between the Enter query mode and Normal mode?

    Hi I am new to Oracle forms and reports I want to know the differences between the Enter query mode and Normal mode?

    Welcome to Oracle Forms!  Out of curiosity, what do you mean by 'new '?  You are a student or new to an organization that uses Oracle Forms?  Or just play with Oracle Forms to learn something new?

    Let me start by saying that many of your questions designtime can answer by searching in the help of the constructor of the form library.  It's accessible, like most of the other products in the Builder menu > help.

    Regarding your question, ENTER QUERY mode, as the term implies, is when it is in a State where it is accept input for the execution of a query.  When in this mode, there are various restrictions.  Yet once, it will find more details in the Builder Help.  In this case, search help for these two subjects, "SYSTEM." MODE'and "built-ins comments that are not allowed in the input query Mode".  There are many other pages that contain information about the ENTER_QUERY method, but these two should help you get started.

    Normal mode, as its name implies, is when it is in a State of 'normal '.  Basically to do nothing in particular, but also not in ENTER QUERY mode.  In this State, you can move the shape, INSERT, UPDATE, DELETE, documents, etc..

    You will find additional information, as well as a lot of documentation on the product page of forms of OTN:

    http://www.Oracle.com/technetwork/developer-tools/forms

  • Installation of Oracle DB 11 g 1 material: differences between the types of database.

    Hello everyone.

    Today, I had to install a DB Oracle 11 GR 1 material.

    I installed the Oracle DB on a few occasions in the past. I had installed type selected the ' general purpose / transactional processing "and everything works fine.

    The DB will be used to store a small data warehouse, BI staff considers that they will store approximately 2 GB per month.

    The DB installation will take place on a server running RHEL 5.7 x86_64.

    Could you please tell me the top 10 or top 5 differences between type ' general goal / Transaction Processing "and the"Data Warehouse "?

    Maintenance tasks are different to the type of the data warehouse? is the case, what are the maintenance more frequent tasks?

    I just saw really big data warehouses, this database will be small compared to these warehouses... do I have to install Oracle DB using the model of 'Data Warehouse' or I can install it using the "general use / transactional treatment" model?

    Please give me your advice.

    Thanks in advance!

    There is nothing fundamentally different.  In my view, that the selection at the time of installation simply defines some initialization parms differently, which can always be changed at any time, as the need arises.  There is Nothing in the database itself that says "I'm a data warehouse, so I'll behave in a certain way and have certain requirements."

  • major differences of exadata database, listener, process than the normal RAC environment?

    I would ask for any input about the major differences of exadata database, listener, process than the normal RAC environment.

    I know now the exadata have not only SCAN listeners, but many other listeners. expert here can provide clarification?

    Thank you

    All the right questions... Welcome to the world of Exadata.

    These are questions that could get into a lot more detail and discussion than a forum post. At a high level, you certainly don't want delete all indexes on Exadata. However, you need to index and an indexing strategy will change on Exadata. After you move a database from one not Exadata Exadata environment you are probably more indexed. Indexes used for OLTP transactions real - looking one or a few lines among others will usually quickly with an index. The index used to avoid a percentage of records but always returning number of records can often be moved. On the index depends on the nature of the workload and your application. If you have a control on the index, then test your queries and DML with the index (s) invisible. Check your implementation plan, the columns io_cell_offload in v$ sql, smart scan wait events to ensure you get intelligent analysis... and see if the smart scan is faster than using the index (s). The real-time SQL Monitor is an excellent tool to help with this - use dbms_sqltune or grid/cloud control.

    Parallelism is a great tool to help still speed up queries and direct path loading operations and can help prompt smart scans... but use of parallelism really depends on your workload and must be controlled using DBRM and the parallel init parms, possibly using same parallel declaration put on hold, so it is not overwhelm your system and cause concurrency problems.

    If you have a mixed environment of workload or consolidates databases on Exadata so my opinion is IORM plans should certainly be implemented.

  • Hola! no self if alguien quiera Yes a bit of Asesoría, are as bastante confundido estoy... Queria long!  the difference existing between el PHOTOSHOP CC led package of FOTOGRAFIA y APPLICATION UNICA? that difference between ellos hay? are the same app

    Hola! no self if alguien quiera Yes a bit of Asesoría, are as bastante confundido estoy... Queria long!  the difference existing between el PHOTOSHOP CC led package of FOTOGRAFIA y APPLICATION UNICA? that difference between ellos hay? are the same cc photoshop application? because is offers mas barata in el FOTOGRAFIA package?

    photoshop and lightroom in the Pack of photographers are 100% identical as individual photoshop and lightroom different subscriptions (for much less cost).

    So yes, it is foolish to subscribe to only one photoshop or lightroom.  even if you're only going to use one of them, you should subscribe to the plan of photographers.

  • A3 landscape artboard. When the zoom is less than 100%. the appearance of the work (lines) in staircase, I can tell this resolution because something I have to zoom and it disappears. I understand the difference between vector and raster as well... looks

    A3 landscape artboard. When the zoom is less than 100%. the appearance of the work (lines) in staircase, I can tell this resolution because something I have to zoom and it disappears. I understand the difference between vector and raster so... this kind of problem is like when you zoom too in an image and it becomes pixelated... but otherwise...! I have a macbook pro 2012 model, the retina. is my screen resolution. I thought that the apple screen product meet good standards of adobe creative products... Reviews

    Check if the switch between the GPU and CPU makes a difference: Cmd E

    Or turn in the preferences: GPU performance.

  • Query to get the difference between 2 totals of 2 different queries

    I wanted to know if it is possible to get the difference between 2 totals of 2 different queries. Let me explain with an example:

    1 application ofst - sum (homepass) Select table 1

    2th query: select sum (homepass) from table2

    Is it possible to display the difference as -

    Select sum (homepass) in table 1 - sum (homepass) from table2

    I know that the above query would give syntax error, but is there a better way or something to get the above done task from a single query.


    Hopefully, my question is clear.


    Please get back with the answer to my query.


    Concerning

    You can always do something like

    SELECT a.cnt - b.cnt
    FROM (SELECT sum(homepass) cnt from table1) a,
          (SELECT sum(homepass) cnt from table2) b
    

    I'd be somewhat dubious, although on a data model that had two tables with the same name of the column where it really made sense to subtract one amount from each other.  This would strongly imply that there should be a single table with an additional column TYPE eventually.

    Justin

  • difference between compatible.rdbms in asm and compatible parameter database

    Hi gurus,

    Here, I have little doubt. What is the difference between compatible.rdbms and the compatible parameter database.

    We have a 2 node RAC on solaris. When I checked at the ASM instance level I found compatible.rdbms has the value 10.1.0.0.0 and compatible.asm 11.2.0.0.0 and compatible database is set to 11.2.0.0.0.

    Please guide me it will make a difference. Or I have to change the compatible.rdbms to a higher value.

    Thank you and best regards,

    Vincent Poorna Prasad.S

    When compatible.rdbms is set to 10.1.0.0.0, this means that the instance ASM (version 11.2.0.0.0) is compatible to support lower versions of instances of RDBMS from version oracle 10.1.0.0.0.

    If you don't want the ASM instance in support of the lower courts of RDBMS version, you can change the setting.

  • differences between the Data Pump to back up the database and use RMAN?

    What are the differences between the Data Pump to back up the database and use RMAN? What is DISADVANTAGES and BENEFITS?

    Thank you

    Search for the backup of the database in

    http://docs.Oracle.com/CD/B28359_01/server.111/b28318/backrec.htm#i1007289

    In brief

    RMAN-> physical backup. (copies of the physical database files)

    DataPump-> logical backup. (logical data such as tables, procedures)

    Docs for RMAN-

    http://docs.Oracle.com/CD/B28359_01/backup.111/b28270/rcmcncpt.htm#

    Datapump docs

    http://docs.Oracle.com/CD/B19306_01/server.102/b14215/dp_overview.htm

    Published by: Sunny kichloo on July 5, 2012 06:55

  • difference between oracle clusterware and oracle database

    What is the difference between the oracle database and oracle clusterware?

    Thanks in advance

    Oracle clusterware manages cluster resources for example databases and the pile of entire cluster, nodes, interconnection...
    Oracle database is a DBMS which manages the application data

Maybe you are looking for