Database query object | audit

Hi guys,.

I would like to know how interrogate what machine changed a databae object, for example:

User
Computer1

Object_name
Object1

Object_type
procedure

last_ddl_time
2010-02-11 14:11:59


some like this, questioning or USER_OBJECTS only gives me information, but I want to be more specific for audit and trace the change to my patterns

IvanBalVe wrote:
That's right, but the DDL change before you enable auditing, it is possible to query?

You can always ask, but if the details are not available.

If you are desperate to find out who did it, you can use the DBMS LOGMNR

Tags: Database

Similar Questions

  • How to create a ViewObject attribute where value to get database query

    Hi Expert,

    I have a case for the value of database query. How to create the view additional attribute object where the value get database query?

    parameter binding of attributeId object in view I can do this in ADF with JDeveloper 11.1.1.6.

    Thank you

    Kind regards

    Wade W

    My problem is solved, maybe it's a bug in the JDeveloper 11.1.1.6.0

    I've got error (oracle.jbo.expr.JIEvalException) Houston-25077: name amount not found in the given object: oracle.jbo.server.ViewRowSetImpl@8690e3.

    When I develop by tab Overview (presentation of the business components). It is so strange, because I have an another transient viewAttribute that refer to another object in view and not get an error message like this before I create viewAttribute HeaderAmount.

    Maybe its ridiculous appearance, but when I go to View (lineVO.xml) object and tab to the source xml file, I have edited here. like to write

    <>

    Name = "HeaderAmount".

    IsUpdateable = "false".

    IsSelected = "false".

    IsPersistent = "false".

    PrecisionRule = 'true '.

    Type = "Oracle.jbo.domain.Number"

    ColumnType = 'NUMBER '.

    AliasName = 'VIEW_ATTR. '

    SQLType = 'DIGITAL' >

    <>

    Value = "ActivityHeaderId" / >

    and make sure this xml file are:

    <>

    Name = "ActHeaderView1VO".

    ViewLink = 'model. ActHeaderLineLink ".

    Type = "Oracle.jbo.Row"

    Reversed = 'true '.

    IsUpdateable = "false" / >

    When I try to re-run the application model and it's work...

    Thanks for your help. really appreciate

  • Filter the table display of the query object (it can a bug in jdev 12)

    Hello:

    I found an error/bug possible in jdeveloper 12 c when I migrate my application of jdev 11g.

    To test this issue, I did the same test request in jdeveloper 11g and jdeveloper 12 c (to avoid to migrate the process).

    Project template

    -Create a display of the query object. Code:

    SELECT 1 CODE, 100 DESCRIPTION
      FROM DUAL
    UNION ALL
    SELECT 2 CODE, 200 DESCRIPTION
      FROM DUAL
    

    -Create a Module of the Application, and then drag this point of view in.

    ViewController project

    -Create a page and drag in the criteria named 'All searchable attributes' of the previous ViewObject as "ADF table filtered.

    -Run the application

    Results:

    On jdeveloper 11g, however it makes the filter above the table box in jdev not 12 c.

    Is this a bug or I need to select something in jdev12c to get the same functionality?

    Yes, known bug 17279781.  It is currently scheduled for a 12.1.4 fix.  If this issue is crucial to you, please file an SR, mentioning the bug number and indicate your reasons for wanting a fix as soon as possible.

    Note there is a solution:

    To work around the problem, you can configure the filter yourself by adding an af:inputText

    facet filter columns and bind the inputText property value to the EL

    #{vs.filterCriteria. }. The page to rerun the filter for

    the column look and work.

    CM.

  • Run database query error - help!

    I have a cfquery code that looks like this:

    < CFQUERY DATASOURCE = "MaBase" username = "myuser" PASSWORD = "MonMotpasse" NAME = "codelist" CACHEDWITHIN = "#CreateTimeSpan (0,1,0,0) #" >
    SELECT *.
    OF systemcode
    WHERE (((systemcode) TRIM) LEN = 2 OR LEN (TRIM (systemcode)) = 4)
    < CFSWITCH EXPRESSION = "#CAT #" >
    < CFCASE VALUE = "1" > (MID (systemcode, 1, 2) BETWEEN ' 01 'AND ' 05') AND < / CFCASE >
    < CFCASE VALUE = "2" > AND (MID(systemcode,1,2) BETWEEN ' 06 "AND 15") < / CFCASE >
    < CFCASE VALUE = "3" > AND (MID (systemcode, 1, 2) FROM 16 'TO 24') < / CFCASE >
    < CFCASE VALUE = "4" > AND (MID (systemcode, 1, 2) BETWEEN 25 'AND 27') < / CFCASE >
    < CFCASE VALUE = "5" > (MID (systemcode, 1, 2) FROM 28 "TO 38") AND < / CFCASE >
    < CFCASE VALUE = "6" > AND (MID (systemcode, 1, 2) BETWEEN 39 'AND 40') < / CFCASE >
    < CFCASE VALUE = "7" > (MID (systemcode, 1, 2) 41 "TO 43") AND < / CFCASE >
    < CFCASE VALUE = "8" > AND (MID (systemcode, 1, 2) WITH 44' 49') < / CFCASE >
    < CFCASE VALUE = "9" > (MID (systemcode, 1, 2) FROM 50 "TO 63") AND < / CFCASE >
    < CFCASE VALUE = "10" > AND (MID (systemcode, 1, 2) FROM 64 "TO 67") < / CFCASE >
    < CFCASE VALUE = "11" > AND (MID (systemcode, 1, 2) BETWEEN 68 "AND 71") < / CFCASE >
    < CFCASE VALUE = "12" > AND (MID (systemcode, 1, 2) BETWEEN 72 'AND 83') < / CFCASE >
    < CFCASE VALUE = '13' > AND (MID (systemcode, 1, 2) WITH 84' 85') < / CFCASE >
    < CFCASE VALUE '14' = > (MID (systemcode, 1, 2) BETWEEN 86 'AND 89') AND < / CFCASE >
    < CFCASE VALUE = "15" > AND (MID (systemcode, 1, 2) 90 '-97') < / CFCASE >
    < CFCASE VALUE = "16" > (MID (systemcode, 1, 2) BETWEEN 98 "AND 99") AND < / CFCASE >
    < CFDEFAULTCASE > < CFLOCATION URL = "somewhere.htm" > < / CFDEFAULTCASE >
    < / CFSWITCH >
    ORDER BY systemcode
    < / CFQUERY >

    It works perfectly in CF 5.  However, when running in CF 8 I get the error message:

    Error running Query.FUNCTION of database mydatabase. LEN does not exist the specific sequence of files included or processed is: home/httpd/vhosts/somedomain.com/httpdocs/reference/systemcode.cfm, line: 24

    (which refers to the cfquery above)

    "mydatabase" is the name of the database and LEN is a function.    It checks the length of systemcode to 2 or 4, if they are then check if the value of #CAT # is 1 and the 2 first characters from 01 to 05, then select the line.  I don't know what's wrong with CF5 but CF8?  It's driving me crazy.  Any help is appreciated.

    I don't see why

    all of a sudden it does not work with CF8 and MySQL,

    If you changed databases, which is the source of the problem, do not upgrade CF.  MySQL won't understand specific features of MS Access and vice versa. Don't expect applications written for type of databases operate automatically with another.  Although there are sql standards, each database is different. It is quite common for database providers have names completely different functions, the types of data and same syntax. You'll need for any check your database queries and convert all specific syntax of access, data types, etc. for the MySQL equivalents.

    Is there the equivalent MySQL for these two functions (TRIM and)

    LEN)?

    Yes. See the string functions section in the mySQL online documentation.

    http://dev.MySQL.com/doc/refman/5.0/en/string-functions.html

    I don't know that he had a PLATE and LEN in MS Access

    database.  I guess I mixed them.

    Yes. It's a little confusing because CF and MS Access have these functions.  In this case, you use access functions, not of CF.

    http://www.techonthenet.com/access/functions/index_alpha.php

    > Yes, I put a

    CFLOCATION inside the cfquery.  Never meet that

    scenario, so I did not know if it works.

    Well, if you use code, it should be something that you tested. So, you know how it behaves. But CFLOCATION really does not belong inside a database query.

    `

  • Cannot exit not request CFC, even if it is a query object

    I try a query from a CFC for output, but I keep getting a "complex object types cannot be converted to simple values.".

    Here is the code:

    promoManager.cfc

    < cfproperty displayname = "promoManager" >

    < cffunction name = "init" returntype = "promoManager" index = "Initialize the controller" >
    < name cfargument = "dsn" type = "string" required = "yes" >
    < cfset variables.dsn = arguments.dsn >
    < cfreturn this >
    < / cffunction >

    < cffunction name = returntype "getPromotions" = "query" >
    < cfset var qGetPromotions = "" > "".
    < name cfquery = "qGetPromotions" datasource = "#variables.dsn #" >
    SELECT promoID, promoName, code promo, promoDesc, promoFromDt, promoToDt, introDiscount, proDiscount, execDiscount, premDiscount
    PROMOTIONS
    ORDER BY promoName
    < / cfquery >
    < cfreturn qGetPromotions >
    < / cffunction >

    < / cfproperty >

    test.cfm

    < cfset promoManager = createObject("component","cfcs.promoManager").init (attributes.dsn) >

    #IsQuery (promoManager.getPromotions ()) < cfoutput > # < / cfoutput > < /p > <-this outputs YES

    < cfset getPromotions = promoManager.getPromotions () >

    < p > < cfdump var = "#getPromotions #" > < / p > <-it export a query object

    < cfoutput query = "#getPromotions #" > here < br / > < / cfoutput > <-WHAT AN ERROR!

    TIA

    It works if you omit the sharps in the query attribute value ( )?

  • Run database query error; Help, please

    I had trouble getting this recording to publish on my DB, I have the same shape, put in place to modify an existing record, as well as the addition of a new record. I have 2 errors, can someone help me see what I'm doing wrong? I write the code that I have a problem with and two errors. I'm sorry, this is probably simple. But I looked at this code too long and miss me the problem.

    Code:
    < cfelseif ParameterExists (Form.btnEdit_OK) >

    < ParameterExists (Form.RecordID) cfif >
    < cfset eDate = DateFormat (form.eventDate, "mm/dd/yyyy") >
    "< cfquery datasource =" "#sitedatasource #" username = "#siteUserID #" password = "" #sitePassword # "dbtype ="ODBC">"
    UPDATE SEEevents
    SET SEEevents.display =' #form.display #', SEEevents.title =' #form.title #', SEEevents.eventDate ='#eDate #', SEEevents.eventTime =' #form.eventTime #', SEEevents.location =' #form.location #', SEEevents.contact =' #form.contact #', SEEevents.phone =' #form.phone #', SEEevents.fax =' #form.fax #', SEEevents.email =' #form.email #', SEEevents.URL ='#form. URL #', SEEevents.sponsor =' #form.sponsor #', SEEevents.Body ='#form. "PDSeditor #
    WHERE RecordID = #form. RecordID #.
    < / cfquery >
    < cflocation url = "events_RecordView.cfm? RecordID = #Form.RecordID # ">"
    < cfelse >
    < cfset eDate = DateFormat (form.eventDate, "mm/dd/yyyy") >
    "< cfquery datasource =" "#sitedatasource #" username = "#siteUserID #" password = "" #sitePassword # "dbtype ="ODBC">"
    INSERT INTO SEEevents (display, title, eventDate, eventTime, location, contact, telephone, fax, email, URL, sponsor, body)
    VALUES (' #form.display # "," #form.title # "," # #eDate # "," #form.eventTime # "," #form.location # "," #form.contact # "," #form.phone # "," #form.fax # "," #form.email # ', ' #form.) URL #', ' #form.sponsor # ', ' #form. PDSeditor #')
    < / cfquery >
    < cflocation url = "events_RecordView.cfm? RecordID = #GetNewRecord.ID_Field # ">"
    < / cfif >

    Here are the two errors:
    error when editing an existing record:

    Run database query error.
    [Macromedia] [SequeLink JDBC Driver] [ODBC Socket] [Microsoft] [ODBC Microsoft Access driver] Too few parameters. 1 expected.

    The error occurred in C:\websites\108392zj7\admin\events_RecordAction.cfm: line 70

    68: < cfif ParameterExists (Form.RecordID) >
    69: < cfset eDate = DateFormat (form.eventDate, "mm/dd/yyyy") >
    "70: < cfquery datasource =" "#sitedatasource #" username = "#siteUserID #" password = "" #sitePassword # "dbtype ="ODBC">"
    71: UPDATE SEEevents
    72: SET SEEevents.display =' #form.display #', SEEevents.title =' #form.title #', SEEevents.eventDate ='#eDate #', SEEevents.eventTime =' #form.eventTime #', SEEevents.location =' #form.location #', SEEevents.contact =' #form.contact #', SEEevents.phone =' #form.phone #', SEEevents.fax =' #form.fax #', SEEevents.email =' #form.email #', SEEevents.URL ='#form. URL #', SEEevents.sponsor =' #form.sponsor #', SEEevents.Body ='#form. "PDSeditor #



    --------------------------------------------------------------------------------

    SQL UPDATE SEEevents SET SEEevents.display = '0', SEEevents.title = 'VIP dinner', SEEevents.eventDate='04/13/2007', SEEevents.eventTime =' 8:30 pm - 23:00 ', SEEevents.location = 'person Restaurant', SEEevents.contact = 'person', SEEevents.phone ='(000) 000.6262', SEEevents.fax = ", SEEevents.email ="[email protected]", SEEevents.URL =' http://www.person.com', SEEevents.sponsor =", SEEevents.Body =' < font size = "2" face = "Verdana, Arial, Helvetica, sans serif" > < strong > Notes: facilities > bookings must be confirmed with a great Cardinal < br > < strong credit > price : < Facilities > Advance: $125. per person (including drinks and tips) at the door: $150. per person, < i > Limited places available < /i > < / police > ' WHERE RecordID = 13
    DATASOURCE ETUCE
    VENDORERRORCODE-3010
    SQLSTATE 07002

    This is the error when publishing a new record:

    Run database query error.
    [Macromedia] [SequeLink JDBC Driver] [ODBC Socket] [Microsoft] [ODBC Microsoft Access driver] Type mismatch of data in the expression of the criteria.

    The error occurred in C:\websites\108392zj7\admin\events_RecordAction.cfm: line 78

    76: < cfelse >
    77: < cfset eDate = DateFormat (form.eventDate, "mm/dd/yyyy") >
    "78: < cfquery datasource =" "#sitedatasource #" username = "#siteUserID #" password = "" #sitePassword # "dbtype ="ODBC">"
    79: INSERT IN SEEevents (display, title, eventDate, eventTime, location, contact, telephone, fax, email, URL, sponsor, body)
    80: VALUES ("#form.display #", "#form.title #", "# #eDate #", "#form.eventTime #", "#form.location #", "#form.contact #", "#form.phone #", "#form.fax #", "#form.email # ', ' #form.) URL #', ' #form.sponsor # ', ' #form. PDSeditor #')



    --------------------------------------------------------------------------------

    SQL INSERT INTO SEEevents (display, title, eventDate, eventTime, location, contact, telephone, fax, email, URL, sponsor, body) VALUES ('0 ', 'test', ' # #03/25/2007 ", 12:47 ', 'Home', 'CJD', '' 000-000-0000,", '[email protected]', 'www.saratogaexpo.com', ' ', ' ')
    DATASOURCE ETUCE
    VENDORERRORCODE-3030
    SQLSTATE 22018

    Can someone help me tweek this code? I see double at this stage. Thank you.

    Phoenix

    I thought about it. It's a java tag used by my editor throwing the error in the backup / update of the function.

    Thanks a lot for all the help everyone!
    If I can ever help anyone in any way, feel free to ask.

  • Inconsistent database query error

    I get an error for a simple display query. I use MS Access and CF8. The error is as follows:-

    Run database query error.
    ''

    And to clarify that two single quotes.

    The query I use is as follows: -.

    SELECT *.
    OF tbl_positionRequest
    WHERE position = ' #URL. Position #'
    ORDER BY Position CAD

    He said that the error occurs in the line WHERE.
    The variable is passed correctly, I the debugged in the origin and home page. The funny this is that the output in the debug information is correct when I run it in access and the same query works for another data base (with different domain names).

    In CF Admin I use access Unicode driver and I think that might be the problem.

    Any help would be appreciated.
    See you soon
    David

    Run the query with just the select and from clauses. Do not display the data, just look at the recordcount. I guess a word reserved with position problem.

  • Problem with a query object back to a Java class ColdFusion

    Hello!
    I need to return a ColdFusion query object from a Java class using a set of JDBC (java.sql.ResultSet) results;

    I tried to move my result defined JDBC the constructor of the class coldfusion.sql.QueryTable with this code:


    ColdFusion code

    < cfset pra = createObject("java","QueryUtil").init () >
    < cfset newQuery = CreateObject ("java", "coldfusion.sql.QueryTable") >
    < cfset newQuery.init (pra.getColdFusionQuery ()) >

    My java class executes a DB query and returns a QueryTable

    Code Java (QueryUtil.java)

    Import coldfusion.sql.QueryTable; (For the QueryTable class CFusion.jar)
    import com.allaire.cfx //(cfx.jar for class Query used from QueryTable)
    public class QueryUtil
    {
    public static coldfusion.sql.QueryTable getColdFusionQuery (rs java.sql.ResultSet)
    {
    return new coldfusion.sql.QueryTable (SR);
    }
    }

    but when I run the cfm page and coldfusion server tries to run: '< cfset pra createObject("java","QueryUtil").init () = >' this error:

    Object instantiation Exception.
    An exception occurred when instantiating a java object. The cause of this exception was that: coldfusion/sql/QueryTable.

    If I try to run QueryUtil.java with eclipse it all works.

    Also, I tried to return a java.sql.ResultSet directly to coldfusion.sql.QueryTable.init () with failure.

    Do you know another solution?

    Thank you cf_dev2

    This is the solution:

    If you are using another jar file in your java.class, you must write the path of the jar in the jvm classpath:

    -Open C:\CFusionMX7\runtime\bin\jvm.config with a text editor;
    -Add at the bottom of the path full fo your jar files
    -Save
    -coldfusion restar

    I thing you can also add the classpath in coldfusion administrator, but I do not know how;

    I found only CF classpath.

    Hi all.

  • another error executing database query.

    I get this error.
    12:40:54.054 - database Exception: in C:\CFusionMX7\wwwroot\Author\dropdown2\EmployeeAddAction.cfm: line 26
    Run database query error.

    I added additional fields in the mdb and added extra code to the page of the form and action page.
    I still get this error.
    That's how I broke it down.

    If I run my 2 files EmployeeAddForm.cfm and EmployeeAddAction.cfm
    I get this error:


    NOTE: if I take the code comments and ignore the new fields added to the DB it works fine!

    The web site, you access has met an unexpected error.
    Please contact the site administrator.

    The following information is for the creation of Web sites for debugging purposes.

    Error occurred while processing request
    Run database query error.
    [Macromedia] [SequeLink JDBC Driver] [ODBC Socket] [Microsoft] [ODBC Microsoft Access driver] Syntax error in INSERT INTO statement.


    Resources:
    Enable robust Exception information to provide more details about the source of errors. In the administrator, click debugging & logging > debugging settings and select the robust exception information option.
    See the ColdFusion documentation to verify that you are using the correct syntax.
    Search the Knowledge Base to find a solution to your problem.


    Browser Mozilla/4.0 (compatible; INTERNET EXPLORER 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
    Remote address 127.0.0.1
    Reference http://127.0.0.1:8500/Author/dropdown2/EmployeeAddForm.cfm
    Time June 6 07 12:40

    NOTE: if I take the code comments and ignore the new fields added to the DB it works fine!

    I get this error.
    12:40:54.054 - database Exception: in C:\CFusionMX7\wwwroot\Author\dropdown2\EmployeeAddAction.cfm: line 26
    Run database query error.

    I added additional fields in the mdb and added extra code to the page of the form and action page.
    I still get this error.
    That's how I broke it down.

    If I run my 2 files EmployeeAddForm.cfm and EmployeeAddAction.cfm
    I get this error:

    NOTE: if I take the code comments and ignore the new fields added to the DB it works fine!

    The web site, you access has met an unexpected error.
    Please contact the site administrator.

    The following information is for the creation of Web sites for debugging purposes.

    Error occurred while processing request
    Run database query error.
    [Macromedia] [SequeLink JDBC Driver] [ODBC Socket] [Microsoft] [ODBC Microsoft Access driver] Syntax error in INSERT INTO statement.

    Resources:
    Enable robust Exception information to provide more details about the source of errors. In the administrator, click debugging & logging > debugging settings and select the robust exception information option.
    See the ColdFusion documentation to verify that you are using the correct syntax.
    Search the Knowledge Base to find a solution to your problem.

    Browser Mozilla/4.0 (compatible; INTERNET EXPLORER 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
    Remote address 127.0.0.1
    Reference http://127.0.0.1:8500/Author/dropdown2/EmployeeAddForm.cfm
    Time June 6 07 12:40

    NOTE: if I take the code comments and ignore the new fields added to the DB it works fine!

  • Run database query, invalid use of the:

    I have a tutorial of ColdfusionMX problem when I get to add tags on the top of the code view. And I write the same thing as the tutorial.
    I get an error message that says:
    Query execution error database.
    error occurred during the processing of the application.
    Invalid use of ',' () in a query expression

    I need help desperately,
    Geordeslys,

    The web site, you access has met an unexpected error.
    Please contact the site administrator.

    The following information is for the creation of Web sites for debugging purposes.

    Error occurred while processing request
    Run database query error.
    Invalid use of '. «, » !', ou « () ». in a query expression ' ARTISTS. ARTISTID = ART. ARTISTID AND ART. MEDIAID = MEDIA. MEDIAID.

    The error occurred in C:\CFusionMX7\wwwroot\CFIDE\gettingstarted\tutorial\TMPhy0vtntf3u.cfm: line 1

    1:
    2: SELECT FIRSTNAME, LASTNAME, ARTNAME, DESCRIPTION, PRICE, LARGEIMAGE, ISSOLD, MEDIATYPE
    3: ART, ARTISTS, MEDIA

    --------------------------------------------------------------------------------
    Dear CF_dev2,

    Is that what you mean by full CF code?

    Georgeslys,
    SQL SELECT FIRSTNAME, LASTNAME, ARTNAME, DESCRIPTION, PRICE, LARGEIMAGE, ISSOLD, MEDIATYPE OF ARTISTS, ART, MEDIA WHERE ARTISTS. ARTISTID = ART. ARTISTID AND ART. MEDIAID = MEDIA. MEDIAID
    Cftutorial DATA source
    VENDORERRORCODE 3092
    SQLSTATE

    Resources:
    See the ColdFusion documentation to verify that you are using the correct syntax.
    Search the Knowledge Base to find a solution to your problem.

    Browser Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322;. PC Media Center 4.0; IEMB3; IEMB3)
    Remote address 127.0.0.1
    Referrer
    Date/time 03-Sep-07 19:11

    Stack trace (click to enlarge)
    at cfTMPhy0vtntf3u2ecfm1461475070.runPage (C:\CFusionMX7\wwwroot\CFIDE\gettingstarted\tutoria l\TMPhy0vtntf3u.cfm:1) at cfTMPhy0vtntf3u2ecfm1461475070.runPage (C:\CFusionMX7\wwwroot\CFIDE\gettingstarted\tutoria l\TMPhy0vtntf3u.cfm:1)

    com.inzoom.adojni.ComException: invalid use of '. «, » !', ou « () ». in a query expression ' ARTISTS. ARTISTID = ART. ARTISTID
    AND ART. MEDIAID = MEDIA. MEDIAID. in the Microsoft JET Database Engine = 3092 code Type = 1
    at com.inzoom.ado.Command.jniExecute (Native Method)
    at com.inzoom.ado.Command.execute(Command.java:40)
    at com.inzoom.jdbcado.Statement.exec(Statement.java:34)
    at com.inzoom.jdbcado.Statement.execute(Statement.java:107)
    at coldfusion.server.j2ee.sql.JRunStatement.execute(JRunStatement.java:212)
    at coldfusion.sql.Executive.executeQuery(Executive.java:753)
    at coldfusion.sql.Executive.executeQuery(Executive.java:675)
    at coldfusion.sql.Executive.executeQuery(Executive.java:636)
    at coldfusion.sql.SqlImpl.execute(SqlImpl.java:236)
    at coldfusion.tagext.sql.QueryTag.doEndTag(QueryTag.java:500)
    at cfTMPhy0vtntf3u2ecfm1461475070.runPage (C:\CFusionMX7\wwwroot\CFIDE\gettingstarted\tutoria l\TMPhy0vtntf3u.cfm:1)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
    at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349)
    at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
    at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:225)
    at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
    at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)
    at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
    at coldfusion.filter.ClientScopePersistenceFilter.invoke (ClientScopePersistenceFilter.java:2 8)
    at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:115)
    to coldfusion. CfmServlet.service (CfmServlet.java:107)
    at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
    at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
    at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
    at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
    to jrunx.scheduler.ThreadPool$ DownstreamMetrics.invokeRunnable (ThreadPool.java:318)
    to jrunx.scheduler.ThreadPool$ ThreadThrottle.invokeRunnable (ThreadPool.java:426)
    to jrunx.scheduler.ThreadPool$ UpstreamMetrics.invokeRunnable (ThreadPool.java:264)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

  • Database Query, network problem runtime error

    I get the following error message when you try to run an Oracle stored procedure that returns a Ref with CF MX 7.0.2.142559 cursor:
    Run database query error.
    [Macromedia] [SequeLink JDBC Driver] Network problem, session aborted due to an error internal in the remote procedure call, the connection closed.

    I connect to the database through ODBC Socket DSN. The CF DSN has been created without error. I checked the ODBC DSN to connect without error.

    I get the following in the application log:
    "Mistake'," jrpp-0 "," 11/09/08 "," 11:25:31 "", "Surplus", "database Query runtime error." [Macromedia] [SequeLink JDBC Driver] Network problem, session aborted due to an error internal in the remote procedure call, the connection closed. «The specific sequence of files included or processed is: C:\Inetpub\wwwroot\assocproducts\ken.cfm, line: 14»

    I get the following in the log of the exception:
    "Mistake'," jrpp-0 "," 11/09/08 "," 11:25:31 "", "Surplus", "database Query runtime error." [Macromedia] [SequeLink JDBC Driver] Network problem, session aborted due to an error internal in the remote procedure call, the connection closed. «The specific sequence of files included or processed is: C:\Inetpub\wwwroot\assocproducts\ken.cfm, line: 14»
    coldfusion.tagext.sql.QueryTag$ DatabaseQueryException: error running query database.
    at coldfusion.tagext.sql.StoredProcTag.doEndTag(StoredProcTag.java:201)
    to cfCategory_Procs2ecfc417114750$ funcGETCATEGORYLIST.runFunction (C:\Inetpub\wwwroot\assocpr oducts\includes\Category_Procs.cfc:14)
    at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:344)
    at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
    to coldfusion.runtime.UDFMethod$ ReturnTypeFilter.invoke (UDFMethod.java:290)
    to coldfusion.runtime.UDFMethod$ ArgumentCollectionFilter.invoke (UDFMethod.java:254)
    at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:56)
    at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:207)
    at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:169)
    at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:1807)
    to cfken2ecfm1820770350.runPage(C:\Inetpub\wwwroot\assocproducts\ken.cfm:14)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
    at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349)
    at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
    at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:225)
    at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
    at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)
    at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
    at coldfusion.filter.ClientScopePersistenceFilter.invoke (ClientScopePersistenceFilter.java:2 8)
    at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:115)
    to coldfusion. CfmServlet.service (CfmServlet.java:107)
    at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
    at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
    at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
    at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
    to jrunx.scheduler.ThreadPool$ DownstreamMetrics.invokeRunnable (ThreadPool.java:318)
    to jrunx.scheduler.ThreadPool$ ThreadThrottle.invokeRunnable (ThreadPool.java:426)
    to jrunx.scheduler.ThreadPool$ UpstreamMetrics.invokeRunnable (ThreadPool.java:264)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

    I can't find anything on the net that helps me to solve this problem. I tried to use the Oracle JDBC driver as well, but got cryptic errors with that as well.

    Any help on this appreciated.

    Thank you!
    Ken

    I found the solution to my problem. I updated my drivers JDBC ( new drivers) and used the dedicated Oracle CF DSN and everything works fine.

  • Helps air: Error executing database query

    I get the message 'Error executing database query' whenever I click on the 'Préférences' button in the help air (if model Classic or cross-tab Malaccaaccordian). I can reject the message and the Preferences dialog box is displayed, but while the content tab seems to work the comments tab seems to be ignored.

    I get the same message when I try to add a comment to a topic.

    Any ideas?

    EDIT: I should mention that I'm on Vista Home Premium.

    UPDATE: seems to only affect projects upgraded X 5; the native projects v7 are have (so far).

    No worries. I need this only for demo AIR help anyway - so the project used native v7 exclusively.

  • Calculation of the number of rows in the query object

    Hi all
    I have a question:

    Is there a way to get the number of rows in a query object without running it twice?
    I need this for a calculation of total pages.
    I can't do something like:
    "SELECT COUNT (e) FROM employee e"
    because I have a WHERE clause in my expression.

    Thank you

    I don't think I've had this a simple that you would like to, but I was able to reuse the same query named to account real pagination queries request.

    I defined a named query:

            @NamedQuery(name = "Employee.findByNames", query = "select e from Employee e WHERE e.firstName LIKE :FNAME AND e.lastName LIKE :LNAME AND e.gender = :GENDER ORDER BY e.lastName, e.firstName")
    

    Now in the app, I can create an instance of the query for this named query and fill in the parameters using the:

            Query query = em.createNamedQuery("Employee.findByNames");
            query.setParameter("FNAME", "%");
            query.setParameter("LNAME", "%");
            query.setParameter("GENDER", "M");
    

    If I run this query I get all the lines, but instead, I'd like to create an account using the underlying native API query

            ReadAllQuery raq = JpaHelper.getReadAllQuery(query);
            ReportQuery reportQuery = new ReportQuery(raq.getReferenceClass(), new ExpressionBuilder());
            reportQuery.setSelectionCriteria(raq.getSelectionCriteria());
            reportQuery.setOrderByExpressions(raq.getOrderByExpressions());
            reportQuery.setShouldReturnSingleValue(true);
            reportQuery.addCount();
            Query countQuery = JpaHelper.createQuery(reportQuery, em);
    
            countQuery.setParameter("FNAME", "%");
            countQuery.setParameter("LNAME", "%");
            countQuery.setParameter("GENDER", "M");
    
            int count = ((Number)countQuery.getSingleResult()).intValue();
    

    Then, for each page of entities wanted the original query is executed as:

            query.setFirstResult(0);
            query.setMaxResults(5);
            List emps = query.getResultList();
    

    Doug

  • JDeveloper database query processing

    Hello

    im working with jdeveloper 11g. I have an application that displays database data in the table in the adf. In the app, I created display objects, connected via links. I some jsp pages, each of which contains 2 buttons, text fields, labels and the adf table that contains the data from database.

    When im switching between pages it takes about 5 seconds.
    When im updating the table (based on the specified time limits) he picks up at the minute. When im using TOAD, to get the data from database, the same request is processed in a second or two, but in jdeveloper it takes a minute, sometimes more. (2000 lines takes around 40seconds)

    Scrolling also takes a lot of time to 10seconds per minute, depends on the data, but in any case, it takes 20 seconds when there are about 1000 rows in the table and it is too long to wait.

    most of the time takes the query, the table display is only 1/3 of the time indicated and less.

    Do you know where the problem may be? or it's ok and jdevelopers apps are so slow?

    Thank you
    Katka

    Katka,
    as far as I know you did everything you could do. You must play with smaller numbers of lot and the beach. Normal sound better to the series 'number of visible row in the table, plus 3.
    The big means numbers that even if you see are 25 lines you get 500 (up to 475 to many). This often happens if you highlight the result set.

    Moreover, it is never a good practice to give the user the ability to scroll over these large result sets.
    Do you really need to do this?

    Timo

  • Database query - 2147467259 ADO error: 0x80004005

    So I'll have more database problems.  This I think is a bit simpler.  I have an Access database and in it, I have a table with several columns of data.  I want to get the maximum value for a column of this table.  One of my columns gives me a problem with this and I don't know why.  Here is my code:

    You can see reading of voltage and power of work very well, but the current read attempt returns an error.  Research on the site of NOR, this error is used for many things and it is usually due to a problem of 32 or 64 bits, but in this case the reading has worked on two previous columns that are also an I32, but the third time, it is not.  It also fails immediately when you try running everything first, so it is likely that something with this column.  Is there something I can check?  I opened in Access and has been able to do a query with the Query Wizard to find the max current min.  The database he is over 1 GB so posted will be not possible.  Same size, it could be a problem.  Any suggestions?  Thank you.

    If the current is a reserved word in Access?

Maybe you are looking for