SerializedObjectConverter, SQLServer 2005, IMAGE type error

Has anyone had any luck saving a Java object in an IMAGE field in SQL Server 2005?
Please note, this works successfully in MySQL 5, SQL Server 2000, and Oracle 9i/10g. I'm only having a problem with this in SQL Server 2005.
I'm using the MS JDBC driver (com.microsoft.sqlserver.jdbc.SQLServerDriver) with the following connection string:
"jdbc:sqlserver://hostname:port;DatabaseName=dbname;SelectMethod=cursor".
I'm using a SerializedObjectConverter with a DirectFieldMapping.
The DB column type is IMAGE.
I'm using Toplink 10.1.3 (latest).
No matter what I do, I get the following stack trace:
xception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)):
oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.BatchUpdateException: com.microsoft.sqlserver.jdbc.SQLServerException:
sp_cursoropen/sp_cursorprepare: The statement parameter can only be a batch or a stored procedure
with a single select, without FOR BROWSE, COMPUTE BY, or variable assignments.Error Code: 16938
Query:DataModifyQuery()
     at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:282)
     at
oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeJDK12BatchStatement(DatabaseAccessor.java:679)
     at
oracle.toplink.internal.databaseaccess.ParameterizedSQLBatchWritingMechanism.executeBatchedStatements(ParameterizedSQLBatchWritingMechanism.java:158)
     at
oracle.toplink.internal.databaseaccess.ParameterizedSQLBatchWritingMechanism.appendCall(ParameterizedSQLBatchWritingMechanism.java:107)
     at oracle.toplink.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:475)
     at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:442)
     at oracle.toplink.publicinterface.UnitOfWork.executeCall(UnitOfWork.java:1603)
     at
oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:117)
     at
oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:103)
     at
oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeNoSelectCall(DatasourceCallQueryMechanism.java:146)
     at
oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeNoSelect(DatasourceCallQueryMechanism.java:126)
     at
oracle.toplink.internal.queryframework.StatementQueryMechanism.executeNoSelect(StatementQueryMechanism.java:109)
     at oracle.toplink.queryframework.DataModifyQuery.executeDatabaseQuery(DataModifyQuery.java:54)
     at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:603)
     at oracle.toplink.queryframework.DatabaseQuery.executeInUnitOfWork(DatabaseQuery.java:519)
     at oracle.toplink.publicinterface.UnitOfWork.internalExecuteQuery(UnitOfWork.java:2532)
     at oracle.toplink.publicinterface.Session.executeQuery(Session.java:981)
     at oracle.toplink.mappings.ManyToManyMapping.insertAddedObjectEntry(ManyToManyMapping.java:736)
     at oracle.toplink.mappings.ManyToManyMapping.performDataModificationEvent(ManyToManyMapping.java:938)
     at oracle.toplink.internal.sessions.CommitManager.commitAllObjectsWithChangeSet(CommitManager.java:185)
     at oracle.toplink.publicinterface.Session.writeAllObjectsWithChangeSet(Session.java:3123)
     at oracle.toplink.publicinterface.UnitOfWork.commitToDatabase(UnitOfWork.java:1242)
     at oracle.toplink.publicinterface.UnitOfWork.commitToDatabaseWithChangeSet(UnitOfWork.java:1330)
     at oracle.toplink.publicinterface.UnitOfWork.commitRootUnitOfWork(UnitOfWork.java:1097)
     at oracle.toplink.publicinterface.UnitOfWork.commit(UnitOfWork.java:865)

Can you please post the SQL that is being executed?
Peter

Similar Messages

  • I get an 'Invalid Image Type' error when using the Locate Features. (Evaluatio​n version)

    I'm using the Evaluation Version of Vision Builder. I Simulate Acquisition using my own image (jpg), which loads fine. However, when I try to use any of the Inspection Steps features, other than Enhance Images, I get an "Invalid Image Type" error.

    Hello,
    Vision Builder functions usually work with a certain image type. For example, all the functions listed under Binary (in the menubar) will only work with binary images. Likewise, color functions will work for color images and grayscale will work for grayscale images.
    You can convert a color image into a grayscale by extracting a color plane and a grayscale image can be converted to binary using the threshold function.
    Hope this helps!
    Regards,
    Yusuf C.
    Applications Engineering
    National Instruments

  • Strange behavior with invalid image type error

    Hi,
    I'm currently developing a stereo vision application. I started with the StereoVisionExample provided by NI but want to use my own camera drivers.
    I created the GetImage vi (see attachment) that accepts the camera handle and an allocated image, reads the acquired image from the camera, transforms the image array to a color image and returns it. I tested it with the TestVI (attached) and it works perfectly well.
    Now I wanted to integrate it as image source for the given example application and replace the ExpressVIs but this doesn't work. I get a 1074396080 invalid image type error as soon as the GetImage SubVI is called. The only possibility to run it without an error is to set the image type to RGB64 but in this case the image is not shown correctly. I get the error no matter if I choose Grayscale, HSL or RGB32 for the initial image creation. The strange is that with the TestVI everything works perfect, even with HSL that I'm using to get the grayscale image or RGB32. Basically I didn't do anything except copying the VI from Test to StereoExample. It's driving me crazy that the GetImage VI works perfect in the one but not in the other VI with the same data! What's wrong with that?
    I appreciate your help.
    Attachments:
    getImage.jpg ‏47 KB
    stereoVision example.jpg ‏92 KB
    TestVI.jpg ‏44 KB

    Hello NicoSch!
    In order to reproduce the error, I need the image data generated by the image driver you are using. Please wire the 2D array with the image data to a control on the frontpanel and run the VI. With the data now displayed, right-click the control and choose "Data Operations > Make Current Value Default" to save the data in the control. Please attach the VI to a new forum post.
    Additionally, can you describe the type of image acquired by the camera? Is the 2D array a 32bit RGB image? What camera and LabVIEW version are you using?
    Regards,
      Georg

  • 1394 invalid image type

    I am trying to use the NIIMAQ1394 functions in VB. I finaly figured out how to snap an image into the CWIMAQViewer, but when I try to use it as a CWIMAQViewer.Image after it is displayed in the viewer in a CWIMAQVision Function I recieve invlaid image type error. Below is the code I am trying to use.
    errorCode = imaq1394SnapCW(sid, myImage2)
    If (errorCode <> IMG1394_ERR_GOOD) Then
    DisplayError (errorCode)
    Stopped_Click
    End If
    CWIMAQVision1.Threshold CWIMAQViewer1.Image, myImage, 150, 255
    So what I really want to know is how to you use the images aquired in the NIIMAQ1394 in all these NIVision Functions for Measurement Studio?

    You have to make sure you are capturing the image in MONO form. The CWIMAQVISION cant handle color images from the viewer. It will just crash your whole computer and not give you an error that you may need to use a 8 bit image.

  • Error configuring Microsoft SQLSERVER 2005 with OIM 9.1.0.1

    Hi All,
    I was trying to Configure Microsoft SQLSERVER 2005 as a IT Resource with OIM 9.1.0.1. However after completing all the configuration,
    When I tried assigning the configured SQLSERVER IT Resource to a User, following error is thrown:
    Response: wrong number of arguments
    Response Description: Unknown response received
    Notes:
    *Assigned to User:  System Administrator[XELSYSADM]*
    Error Details
    Setting task status... "wrong number of arguments" does not correspond to a known Response Code. Using "UNKNOWN".
    If anyone has encountered this error before, then please help.
    Thanks
    Sunny
    Edited by: ajmerasunny on May 14, 2009 5:57 PM

    Are you using the Database User Management connector and trying to provision accounts to a MS SQL Server? Can you also post the logs from the error.
    -Kevin

  • Error -1074396077 (IMAQ Vision: Incompatible image type) after running IMAQ Mask

    I am attempting to process color picture of pellet. I want to exclude any particle that touches the edges of the color images. I created mask from original image and used this mask on the original color image to retain only the color particles that don't touch the boundary. The error occured  when I ran the IMAQ Mask. The error message is “Error -1074396077 (IMAQ Vision:  Incompatible image type)”. How can I fix it ?
    I have picture and program as attached.
    Attachments:
    color sorter 01f.vi ‏87 KB
    Red01a1.jpg ‏30 KB

    Hi XuanThuy,
    The IMAQ Cast function is part of the Vision Development Module (VDM), under the Image Management Palette, as indicated by this document: http://zone.ni.com/reference/en-XX/help/370281P-01/imaqvision/imaq_cast_image/. If you can't locate it and you indeed have the VDM, there may be an issue with the installation of this module. A similar issue has been encountered and resolved in this forum post: http://forums.ni.com/t5/Machine-Vision/can-t-find-IMAQ-cast-image-vi/td-p/340157. What version of the vision software are you using?

  • How to deal with image type from SQL*Server2005

    when using transparent gateway between oracle 10 g and SQL*Server 2005 querying image type from SQL*Server 2005 error returned as follow:
    ORA-28500: When ORACLE connect to a non-Oracle system return this information:
    [Transparent gateway for MSSQL] (SQL State: 00000; SQL Code: 2090171257)
    ORA-02063: Followed by 2 lines (From OKFOC)
    My SQL is: select "attachment" from table@dblink where "empid"=empid
    I am using image type to store attachments.
    Regards!
    Edited by: BK_Ferdinand on 2013-1-10 下午7:09

    (0) Original SQL:
    (0) select NON_UNIQUE , INDEX_NAME , TYPE , SEQ_IN_INDEX , COLLATION ,
    CARDINALITY , COLUMN_NAME from NAV_PROC : SP_STATISTICS ( 'OKFOC' , '%'
    , 'T_FLY_FLYER_REWARD' , 1 , 0 , 0 ) order by 3 , 1 , 2 , 4
    (0)
    (0)
    (0) Accessing saved query spec SP_STATISTICS()
    (0) from NAV_PROC DB
    (0)
    Execution Strategy End >>>>>>>>>>>>>>>>>>>>>>>>>>>>(0) <PROC> : -->>>> OPEN
    (0) <PROC> < OK>: OPEN SP_STATISTICS(0)
    (0) <PROC> : -->>>> SET_BUFFER
    (0) <PROC> < OK>: SET_BUFFER SP_STATISTICS(0)
    (0) <PROC> : -->>>> SET_PARAMS
    (0) <PROC> < OK>: SET_PARAMS SP_STATISTICS(0)
    (0) <PROC> : -->>>> FETCH
    (0) <PROC> < OK>: FETCH SP_STATISTICS(0)
    (0) <PROC> : -->>>> FETCH
    (0) <PROC> < EOS>: FETCH SP_STATISTICS(0)
    (0) <PROC> : -->>>> CLOSE
    (0) <PROC> < OK>: CLOSE SP_STATISTICS(0)
    (0) HOAUTIL.C (1259): ; ------ hoadtab (hoat) -------:
    (0) HOAUTIL.C (1262): ; hoatnam: T_FLY_FLYER_REWARD, hoatnml: 18,
    hoatnrw: 3,
    (0) hoatarl: 1881
    (0) HOAUTIL.C (1273): ; ------ hoadtab (hoai) -------:
    (0) HOAUTIL.C (1274): ; n_index_stat: 0
    (0) HOAUTIL.C (1224): ; -------- hoadtab for table T_FLY_FLYER_REWARD--
    (0) HOAUTIL.C (1225): ; hoadamsz: 12, hoadasiz: 12, hoadambr: 1,
    hoadabrc: 0
    (0) HOAUTIL.C (1228): ; row 0 - hoadambl: 4, hoadadty: 8, hoadaprc: 10,
    hoadacst: 0
    (0) HOAUTIL.C (1232): ; row 0 - hoadascl: 0, hoadanul: 1, hoadanml: 4,
    hoadanam:
    (0) pkid, hoadabfl: 4, hoadamod: 0
    (0) HOAUTIL.C (1228): ; row 1 - hoadambl: 4, hoadadty: 8, hoadaprc: 10,
    hoadacst: 0
    (0) HOAUTIL.C (1232): ; row 1 - hoadascl: 0, hoadanul: 1, hoadanml: 5,
    hoadanam:
    (0) empid, hoadabfl: 4, hoadamod: 0
    (0) HOAUTIL.C (1228): ; row 2 - hoadambl: 7, hoadadty: 167, hoadaprc: 0,
    hoadacst:
    (0) 0
    (0) HOAUTIL.C (1232): ; row 2 - hoadascl: 0, hoadanul: 1, hoadanml: 9,
    hoadanam:
    (0) startdate, hoadabfl: 7, hoadamod: 0
    (0) HOAUTIL.C (1228): ; row 3 - hoadambl: 7, hoadadty: 167, hoadaprc: 0,
    hoadacst:
    (0) 0
    (0) HOAUTIL.C (1232): ; row 3 - hoadascl: 0, hoadanul: 1, hoadanml: 7,
    hoadanam:
    (0) enddate, hoadabfl: 7, hoadamod: 0
    (0) HOAUTIL.C (1228): ; row 4 - hoadambl: 8, hoadadty: 14, hoadaprc: 8,
    hoadacst:
    (0) 1000
    (0) HOAUTIL.C (1232): ; row 4 - hoadascl: 0, hoadanul: 1, hoadanml: 6,
    hoadanam:
    (0) recate, hoadabfl: 8, hoadamod: 0
    (0) HOAUTIL.C (1228): ; row 5 - hoadambl: 100, hoadadty: 14, hoadaprc:
    100,
    (0) hoadacst: 1000
    (0) HOAUTIL.C (1232): ; row 5 - hoadascl: 0, hoadanul: 1, hoadanml: 6,
    hoadanam:
    (0) retype, hoadabfl: 100, hoadamod: 0
    (0) HOAUTIL.C (1228): ; row 6 - hoadambl: 400, hoadadty: 14, hoadaprc:
    400,
    (0) hoadacst: 1000
    (0) HOAUTIL.C (1232): ; row 6 - hoadascl: 0, hoadanul: 1, hoadanml: 7,
    hoadanam:
    (0) rereson, hoadabfl: 400, hoadamod: 0
    (0) HOAUTIL.C (1228): ; row 7 - hoadambl: 1000, hoadadty: 14, hoadaprc:
    1000,
    (0) hoadacst: 1000
    (0) HOAUTIL.C (1232): ; row 7 - hoadascl: 0, hoadanul: 1, hoadanml: 6,
    hoadanam:
    (0) remark, hoadabfl: 1000, hoadamod: 0
    (0) HOAUTIL.C (1228): ; row 8 - hoadambl: 40, hoadadty: 14, hoadaprc:
    40,
    (0) hoadacst: 1000
    (0) HOAUTIL.C (1232): ; row 8 - hoadascl: 0, hoadanul: 1, hoadanml: 12,
    hoadanam:
    (0) lastmodifier, hoadabfl: 40, hoadamod: 0
    (0) HOAUTIL.C (1228): ; row 9 - hoadambl: 7, hoadadty: 167, hoadaprc: 0,
    hoadacst:
    (0) 0
    (0) HOAUTIL.C (1232): ; row 9 - hoadascl: 0, hoadanul: 1, hoadanml: 14,
    hoadanam:
    (0) lastmodifidate, hoadabfl: 7, hoadamod: 0
    (0) HOAUTIL.C (1228): ; row 10 - hoadambl: 2147483647, hoadadty: 166,
    hoadaprc:
    (0) 2147483647, hoadacst: 0
    (0) HOAUTIL.C (1232): ; row 10 - hoadascl: 0, hoadanul: 1, hoadanml: 10,
    hoadanam:
    (0) attachment, hoadabfl: 2147483647, hoadamod: 0
    (0) HOAUTIL.C (1228): ; row 11 - hoadambl: 200, hoadadty: 14, hoadaprc:
    200,
    (0) hoadacst: 1000
    (0) HOAUTIL.C (1232): ; row 11 - hoadascl: 0, hoadanul: 1, hoadanml: 14,
    hoadanam:
    (0) attachmentname, hoadabfl: 200, hoadamod: 0
    (0) hoadtab (26): ; hoadtab Exited with retcode = 0.
    (0) hoadafr (23): ; hoadafr Entered. id = 0.
    (0) hoadafr (23): ; hoadafr Exited with retcode = 0.
    (0) hoapars (15): ; hoapars Entered. stmtType = 0, id = 1.
    (0) nvOUT (F:\Work\Connect_4_6_3\src\qp\QP_SQTXT.C 55): SELECT
    A1."attachment"
    (0) FROM "T_FLY_FLYER_REWARD" A1 WHERE A1."empid"=10004036
    (0) nvRETURN (F:\Work\Connect_4_6_3\src\qp\qpsynon.c 1140): -1
    (0) SELECT "A1"."attachmentname" AS c001, "A1"."lastmodifidate" AS
    c002, "A1"."lastmodifier" AS c003, "A1"."remark" AS c004, "A1"."rereson"
    AS c005, "A1"."retype" AS c006, "A1"."recate" AS c007, "A1"."enddate" AS
    c008, "A1"."startdate" AS c009, "A1"."empid" AS c010, "A1"."pkid" AS
    c011 FROM "T_FLY_FLYER_REWARD" "A1" WHERE ("A1"."empid" = 10004036)
    (0)
    (0) r: 74 0 SQLAllocStmt:- hdbc=14247C0,pst=12E7C0
    (0) r: 113 0 SQLPrepare:- hst=14254F0, css=14785772
    (0) Ssss = SELECT "A1"."attachmentname" AS c001,
    "A1"."lastmodifid
    ate" AS c002, "A1"."lastmodifier" AS c003, "A1"."remark"
    AS c0
    04, "A1"."rereson" AS c005, "A1"."retype" AS c006,
    "A1"."recat
    e" AS c007, "A1"."enddate" AS c008, "A1"."startdate" AS
    c009,
    "A1"."empid" AS c010, "A1"."pkid" AS c011 FROM
    "T_FLY_FLYER_RE
    WARD" "A1" WHERE ("A1"."empid" = 10004036)
    (0) r: 863 0 SQLNumResultCols:- hst=14254F0,pcol=11
    (0) r: 886 0 SQLDescribeCol:-
    hst=14254F0,icol=1,scn=c001,cnm=64,pcn=12E6DE,p
    st=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
    (0) r: 903 0 SQLColAttributes:-
    hst=14254F0,icol=1,fdt=10,rgbd=0,cbdm=0,pcbd=
    0,pfd=12E6E0
    (0) r: 909 0 SQLColAttributes:-
    hst=14254F0,icol=1,fdt=11,rgbd=0,cbdm=0,pcbd=
    0,pfd=12E6E4
    (0) r: 886 0 SQLDescribeCol:-
    hst=14254F0,icol=2,scn=c002,cnm=64,pcn=12E6DE,p
    st=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
    (0) r: 903 0 SQLColAttributes:-
    hst=14254F0,icol=2,fdt=10,rgbd=0,cbdm=0,pcbd=
    0,pfd=12E6E0
    (0) r: 909 0 SQLColAttributes:-
    hst=14254F0,icol=2,fdt=11,rgbd=0,cbdm=0,pcbd=
    0,pfd=12E6E4
    (0) r: 886 0 SQLDescribeCol:-
    hst=14254F0,icol=3,scn=c003,cnm=64,pcn=12E6DE,p
    st=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
    (0) r: 903 0 SQLColAttributes:-
    hst=14254F0,icol=3,fdt=10,rgbd=0,cbdm=0,pcbd=
    0,pfd=12E6E0
    (0) r: 909 0 SQLColAttributes:-
    hst=14254F0,icol=3,fdt=11,rgbd=0,cbdm=0,pcbd=
    0,pfd=12E6E4
    (0) r: 886 0 SQLDescribeCol:-
    hst=14254F0,icol=4,scn=c004,cnm=64,pcn=12E6DE,p
    st=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
    (0) r: 903 0 SQLColAttributes:-
    hst=14254F0,icol=4,fdt=10,rgbd=0,cbdm=0,pcbd=
    0,pfd=12E6E0
    (0) r: 909 0 SQLColAttributes:-
    hst=14254F0,icol=4,fdt=11,rgbd=0,cbdm=0,pcbd=
    0,pfd=12E6E4
    (0) r: 886 0 SQLDescribeCol:-
    hst=14254F0,icol=5,scn=c005,cnm=64,pcn=12E6DE,p
    st=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
    (0) r: 903 0 SQLColAttributes:-
    hst=14254F0,icol=5,fdt=10,rgbd=0,cbdm=0,pcbd=
    0,pfd=12E6E0
    (0) r: 909 0 SQLColAttributes:-
    hst=14254F0,icol=5,fdt=11,rgbd=0,cbdm=0,pcbd=
    0,pfd=12E6E4
    (0) r: 886 0 SQLDescribeCol:-
    hst=14254F0,icol=6,scn=c006,cnm=64,pcn=12E6DE,p
    st=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
    (0) r: 903 0 SQLColAttributes:-
    hst=14254F0,icol=6,fdt=10,rgbd=0,cbdm=0,pcbd=
    0,pfd=12E6E0
    (0) r: 909 0 SQLColAttributes:-
    hst=14254F0,icol=6,fdt=11,rgbd=0,cbdm=0,pcbd=
    0,pfd=12E6E4
    (0) r: 886 0 SQLDescribeCol:-
    hst=14254F0,icol=7,scn=c007,cnm=64,pcn=12E6DE,p
    st=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
    (0) r: 903 0 SQLColAttributes:-
    hst=14254F0,icol=7,fdt=10,rgbd=0,cbdm=0,pcbd=
    0,pfd=12E6E0
    (0) r: 909 0 SQLColAttributes:-
    hst=14254F0,icol=7,fdt=11,rgbd=0,cbdm=0,pcbd=
    0,pfd=12E6E4
    (0) r: 886 0 SQLDescribeCol:-
    hst=14254F0,icol=8,scn=c008,cnm=64,pcn=12E6DE,p
    st=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
    (0) r: 903 0 SQLColAttributes:-
    hst=14254F0,icol=8,fdt=10,rgbd=0,cbdm=0,pcbd=
    0,pfd=12E6E0
    (0) r: 909 0 SQLColAttributes:-
    hst=14254F0,icol=8,fdt=11,rgbd=0,cbdm=0,pcbd=
    0,pfd=12E6E4
    (0) r: 886 0 SQLDescribeCol:-
    hst=14254F0,icol=9,scn=c009,cnm=64,pcn=12E6DE,p
    st=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
    (0) r: 903 0 SQLColAttributes:-
    hst=14254F0,icol=9,fdt=10,rgbd=0,cbdm=0,pcbd=
    0,pfd=12E6E0
    (0) r: 909 0 SQLColAttributes:-
    hst=14254F0,icol=9,fdt=11,rgbd=0,cbdm=0,pcbd=
    0,pfd=12E6E4
    (0) r: 886 0 SQLDescribeCol:-
    hst=14254F0,icol=10,scn=c010,cnm=64,pcn=12E6DE,
    pst=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
    (0) r: 903 0 SQLColAttributes:-
    hst=14254F0,icol=10,fdt=10,rgbd=0,cbdm=0,pcbd
    =0,pfd=12E6E0
    (0) r: 909 0 SQLColAttributes:-
    hst=14254F0,icol=10,fdt=11,rgbd=0,cbdm=0,pcbd
    =0,pfd=12E6E4
    (0) r: 886 0 SQLDescribeCol:-
    hst=14254F0,icol=11,scn=c011,cnm=64,pcn=12E6DE,
    pst=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
    (0) r: 903 0 SQLColAttributes:-
    hst=14254F0,icol=11,fdt=10,rgbd=0,cbdm=0,pcbd
    =0,pfd=12E6E0
    (0) r: 909 0 SQLColAttributes:-
    hst=14254F0,icol=11,fdt=11,rgbd=0,cbdm=0,pcbd
    =0,pfd=12E6E4
    (0) r: 147 0 SQLFreeStmt:- hst=14254F0, fop=1
    (0) <<<<<<<<<<<<<<<<<<< Execution Strategy Begin
    <<<<<<<<<<<<<<<<<<<<<<<<<<<<
    (0) Original SQL:
    (0) SELECT A1 . "attachment" FROM "T_FLY_FLYER_REWARD" A1 WHERE A1 .
    "empid" = 10004036
    (0)
    (0)
    (0) Accessing Database 'OKFOC' with SQL:
    (0) SELECT "A1"."attachmentname" AS c001, "A1"."lastmodifidate" AS
    c002, "A1"."lastmodifier" AS c003, "A1"."remark" AS c004, "A1"."rereson"
    AS c005, "A1"."retype" AS c006, "A1"."recate" AS c007, "A1"."enddate" AS
    c008, "A1"."startdate" AS c009, "A1"."empid" AS c010, "A1"."pkid" AS
    c011 FROM "T_FLY_FLYER_REWARD" "A1" WHERE ("A1"."empid" = 10004036)
    (0)
    (0)
    Execution Strategy End >>>>>>>>>>>>>>>>>>>>>>>>>>>>(0) hoapars (15): ; hoapars Exited with retcode = 0.
    (0) hoaopen (19): ; hoaopen Entered. id = 1.
    (0) hoaopen (19): ; hoaopen Exited with retcode = 0.
    (0) hoadscr (16): ; hoadscr Entered. id = 1.
    (0) hoastmt.c (304): ; Array fetch size is: 1.
    (0) HOAUTIL.C (1224): ; ------ hoadscr() -------:
    (0) HOAUTIL.C (1225): ; hoadamsz: 1, hoadasiz: 1, hoadambr: 1, hoadabrc:
    1
    (0) HOAUTIL.C (1228): ; row 0 - hoadambl: 2147483647, hoadadty: 166,
    hoadaprc:
    (0) 2147483647, hoadacst: 0
    (0) HOAUTIL.C (1232): ; row 0 - hoadascl: 0, hoadanul: 1, hoadanml: 13,
    hoadanam:
    (0) A1.attachment, hoadabfl: 2147483647, hoadamod: 0
    (0) hoadscr (16): ; hoadscr Exited with retcode = 0.
    (0) hoaftch (21): ; hoaftch Entered. id = 1.
    (0) apiutil.c (0): ; hoaftch()::
    (0) apiutil.c (0): ; Column 0 - pszName: A1.attachment, size: 1827, id:
    0, width:
    (0) 1827, scale: 0, flags: 68.
    (0) SELECT "A1"."attachmentname" AS c001, "A1"."lastmodifidate" AS
    c002, "A1"."lastmodifier" AS c003, "A1"."remark" AS c004, "A1"."rereson"
    AS c005, "A1"."retype" AS c006, "A1"."recate" AS c007, "A1"."enddate" AS
    c008, "A1"."startdate" AS c009, "A1"."empid" AS c010, "A1"."pkid" AS
    c011 FROM "T_FLY_FLYER_REWARD" "A1" WHERE ("A1"."empid" = 10004036)
    (0)
    (0) r: 74 0 SQLAllocStmt:- hdbc=14247C0,pst=12EBBC
    (0) r: 113 0 SQLPrepare:- hst=14254F0, css=14635668
    (0) Ssss = SELECT "A1"."attachmentname" AS c001,
    "A1"."lastmodifid
    ate" AS c002, "A1"."lastmodifier" AS c003, "A1"."remark"
    AS c0
    04, "A1"."rereson" AS c005, "A1"."retype" AS c006,
    "A1"."recat
    e" AS c007, "A1"."enddate" AS c008, "A1"."startdate" AS
    c009,
    "A1"."empid" AS c010, "A1"."pkid" AS c011 FROM
    "T_FLY_FLYER_RE
    WARD" "A1" WHERE ("A1"."empid" = 10004036)
    (0) r: 863 0 SQLNumResultCols:- hst=14254F0,pcol=11
    (0) r: 886 0 SQLDescribeCol:-
    hst=14254F0,icol=1,scn=c001,cnm=64,pcn=12EADA,p
    st=12EAF0,pcd=12EAE8,psc=12EAEC,pnul=12EAE4
    (0) r: 903 0 SQLColAttributes:-
    hst=14254F0,icol=1,fdt=10,rgbd=0,cbdm=0,pcbd=
    0,pfd=12EADC
    (0) r: 909 0 SQLColAttributes:-
    hst=14254F0,icol=1,fdt=11,rgbd=0,cbdm=0,pcbd=
    0,pfd=12EAE0
    (0) r: 886 0 SQLDescribeCol:-
    hst=14254F0,icol=2,scn=c002,cnm=64,pcn=12EADA,p
    st=12EAF0,pcd=12EAE8,psc=12EAEC,pnul=12EAE4
    (0) r: 903 0 SQLColAttributes:-
    hst=14254F0,icol=2,fdt=10,rgbd=0,cbdm=0,pcbd=
    0,pfd=12EADC
    (0) r: 909 0 SQLColAttributes:-
    hst=14254F0,icol=2,fdt=11,rgbd=0,cbdm=0,pcbd=
    0,pfd=12EAE0
    (0) r: 886 0 SQLDescribeCol:-
    hst=14254F0,icol=3,scn=c003,cnm=64,pcn=12EADA,p
    st=12EAF0,pcd=12EAE8,psc=12EAEC,pnul=12EAE4
    (0) r: 903 0 SQLColAttributes:-
    hst=14254F0,icol=3,fdt=10,rgbd=0,cbdm=0,pcbd=
    0,pfd=12EADC
    (0) r: 909 0 SQLColAttributes:-
    hst=14254F0,icol=3,fdt=11,rgbd=0,cbdm=0,pcbd=
    0,pfd=12EAE0
    (0) r: 886 0 SQLDescribeCol:-
    hst=14254F0,icol=4,scn=c004,cnm=64,pcn=12EADA,p
    st=12EAF0,pcd=12EAE8,psc=12EAEC,pnul=12EAE4
    (0) r: 903 0 SQLColAttributes:-
    hst=14254F0,icol=4,fdt=10,rgbd=0,cbdm=0,pcbd=
    0,pfd=12EADC
    (0) r: 909 0 SQLColAttributes:-
    hst=14254F0,icol=4,fdt=11,rgbd=0,cbdm=0,pcbd=
    0,pfd=12EAE0
    (0) r: 886 0 SQLDescribeCol:-
    hst=14254F0,icol=5,scn=c005,cnm=64,pcn=12EADA,p
    st=12EAF0,pcd=12EAE8,psc=12EAEC,pnul=12EAE4
    (0) r: 903 0 SQLColAttributes:-
    hst=14254F0,icol=5,fdt=10,rgbd=0,cbdm=0,pcbd=
    0,pfd=12EADC
    (0) r: 909 0 SQLColAttributes:-
    hst=14254F0,icol=5,fdt=11,rgbd=0,cbdm=0,pcbd=
    0,pfd=12EAE0
    (0) r: 886 0 SQLDescribeCol:-
    hst=14254F0,icol=6,scn=c006,cnm=64,pcn=12EADA,p
    st=12EAF0,pcd=12EAE8,psc=12EAEC,pnul=12EAE4
    (0) r: 903 0 SQLColAttributes:-
    hst=14254F0,icol=6,fdt=10,rgbd=0,cbdm=0,pcbd=
    0,pfd=12EADC
    (0) r: 909 0 SQLColAttributes:-
    hst=14254F0,icol=6,fdt=11,rgbd=0,cbdm=0,pcbd=
    0,pfd=12EAE0
    (0) r: 886 0 SQLDescribeCol:-
    hst=14254F0,icol=7,scn=c007,cnm=64,pcn=12EADA,p
    st=12EAF0,pcd=12EAE8,psc=12EAEC,pnul=12EAE4
    (0) r: 903 0 SQLColAttributes:-
    hst=14254F0,icol=7,fdt=10,rgbd=0,cbdm=0,pcbd=
    0,pfd=12EADC
    (0) r: 909 0 SQLColAttributes:-
    hst=14254F0,icol=7,fdt=11,rgbd=0,cbdm=0,pcbd=
    0,pfd=12EAE0
    (0) r: 886 0 SQLDescribeCol:-
    hst=14254F0,icol=8,scn=c008,cnm=64,pcn=12EADA,p
    st=12EAF0,pcd=12EAE8,psc=12EAEC,pnul=12EAE4
    (0) r: 903 0 SQLColAttributes:-
    hst=14254F0,icol=8,fdt=10,rgbd=0,cbdm=0,pcbd=
    0,pfd=12EADC
    (0) r: 909 0 SQLColAttributes:-
    hst=14254F0,icol=8,fdt=11,rgbd=0,cbdm=0,pcbd=
    0,pfd=12EAE0
    (0) r: 886 0 SQLDescribeCol:-
    hst=14254F0,icol=9,scn=c009,cnm=64,pcn=12EADA,p
    st=12EAF0,pcd=12EAE8,psc=12EAEC,pnul=12EAE4
    (0) r: 903 0 SQLColAttributes:-
    hst=14254F0,icol=9,fdt=10,rgbd=0,cbdm=0,pcbd=
    0,pfd=12EADC
    (0) r: 909 0 SQLColAttributes:-
    hst=14254F0,icol=9,fdt=11,rgbd=0,cbdm=0,pcbd=
    0,pfd=12EAE0
    (0) r: 886 0 SQLDescribeCol:-
    hst=14254F0,icol=10,scn=c010,cnm=64,pcn=12EADA,
    pst=12EAF0,pcd=12EAE8,psc=12EAEC,pnul=12EAE4
    (0) r: 903 0 SQLColAttributes:-
    hst=14254F0,icol=10,fdt=10,rgbd=0,cbdm=0,pcbd
    =0,pfd=12EADC
    (0) r: 909 0 SQLColAttributes:-
    hst=14254F0,icol=10,fdt=11,rgbd=0,cbdm=0,pcbd
    =0,pfd=12EAE0
    (0) r: 886 0 SQLDescribeCol:-
    hst=14254F0,icol=11,scn=c011,cnm=64,pcn=12EADA,
    pst=12EAF0,pcd=12EAE8,psc=12EAEC,pnul=12EAE4
    (0) r: 903 0 SQLColAttributes:-
    hst=14254F0,icol=11,fdt=10,rgbd=0,cbdm=0,pcbd
    =0,pfd=12EADC
    (0) r: 909 0 SQLColAttributes:-
    hst=14254F0,icol=11,fdt=11,rgbd=0,cbdm=0,pcbd
    =0,pfd=12EAE0
    (0) r: 147 0 SQLFreeStmt:- hst=14254F0, fop=1
    (0) e: 744 0 SQLAllocStmt:- hdbc=14247C0,pst=DF7A98
    (0) e: 760 0 SQLPrepare:- hst=14254F0, css=14646584
    (0) Ssss = SELECT "A1"."attachmentname" AS c001,
    "A1"."lastmodifid
    ate" AS c002, "A1"."lastmodifier" AS c003, "A1"."remark"
    AS c0
    04, "A1"."rereson" AS c005, "A1"."retype" AS c006,
    "A1"."recat
    e" AS c007, "A1"."enddate" AS c008, "A1"."startdate" AS
    c009,
    "A1"."empid" AS c010, "A1"."pkid" AS c011 FROM
    "T_FLY_FLYER_RE
    WARD" "A1" WHERE ("A1"."empid" = 10004036)
    (0) e: 765 0 SQLNumResultCols:- hst=14254F0,pcol=11
    (0) e: 782 0 SQLDescribeCol:-
    hst=14254F0,icol=1,scn=c001,cnm=128,pcn=DFE17A,
    pst=DFE17C,pcd=DFE180,psc=DFE184,pnul=DFE186
    (0) e: 782 0 SQLDescribeCol:-
    hst=14254F0,icol=2,scn=c002,cnm=128,pcn=DFE22A,
    pst=DFE22C,pcd=DFE230,psc=DFE234,pnul=DFE236
    (0) e: 782 0 SQLDescribeCol:-
    hst=14254F0,icol=3,scn=c003,cnm=128,pcn=DFE2DA,
    pst=DFE2DC,pcd=DFE2E0,psc=DFE2E4,pnul=DFE2E6
    (0) e: 782 0 SQLDescribeCol:-
    hst=14254F0,icol=4,scn=c004,cnm=128,pcn=DFE38A,
    pst=DFE38C,pcd=DFE390,psc=DFE394,pnul=DFE396
    (0) e: 782 0 SQLDescribeCol:-
    hst=14254F0,icol=5,scn=c005,cnm=128,pcn=DFE43A,
    pst=DFE43C,pcd=DFE440,psc=DFE444,pnul=DFE446
    (0) e: 782 0 SQLDescribeCol:-
    hst=14254F0,icol=6,scn=c006,cnm=128,pcn=DFE52A,
    pst=DFE52C,pcd=DFE530,psc=DFE534,pnul=DFE536
    (0) e: 782 0 SQLDescribeCol:-
    hst=14254F0,icol=7,scn=c007,cnm=128,pcn=DFE5DA,
    pst=DFE5DC,pcd=DFE5E0,psc=DFE5E4,pnul=DFE5E6
    (0) e: 782 0 SQLDescribeCol:-
    hst=14254F0,icol=8,scn=c008,cnm=128,pcn=DFE68A,
    pst=DFE68C,pcd=DFE690,psc=DFE694,pnul=DFE696
    (0) e: 782 0 SQLDescribeCol:-
    hst=14254F0,icol=9,scn=c009,cnm=128,pcn=DFE73A,
    pst=DFE73C,pcd=DFE740,psc=DFE744,pnul=DFE746
    (0) e: 782 0 SQLDescribeCol:-
    hst=14254F0,icol=10,scn=c010,cnm=128,pcn=DFE7EA
    ,pst=DFE7EC,pcd=DFE7F0,psc=DFE7F4,pnul=DFE7F6
    (0) e: 782 0 SQLDescribeCol:-
    hst=14254F0,icol=11,scn=c011,cnm=128,pcn=DFE8EA
    ,pst=DFE8EC,pcd=DFE8F0,psc=DFE8F4,pnul=DFE8F6
    (0) e: 502 0 SQLBindCol:- hst=14254F0,icl=1,fct=-
    8,rgv=DFF114,cbvm=202,pcv=14
    674388
    (0) e: 502 0 SQLBindCol:-
    hst=14254F0,icl=2,fct=99,rgv=E04024,cbvm=16,pcv=146
    98084
    (0) e: 502 0 SQLBindCol:- hst=14254F0,icl=3,fct=-
    8,rgv=E0504C,cbvm=42,pcv=146
    98484
    (0) e: 502 0 SQLBindCol:- hst=14254F0,icl=4,fct=-
    8,rgv=E2B004,cbvm=1002,pcv=1
    4698884
    (0) e: 502 0 SQLBindCol:- hst=14254F0,icl=5,fct=-
    8,rgv=E060DC,cbvm=402,pcv=14
    699284
    (0) e: 502 0 SQLBindCol:- hst=14254F0,icl=6,fct=-
    8,rgv=E43794,cbvm=102,pcv=14
    699684
    (0) e: 502 0 SQLBindCol:- hst=14254F0,icl=7,fct=-
    8,rgv=E0FE0C,cbvm=10,pcv=147
    46100
    (0) e: 502 0 SQLBindCol:-
    hst=14254F0,icl=8,fct=99,rgv=E10384,cbvm=16,pcv=147
    48100
    (0) e: 502 0 SQLBindCol:-
    hst=14254F0,icl=9,fct=99,rgv=E10E34,cbvm=16,pcv=147
    50836
    (0) e: 502 0 SQLBindCol:-
    hst=14254F0,icl=10,fct=99,rgv=E11604,cbvm=4,pcv=147
    51636
    (0) e: 502 0 SQLBindCol:-
    hst=14254F0,icl=11,fct=99,rgv=E11924,cbvm=4,pcv=147
    52436
    (0) e: 359 0 SQLSetStmtOption:- hst=14254F0, fop=0 , vprm=0
    (0) e: 365 0 SQLExecute:- hst=14254F0
    (0) e: 396 0 SQLSetStmtOption:- hst=14254F0, fop=9 , vprm=100
    (0) e: 400 0 SQLExtendedFetch:- hstm=14254F0, fft=1, irow=0,
    pcrw=DF7AC8, rgr
    s=DFE90C
    (0) hoautil.c (561): ; Requested chunk length: 65536
    (0) SELECT "attachment" FROM "T_FLY_FLYER_REWARD" WHERE "pkid"=3 AND
    (0) "empid"=10004036 AND "startdate"={ts '2012-12-28 00:00:00.000'} AND
    (0) "enddate"={ts '2012-12-28 00:00:00.000'} AND "recate"='0' AND
    "retype"='0' AND
    (0) "rereson"='5858' AND "remark"='' AND "lastmodifier"='7' AND
    (0) "lastmodifidate"={ts '2012-12-28 10:41:03.070'} AND
    (0) "attachmentname"='飞行准备网一期演示沟通会议.doc
    (0) '
    (0) UPDATE "T_FLY_FLYER_REWARD" SET "attachment" = ? WHERE "pkid"=3 AND
    (0) "empid"=10004036 AND "startdate"={ts '2012-12-28 00:00:00.000'} AND
    (0) "enddate"={ts '2012-12-28 00:00:00.000'} AND "recate"='0' AND
    "retype"='0' AND
    (0) "rereson"='5858' AND "remark"='' AND "lastmodifier"='7' AND
    (0) "lastmodifidate"={ts '2012-12-28 10:41:03.070'} AND
    (0) "attachmentname"='飞行准备网一期演示沟通会议.doc
    (0) '
    (0) i: 924 0 SQLAllocConnect:- henv=1424718,phd=12E834
    (0) i: 931 0 SQLSetConnectOption:- hdbc=1424C30, fop=1218 , vprm=1
    (0) i: 938 0 SQLSetConnectOption:- hdbc=1424C30, fop=103 , vprm=0
    (0) i: 945 1 SQLDriverConnect:- hdbc=1424C30, hwnd=0, scsi=12E8C4,
    ccsi=-3, s
    cso=12E9C4, ccsom=1020, pcso=12E83A, fdc=0,
    (0) i: 955 0 SQLGetInfo:- hdbc=1424C30, fit=18 ,rif=12e840, civm=130,
    piv=12E
    83C
    (0) i: 960 0 SQLSetConnectOption:- hdbc=1424C30, fop=1217 , vprm=1
    (0) Created new MSSQLODBC connection (21122096)
    (0) e:1881 0 SQLAllocStmt:- hdbc=1424C30,pst=E1C678
    (0) e:1890 0 SQLSetStmtOption:- hst=14270A0, fop=0 , vprm=0
    (0) e:1896 0 SQLExecDirect:- hst=14270A0, css=-3
    (0) 6sss = SELECT "attachment" FROM "T_FLY_FLYER_REWARD"
    WHERE "pk
    id"=3 AND "empid"=10004036 AND "startdate"={ts '2012-12
    -28 00:
                    00:00.000'} AND "enddate"={ts '2012-12-28 00:00:00.000'}
    AND "
    recate"='0' AND "retype"='0' AND "rereson"='5858' AND
    "remark"
    ='' AND "lastmodifier"='7' AND "lastmodifidate"={ts
    '2012-12-2
                    8 10:41:03.070'} AND "attachmentname"='飞行准备网一期演
    示沟通? 嵋?doc '
    (0) e:1905 0 SQLDescribeCol:- hst=14270A0,icol=1,scn=
    (null),cnm=0,pcn=0,pst=1
    2EDDC,pcd=0,psc=0,pnul=0
    (0) e:1914100 SQLFetch:- hst=14270A0
    (0) i: 591100 SQLError:-
    hnv=1424718,hdbc=21122096,hst=14270a0,sss=00000,pne=
    12EB20,cemm=1239988,pem=1FF
    (0) =14247sem =
    (0) DB_MSSQLODBC_ENGINE (1916): ; (SQL State: 00000; SQL Code: 16)
    (0) DRV_BlobRead: (SQL State: 00000; SQL Code: 16)
    (0)
    (0) nvRETURN (F:\Work\Connect_4_6_3\src\drv\DRV_BLOB.C 249): -1
    (0) hoaftch (21): ; hoaftch Exited with retcode = 28500, hoadabrc = 1.
    (0) hoaclse (22): ; hoaclse Entered. id = 1.
    (0) e: 442 0 SQLFreeStmt:- hst=14254F0, fop=1
    (0) hoaclse (22): ; hoaclse Exited with retcode = 0.
    (0) hoadafr (23): ; hoadafr Entered. id = 1.
    (0) hoadafr (23): ; hoadafr Exited with retcode = 0.
    (0) hoaroll (12): ; hoaroll Entered. tflag = 1.
    (0) e:1353 0 SQLTransact:- henv=0,hdbc=14247C0, ftp=1
    (0) e:1359 0 SQLSetConnectOption:- hdbc=14247C0, fop=102 , vprm=1
    (0) hoaroll (12): ; hoaroll Exited with retcode = 0.
    (0) hoabegn (9): ; hoabegn Entered. formatID = 306206, hoagttln = 55,
    hoagttid =
    (0) ORCL.REGRESS.RDBMS.DEV.US.ORACLE.COM.f04eafd4.17.20.497, hoagtbln =
    10,
    (0) hoagtbid = , tflag = 0, initial = 0
    (0) e:1005 0 SQLGetConnectOption:- hdbc=14247C0, fop=102 , pvprm=12EA80
    (0) e:1007 0 SQLSetConnectOption:- hdbc=14247C0, fop=108 , vprm=1
    (0) e:1012 0 SQLSetConnectOption:- hdbc=14247C0, fop=102 , vprm=0
    (0) hoabegn (9): ; hoabegn Exited with retcode = 0.
    (0) hoapars (15): ; hoapars Entered. stmtType = 0, id = 1.
    (0) nvOUT (F:\Work\Connect_4_6_3\src\qp\QP_SQTXT.C 55): SELECT
    A1."attachment"
    (0) FROM "T_FLY_FLYER_REWARD" A1 WHERE A1."empid"=10000535
    (0) SELECT "A1"."attachmentname" AS c001, "A1"."lastmodifidate" AS
    c002, "A1"."lastmodifier" AS c003, "A1"."remark" AS c004, "A1"."rereson"
    AS c005, "A1"."retype" AS c006, "A1"."recate" AS c007, "A1"."enddate" AS
    c008, "A1"."startdate" AS c009, "A1"."empid" AS c010, "A1"."pkid" AS
    c011 FROM "T_FLY_FLYER_REWARD" "A1" WHERE ("A1"."empid" = 10000535)
    (0)
    (0) r: 74 0 SQLAllocStmt:- hdbc=14247C0,pst=12E7C0
    (0) r: 113 0 SQLPrepare:- hst=14254F0, css=14606780
    (0) Ssss = SELECT "A1"."attachmentname" AS c001,
    "A1"."lastmodifid
    ate" AS c002, "A1"."lastmodifier" AS c003, "A1"."remark"
    AS c0
    04, "A1"."rereson" AS c005, "A1"."retype" AS c006,
    "A1"."recat
    e" AS c007, "A1"."enddate" AS c008, "A1"."startdate" AS
    c009,
    "A1"."empid" AS c010, "A1"."pkid" AS c011 FROM
    "T_FLY_FLYER_RE
    WARD" "A1" WHERE ("A1"."empid" = 10000535)
    (0) r: 863 0 SQLNumResultCols:- hst=14254F0,pcol=11
    (0) r: 886 0 SQLDescribeCol:-
    hst=14254F0,icol=1,scn=c001,cnm=64,pcn=12E6DE,p
    st=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
    (0) r: 903 0 SQLColAttributes:-
    hst=14254F0,icol=1,fdt=10,rgbd=0,cbdm=0,pcbd=
    0,pfd=12E6E0
    (0) r: 909 0 SQLColAttributes:-
    hst=14254F0,icol=1,fdt=11,rgbd=0,cbdm=0,pcbd=
    0,pfd=12E6E4
    (0) r: 886 0 SQLDescribeCol:-
    hst=14254F0,icol=2,scn=c002,cnm=64,pcn=12E6DE,p
    st=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
    (0) r: 903 0 SQLColAttributes:-
    hst=14254F0,icol=2,fdt=10,rgbd=0,cbdm=0,pcbd=
    0,pfd=12E6E0
    (0) r: 909 0 SQLColAttributes:-
    hst=14254F0,icol=2,fdt=11,rgbd=0,cbdm=0,pcbd=
    0,pfd=12E6E4
    (0) r: 886 0 SQLDescribeCol:-
    hst=14254F0,icol=3,scn=c003,cnm=64,pcn=12E6DE,p
    st=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
    (0) r: 903 0 SQLColAttributes:-
    hst=14254F0,icol=3,fdt=10,rgbd=0,cbdm=0,pcbd=
    0,pfd=12E6E0
    (0) r: 909 0 SQLColAttributes:-
    hst=14254F0,icol=3,fdt=11,rgbd=0,cbdm=0,pcbd=
    0,pfd=12E6E4
    (0) r: 886 0 SQLDescribeCol:-
    hst=14254F0,icol=4,scn=c004,cnm=64,pcn=12E6DE,p
    st=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
    (0) r: 903 0 SQLColAttributes:-
    hst=14254F0,icol=4,fdt=10,rgbd=0,cbdm=0,pcbd=
    0,pfd=12E6E0
    (0) r: 909 0 SQLColAttributes:-
    hst=14254F0,icol=4,fdt=11,rgbd=0,cbdm=0,pcbd=
    0,pfd=12E6E4
    (0) r: 886 0 SQLDescribeCol:-
    hst=14254F0,icol=5,scn=c005,cnm=64,pcn=12E6DE,p
    st=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
    (0) r: 903 0 SQLColAttributes:-
    hst=14254F0,icol=5,fdt=10,rgbd=0,cbdm=0,pcbd=
    0,pfd=12E6E0
    (0) r: 909 0 SQLColAttributes:-
    hst=14254F0,icol=5,fdt=11,rgbd=0,cbdm=0,pcbd=
    0,pfd=12E6E4
    (0) r: 886 0 SQLDescribeCol:-
    hst=14254F0,icol=6,scn=c006,cnm=64,pcn=12E6DE,p
    st=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
    (0) r: 903 0 SQLColAttributes:-
    hst=14254F0,icol=6,fdt=10,rgbd=0,cbdm=0,pcbd=
    0,pfd=12E6E0
    (0) r: 909 0 SQLColAttributes:-
    hst=14254F0,icol=6,fdt=11,rgbd=0,cbdm=0,pcbd=
    0,pfd=12E6E4
    (0) r: 886 0 SQLDescribeCol:-
    hst=14254F0,icol=7,scn=c007,cnm=64,pcn=12E6DE,p
    st=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
    (0) r: 903 0 SQLColAttributes:-
    hst=14254F0,icol=7,fdt=10,rgbd=0,cbdm=0,pcbd=
    0,pfd=12E6E0
    (0) r: 909 0 SQLColAttributes:-
    hst=14254F0,icol=7,fdt=11,rgbd=0,cbdm=0,pcbd=
    0,pfd=12E6E4
    (0) r: 886 0 SQLDescribeCol:-
    hst=14254F0,icol=8,scn=c008,cnm=64,pcn=12E6DE,p
    st=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
    (0) r: 903 0 SQLColAttributes:-
    hst=14254F0,icol=8,fdt=10,rgbd=0,cbdm=0,pcbd=
    0,pfd=12E6E0
    (0) r: 909 0 SQLColAttributes:-
    hst=14254F0,icol=8,fdt=11,rgbd=0,cbdm=0,pcbd=
    0,pfd=12E6E4
    (0) r: 886 0 SQLDescribeCol:-
    hst=14254F0,icol=9,scn=c009,cnm=64,pcn=12E6DE,p
    st=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
    (0) r: 903 0 SQLColAttributes:-
    hst=14254F0,icol=9,fdt=10,rgbd=0,cbdm=0,pcbd=
    0,pfd=12E6E0
    (0) r: 909 0 SQLColAttributes:-
    hst=14254F0,icol=9,fdt=11,rgbd=0,cbdm=0,pcbd=
    0,pfd=12E6E4
    (0) r: 886 0 SQLDescribeCol:-
    hst=14254F0,icol=10,scn=c010,cnm=64,pcn=12E6DE,
    pst=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
    (0) r: 903 0 SQLColAttributes:-
    hst=14254F0,icol=10,fdt=10,rgbd=0,cbdm=0,pcbd
    =0,pfd=12E6E0
    (0) r: 909 0 SQLColAttributes:-
    hst=14254F0,icol=10,fdt=11,rgbd=0,cbdm=0,pcbd
    =0,pfd=12E6E4
    (0) r: 886 0 SQLDescribeCol:-
    hst=14254F0,icol=11,scn=c011,cnm=64,pcn=12E6DE,
    pst=12E6F4,pcd=12E6EC,psc=12E6F0,pnul=12E6E8
    (0) r: 903 0 SQLColAttributes:-
    hst=14254F0,icol=11,fdt=10,rgbd=0,cbdm=0,pcbd
    =0,pfd=12E6E0
    (0) r: 909 0 SQLColAttributes:-
    hst=14254F0,icol=11,fdt=11,rgbd=0,cbdm=0,pcbd
    =0,pfd=12E6E4
    (0) r: 147 0 SQLFreeStmt:- hst=14254F0, fop=1
    (0) <<<<<<<<<<<<<<<<<<< Execution Strategy Begin
    <<<<<<<<<<<<<<<<<<<<<<<<<<<<
    (0) Original SQL:
    (0) SELECT A1 . "attachment" FROM "T_FLY_FLYER_REWARD" A1 WHERE A1 .
    "empid" = 10000535
    (0)

  • How do I find the image type of an image file

    This was posted on the LabView forum in error yesterday,  Please excuse the dual post.
    I am trying to open a JPEG image.  If I do not know the image type (8U, 16I, GrayscaleSingle, ... etc)... is there a way to find out that information?
    If you open the file using IMAQ ReadFile...you have to supply a Create Image input to allocate space...the input specifies a type to read...but if the type of the stored data is not the type specified in the read file you either read the file as the type specified, or the file does not produce any values...(and no error is produced).
    Examples:
    Store a JPEG as a Single Percision Floating point image.
    Use a Creat File to specify that the file is read with the following types...with the following results
    Type Specified        Type Read         Resulting image
    U8                               U8                     8 bit image appears
    16I                               16I
    Solved!
    Go to Solution.

    Hummer1,
    There are two methods to accomplish this:
    1) IMAQ GetFileInfo, which has quite a few outputs involving the image details.
    2) Read JPEG File, which you can unbundle the image data output to get the image depth, or other attributes.
    I would reccomend the IMAQ function, due to it being more detailed.
    Hope this helps
    Chris Van Horn
    Applications Engineer

  • Migration from sqlserver 2005 to Oracle 10.1.0.3

    I'm new to the migration workbench. But I was successful in converting our sqlserver 2005 db to Oracle 10.1.0.3 using the Offline capture method. This isn't a terribly complex db - 100 tables, many are empty. The trouble started when I tried to convert it a second time. True, there was an additional table, and several tables were populated with more data, but I didn't even get past the 'Load Database Capture Scrpt Output' step.
    In preparation for the 2nd migration, I dropped all the SS2K5 tables from the Oracle id I was using to house the migration repository. I deleted the repository as well. So the userid was 'clean'. I set up a new directory to house the scripts that are generated.
    1. Created a new repository. Checked that the MD% tables were indeed created.
    2. Ran 'Create Database Capture Scripts'. Checked the files - they were fine.
    3. Ran the omwb_offline_capture script against the Sqlserver db, from the directory where the scripts were created. .ERR files all empty. .DAT files exist - things are fine.
    4. Logged on to the Oracle connection where the repository resides. Clicked on 'Load Database Capture scripts'. In the popup, I provided the directory path & name of the .ocp file. And the 'Capturing Database' popup displays, but the progress bar isn't moving back & forth. But, if I check in the directories where the .DAT files were generated (in 3.), I see that the .XML files now exist, with the proper timestamp. Also, if I log on to the repository userid, I see that the SS2K5 tables have now been created. So something did indeed happen. But I don't see any list of things being created. (On the original successful migration, I would see entries for nn Tables, nn Foreign Keys, etc.). One point I noticed on the successful migration - the foreign keys part of this step took 2 hours. There's only 224 foreign keys, so I thought that was odd.
    I don't know how to go further here. Anyone have any ideas?

    Hi there, and thanks for the reply.
    I'm using sqldeveloper 1.5.0.53
    I tried it with a new Oracle schema as the migration repository. Same result.
    Running sqldeveloper.exe from the command line doesn't give any error. Is there a file somewhere that an error might be written to, and I'm not seeing it?
    I left the 'Data Capture' popup running overnight & this morning, it was in the same state - no progress bar action, no messages about items being captured, nothing in the 'Captured Objects' pane. So I hit 'Close', and in the message log at the bottom of the screen, I get
    oracle.dbtools.metadata.persistence.PersistableObject.doInsert(PersistableObject.java:238) <timestamp in here>     
    " (the above line is repeated forever). I eventually have to kill Sqldeveloper 'hard' - eg clicking the 'x' in the upper right corner.
    Prior to killing, I can scroll to the bottom of the list of 'forever' lines, and the following 2 lines are displayed:
    OALL8 is in an inconsistent state                                                  <timestamp in here>          
    oracle.dbtools.metadata.persistence.PersistenceException: Protocol violation               <timestamp in here>          
    On the Logging tab I see this:
    Level          Sequence     Elapsed          Source                                   Message
    SEVERE     32          0          oracle.dbtools.raptor.nls.OracleNLSProvider     Error loading nls:Protocol violation     
    I'm completely lost!
    Would I get this kind of problem if, for some reason, no db objects were present in the output generated on the Sqlserver side?
    I notice that, after shutting Sqldeveloper down hard, it doesn't restart easily. I get the product screen, then a blank screen with the 'Sqldeveloper' title bar at the top. Have to close that down hard. If I wait 10-ish minutes, I can start the product up again. This seems odd.

  • Problem connecting JDBC with SQLServer 2005

    * While executing the following JDBC code with SQLServer 2005, it throws Exception
    * I dont wts wrong in my code, (Note: I have included the sqljdbc.jar in my path)
    * Pls let me know the problems in my code
    * Thanks, Following is my code and error
    CODE:
    import java.sql.*;
    public class JDBCwithJava {
         public void work() {
               // Create a variable for the connection string.
               String connectionUrl = "jdbc:sqlserver://localhost:1433;" +"databaseName=empdb";
               // Declare the JDBC objects.
               Connection con = null;
               Statement stmt = null;
               ResultSet rs = null;
               try {
                    //Load the driver
                  Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
                  // Establish the connection.
                  con = DriverManager.getConnection(connectionUrl);
                  System.out.println("Database Successfully Connected...!");
                  //Connection Info
                  DatabaseMetaData dm = con.getMetaData();
                 System.out.println("Driver Information");
                 System.out.println("\t Driver Name: "+ dm.getDriverName());
                 System.out.println("\t Driver Version: "+ dm.getDriverVersion ());
                 System.out.println("\n Database Information ");
                 System.out.println("\t Database Name: "+ dm.getDatabaseProductName());
                 System.out.println("\t Database Version: "+ dm.getDatabaseProductVersion());
                  // Create and execute an SQL statement that returns some data.
                  String SQL = "select  * from emptable";
                  stmt = con.createStatement();
                  rs = stmt.executeQuery(SQL);
                  // Iterate through the data in the result set and display it.
                  while (rs.next()) {
                     System.out.println(rs.getInt(1) + " " + rs.getString(2));
               // Handle any errors that may have occurred.
               catch (Exception e) {
                  e.printStackTrace();
               finally {
                  if (rs != null)
                       try {
                            rs.close();
                      catch(Exception e) {
                  if (stmt != null) try { stmt.close(); } catch(Exception e) {}
                  if (con != null) try { con.close(); } catch(Exception e) {}
         public static void main(String ar[]){
              JDBCwithJava call = new JDBCwithJava();
              call.work();
    OUTPUT with ERROR:
    com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host  has failed. java.net.ConnectException: Connection refused: connect
         at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(Unknown Source)
         at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(Unknown Source)
         at com.microsoft.sqlserver.jdbc.SQLServerConnection.loginWithoutFailover(Unknown Source)
         at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(Unknown Source)
         at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(Unknown Source)
         at java.sql.DriverManager.getConnection(Unknown Source)
         at java.sql.DriverManager.getConnection(Unknown Source)
         at JDBCwithJava.work(JDBCwithJava.java:17)
         at JDBCwithJava.main(JDBCwithJava.java:58)* Please give me your suggestion about the above program.........

    JavaImran wrote:
    RoyGrini wrote :
    Looks like login problems. Username/password or windows authentication logon problem.        * I didnt give any UN and Pwd for my database.........And the
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.loginWithoutFailover(Unknown Source)gives you a 'connection refused'
    Try with providing a SQL username/password. Maybe that will work
    - Roy

  • How to display Image as Error instead of Error Message from Resource Bundle

    hi,
    I want to display images as error instead of error message from Application Properties in struts1.1
    Ex:
    I want to prompt a user to type password length min. of 6 char. If failed, need to show simple image as error rather
    "Length should be min. 6".
    reagrds
    parthiban.

    BalusC wrote:
    RahulSharna wrote:
    in the respective resource bundle modify the value by something was below
    error.password.length=<img src="/images/password-Length.gif" alt="Password Length Issue" align="center"/>
    OK, it apparently allows HTML in error messages.Yes struts allows it :)

  • Incompatible image size error

    Hi,
    I had a program that was working, and then made a copy of it to make some changes.  The main change was to be able to put a BCG correction on the subtracted image.  Now for some strange reason I get an Incompatible image size error.  Can anyone help - also, if you could give me a suggestion soon that would be helpful as I have a deadline coming soon.
    I suspect that I'm missing something obvious, but can't work out what it is.
    Thanks for your help
    Sam Whitehead
    Attachments:
    error.jpg ‏23 KB

    Hi casualfanta,
    I understand that you are using I-16 type greyscale images, but your screen capture does not include the BCG part. I am assuming you are using the IMAQ ColorBCGLookup VI even though you don't need colour, because the input for the IMAQ BCGLookup (no colour) is of U8 type.
    If you are already using IMAQ ColorBCGLookup, then try using the IMAQ Cast Image VI to force a U32 type input and hopefully that'll solve the issue. Let me know if that helps!
    Regards,
    Imtiaz Chowdhury
    Head of Digital Technologies
    Brand786

  • Migration from Sqlserver 2005 to Oracle 10g

    Hi all,
    does anyone know a tool good to migrate a sqlserver 2005 database to oracle 10g ?
    I tried Sqldeveloper and the migration of tables and datas are ok, but when I try to migrate views, functions and procedures the sqldeveloper hangs.
    regards,.
    Wander (Brazil)

    Quite frankly forget using tools for all but the simplest migration: The best you will get from a tool, provided it works, is mediocrity.
    Moving tables and data with tools works if you are using basic data types. Once you get past this, in all seriousness, it is time to roll up your sleeves and start writing code.
    The differences between the two products is profound. What constitutes a transaction different, locking different, logging different, security models different, etc.
    No tool can turn Transact SQL into nested BULK COLLECT and FORALL statements. And for many years into the future ... none will.

  • Error: [SQLServer JDBC Driver]Syntax error at token 0, line 0 offset 0

    Hi:
    I´m working with system driver at de JDBC connection in VA. When a record is inserted/updated this error is display:
    NWMss  SQLServer JDBC Driver  Syntax error at token 0, line 0 offset 0
    The record is inserted/updated but when the operation ends the exception is throw.
    I Google the error but I didn´t find how to solve it.
    Any idea?
    Thanks a lot for your time on this post.
    Rocío.

    Hi,
    Rocío Lorena Suárez wrote:
    NWMss  SQLServer JDBC Driver  Syntax error at token 0, line 0 offset 0
    I think that you may be trying to construct an SQL query using some logic. Is that right?
    I hav encountered this problem when trying these types of code - If possible please debug the code and see if there is any particular case in which the SQL string in which the command is saved becomes null.
    When it is null or blank - the SQL Driver will throw such an error.
    Also, if you can elaborate more on the problem - I can give you some more help.
    Thanks.
    p256960

  • LabWindows/CVI and IMAQ - Invalid Image Type when saving bitmap

    I create and image, grab it, then display it, but when I go to save it using imaqWriteBMPFile, I get an error that maps to Invalid Image Type, so I use imaqCast to cast it to an IMAQ_IMAGE_U8 type (which is what the orignal image was created as), then it works, except that my image has changed, that looks like the contrast or something has changed. Any suggestions?
    Attachments:
    image.bmp ‏302 KB

    What kind of camera & IMAQ board are you using? I have seen similar problems when a 12 bit camera is used. The image is acquired as a 16 bit image, and if you just convert it to an 8 bit image, it ends up looking like the one you attached. To correctly convert to 8 bits, you need to shift the appropriate number of bits during the conversion. For a 12 bit camera, that would be 4 bits.
    Bruce
    Bruce Ammons
    Ammons Engineering

Maybe you are looking for