[svn:bz-trunk] 12163: Update using PreparedStatements - bug blz-461

Revision: 12163
Revision: 12163
Author:   [email protected]
Date:     2009-11-24 08:19:56 -0800 (Tue, 24 Nov 2009)
Log Message:
Update using PreparedStatements - bug blz-461
checkintests: na
Ticket Links:
    http://bugs.adobe.com/jira/browse/blz-461
Modified Paths:
    blazeds/trunk/apps/samples/WEB-INF/src/flex/samples/crm/employee/EmployeeDAO.java

Similar Messages

  • [svn:bz-trunk] 12162: Updated using PreparedStatements.

    Revision: 12162
    Revision: 12162
    Author:   [email protected]
    Date:     2009-11-24 08:17:44 -0800 (Tue, 24 Nov 2009)
    Log Message:
    Updated using PreparedStatements.
    CheckInTests: na
    Modified Paths:
        blazeds/trunk/apps/samples/WEB-INF/src/flex/samples/crm/company/CompanyDAO.java

  • [svn:bz-trunk] 13630: added testcase for bug blz-459 back.

    Revision: 13630
    Revision: 13630
    Author:   [email protected]
    Date:     2010-01-19 13:50:36 -0800 (Tue, 19 Jan 2010)
    Log Message:
    added testcase for bug blz-459 back.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/blz-459
    Modified Paths:
        blazeds/trunk/qa/features/excludes.properties

  • [svn:bz-trunk] 9368: exclude test for bug blz-408

    Revision: 9368
    Author:   [email protected]
    Date:     2009-08-18 10:39:47 -0700 (Tue, 18 Aug 2009)
    Log Message:
    exclude test for bug blz-408
    Ticket Links:
        http://bugs.adobe.com/jira/browse/blz-408
    Modified Paths:
        blazeds/trunk/qa/features/excludes.properties

  • [svn:bz-trunk] 18814: Add manual test for BLZ-594 with instructions on how to run the test.

    Revision: 18814
    Revision: 18814
    Author:   [email protected]
    Date:     2010-11-24 09:31:56 -0800 (Wed, 24 Nov 2010)
    Log Message:
    Add manual test for BLZ-594 with instructions on how to run the test.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/BLZ-594
    Modified Paths:
        blazeds/trunk/qa/apps/qa-manual/WEB-INF/flex/remoting-config.mods.xml
    Added Paths:
        blazeds/trunk/qa/apps/qa-manual/WEB-INF/src/test/
        blazeds/trunk/qa/apps/qa-manual/WEB-INF/src/test/RpcTest.java
        blazeds/trunk/qa/apps/qa-manual/bugs/BLZ-594/
        blazeds/trunk/qa/apps/qa-manual/bugs/BLZ-594/BLZ-594.mxml
        blazeds/trunk/qa/apps/qa-manual/bugs/BLZ-594/readme.txt

    You do have a very complex looking site and may need several tables in mysql to handle all that data. If you knew to phpmysql I would suggest taking a look at this tutorial it will help get you started in understanding how to $_GET info from a database and also how to $_POST data to a database. I am no expert just learning myself and I found this very helpful. This is the link http://www.adobe.com/devnet/dreamweaver/articles/first_dynamic_site_pt1.html
    There are also many tutorials on Youtube to help build a CMS Content Management Site I would suggest the following: -
    http://www.youtube.com/user/phpacademy
    http://www.youtube.com/user/betterphp
    http://www.youtube.com/user/flashbuilding
    And many more on my channel here
    http://www.youtube.com/user/Whisperingonthewind
    CMS's are easier to maintain, add edit and delete content.
    I have also recently bought a Book by David Powers Training from the Source very helpful.
    Anyway hope you get it sorted.

  • [svn:bz-trunk] 5125: Update excludes.properties file for BlazeDS/ trunk to exclude tests due to bugs BLZ-354, BLZ-355, and BLZ-356.

    Revision: 5125
    Author: [email protected]
    Date: 2009-03-02 05:55:42 -0800 (Mon, 02 Mar 2009)
    Log Message:
    Update excludes.properties file for BlazeDS/trunk to exclude tests due to bugs BLZ-354, BLZ-355, and BLZ-356.
    Also exclude JMS tests on WebSphere due to configuration issues on the regression box. This is being tracked by QETOOLS-32 in jira.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-354
    http://bugs.adobe.com/jira/browse/BLZ-355
    http://bugs.adobe.com/jira/browse/BLZ-356
    http://bugs.adobe.com/jira/browse/QETOOLS-32
    Modified Paths:
    blazeds/trunk/qa/features/excludes.properties

  • Conditinal update using PreparedStatement

    Hi,
    I have situation where in I need to create dynamic sql statements based on user input.
    let's say user changes his last name or only first name or some comments field only those fileds changed should be updated in database leaving rest un changed.
    I am using PreparedStatement to update (this switched to over come single quote issue with oracle).
    if it was simple insert/update i could user statements but how can I do conditinal update using one prepared statement?
    any help

    From what I've read in the docs and experienced with Oracle drivers, it can't be done. The only way to dynamically create a prepared statement would be to create an update string conditionally based on the changed inputs, then create the PreparedStatement after the conditional checks(same technique you would use to dynamically create a Statement). But that doesn't really fit the criteria laid out by your initial post(only one PreparedStatement for all conditions).
    You could also use the CallableStatement and generate your update statement in the CallableStatement the same way you would generate the UPDATE dml using a Statement?
    Jamie

  • Update using preparedstatement

    Hi
    I am using preparedstatement to fire insert / update statements.
    the update query is taking a lot of time(min 150 ms) where as the insert query takes 0 ms .
    i'm using mssql driver with sql2000.
    what might be the problem???
    Regards
    Ravi

    in case of static the index costs only 38% where as in
    case of dynamic query the index costs 96%
    tht's the reason the dynamic query is taking more time
    also in case of static INDES SEEK is used where as in
    case of dynamic execution INDDEX SCAN is used so
    INDEX SEEK gets the record in one attempt where as
    indexscan scans the whole table to get the record so
    the row count in this case is same as the no of
    records in that table.
    now the question is how can i change the data access
    path /execution plan for the dynamic execution so that
    it should also look for index seek instead of index
    scan.Just to be clear, your Statement query is dynamic, while your PreparedStatement is static. In a previous post you implied that Statement was taking longer, but in this note you are implying that the PreparedStatement is taking longer. I'll let you work out which is which, but it appears that it is in fact a difference in the data access path that is causing the decreased performance.
    I am not a SQL Server expert by any means, but it is possible that someone else can provide you some specific suggestions on what to do next. I am curious why you want to use a Statement vs PreparedStatement (or vice versa). There have been multiple posts discussing the differences and in most cases from a programmers perspective PreparedStatements are superior because they automatically manage many of the data transformations for you (like escape characters for quotes). PreparedStatements are usally recommended by the DBA when a SQL is going to run repeatedly and frequntely to avoid having the database to re-parse the SQL all the time. Having said that, there are still many cases where using dynamc SQL makes sense and yours may be one of these (not sure).
    So, anybody with strong SQL Server have any suggestions for the OP?
    You may want to post this specific performance question out to a SQL Server forum too...

  • [svn:bz-trunk] 18087: Update to use player 10.2

    Revision: 18087
    Revision: 18087
    Author:   [email protected]
    Date:     2010-10-08 08:52:13 -0700 (Fri, 08 Oct 2010)
    Log Message:
    Update to use player 10.2
    Modified Paths:
        blazeds/trunk/build.properties

    For those running into problems with Internet Explorer 9 and Flash Player 10.3, we have just released a test version that we're hoping resolves the problems you're encountering.
    "A pre-release Flash Player to address this issue is now available for testing. We are very interested in hearing you feedback concerning this possible fix. If you should encounter any new issues please report these through our Adobe Flash Player Bug Management System. Please review the instructions on this page for details on generating the information we’ll need for further investigation.
    Download Flash Player 10.3.181.15 Update
    Important: Please note that this build is for testing and feedback purposes only and is not a full Flash Player release. By installing this binary you accept the terms of the Adobe Software License Agreement."
    After installing the new version, please re-enable your hardware acceleration in IE9 if you had previously disabled it.  We'd like to know if this solves the problem for you, after trying it out please let us know.
    Thanks,
    Chris

  • [svn:fx-trunk] 8399: Update WindowedSystemManager to use ChildManager.

    Revision: 8399
    Author:   [email protected]
    Date:     2009-07-06 14:15:40 -0700 (Mon, 06 Jul 2009)
    Log Message:
    Update WindowedSystemManager to use ChildManager.
    WindowedSystemManager:
    Add new childManager property. Implement rawChildren_* methods using the new childManager.
    ChildManager:
    Change systemManager from type SystemManager to ISystemManager since WindowedSystemManager is not of type SystemManager. Use the array access operator to access the methods/properties that are in SystemManager but not in ISystemManager.
    QE Notes: none.
    Doc Notes: none.
    Bugs: SDK-21673
    Reviewer: Alex
    tests: checkintests, components/Alert
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21673
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/ChildManager.a s

    Gordon, it looks like its been a while since you made this post.  Not sure how valid it is now...   I am particularly interested in the LigatureLevel.NONE value.  It seems that it is no longer supported.
    How do I turn of ligatures in the font rendering?
    My flex project involves trying to match the font rendering of Apache's Batik rendering of SVG and ligatures have been turned off in that codebase.  Is there any way (even roundabout) to turn ligatures off in flash?
    Thanks,
    Om

  • [svn:fx-trunk] 20696: update build. properties values that are used for flex-sdk-description.xml.

    Revision: 20696
    Revision: 20696
    Author:   [email protected]
    Date:     2011-03-08 14:09:49 -0800 (Tue, 08 Mar 2011)
    Log Message:
    update build.properties values that are used for flex-sdk-description.xml. release.version = 4.5.1 release = Superhero
    QE notes: no
    Doc notes: no
    Bugs: no
    Reviewer: lauren
    Tests run: no
    Is noteworthy for integration: most likely FB will have to be aware of this
    Modified Paths:
        flex/sdk/trunk/build.properties

    Thats good news.

  • [svn:bz-trunk] 17772: Update the url in the tests to use a relative path instead of the default localhost : 8400 so that the tests can pass on appservers other than the default Tomcat .

    Revision: 17772
    Revision: 17772
    Author:   [email protected]
    Date:     2010-09-20 15:02:50 -0700 (Mon, 20 Sep 2010)
    Log Message:
    Update the url in the tests to use a relative path instead of the default localhost:8400 so that the tests can pass on appservers other than the default Tomcat.
    Modified Paths:
        blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/EnforceEndpointValidation/Enforc eEndpointValidationFalseTest/Remoting_NetConnectionTest.mxml
        blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/EnforceEndpointValidation/Enforc eEndpointValidationTrueTest/Remoting_NetConnectionTest.mxml

    Revision: 17772
    Revision: 17772
    Author:   [email protected]
    Date:     2010-09-20 15:02:50 -0700 (Mon, 20 Sep 2010)
    Log Message:
    Update the url in the tests to use a relative path instead of the default localhost:8400 so that the tests can pass on appservers other than the default Tomcat.
    Modified Paths:
        blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/EnforceEndpointValidation/Enforc eEndpointValidationFalseTest/Remoting_NetConnectionTest.mxml
        blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/EnforceEndpointValidation/Enforc eEndpointValidationTrueTest/Remoting_NetConnectionTest.mxml

  • [svn:bz-trunk] 23048: Update BlazeDS trunk to use Spring BlazeDS integration 1.5.0.RELEASE build .

    Revision: 23048
    Revision: 23048
    Author:   [email protected]
    Date:     2011-10-18 08:34:43 -0700 (Tue, 18 Oct 2011)
    Log Message:
    Update BlazeDS trunk to use Spring BlazeDS integration 1.5.0.RELEASE build. 
    Added Paths:
        blazeds/trunk/apps/samples-spring/WEB-INF/src/spring-samples/src/org/springframework/flex /samples/secured/SecurityHelper.java.UNCOMMENT
        blazeds/trunk/lib/spring/spring-flex-core-1.5.0.RELEASE.jar
    Removed Paths:
        blazeds/trunk/apps/samples-spring/WEB-INF/src/spring-samples/src/org/springframework/flex /samples/secured/SecurityHelper.java
        blazeds/trunk/lib/spring/org.springframework.flex-1.0.3.RELEASE.jar

    The information you provided is totally useless for determining the problem.
    If it helps, I think the message you are getting is related to BlazeDS not being able to find the service class you are calling. You either have a typo somewhere, or you didn't set up a secure channel in your service config (I am assuming you meant SSL and not SSH).

  • [svn:bz-trunk] 10057: Update the sample configuration to include a comment to warn people not to use debug level logging in production .

    Revision: 10057
    Author:   [email protected]
    Date:     2009-09-08 10:58:36 -0700 (Tue, 08 Sep 2009)
    Log Message:
    Update the sample configuration to include a comment to warn people not to use debug level logging in production.
    Modified Paths:
        blazeds/trunk/resources/config/services-config.xml

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • [svn:fx-trunk] 5577: Update FxButton example to use new namespaces.

    Revision: 5577
    Author: [email protected]
    Date: 2009-03-26 10:20:03 -0700 (Thu, 26 Mar 2009)
    Log Message:
    Update FxButton example to use new namespaces.
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxButtonExamp le.mxml

    Revision: 5577
    Author: [email protected]
    Date: 2009-03-26 10:20:03 -0700 (Thu, 26 Mar 2009)
    Log Message:
    Update FxButton example to use new namespaces.
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxButtonExamp le.mxml

Maybe you are looking for