Data type Timestamp(6) was not imported

OWB 10.1.0.4:
Importing data type timestamp causes skipping of importing those columns:
+ Table
+ mytable........ : Reconciled with Second Class Object Failure
+ Columns
+ col_timestamp_a .............. : Skipped (unsupported datatype)
+ a_cvarchar2_col ............... : Unchanged
+ col_timestamp_b.......... : Skipped (unsupported datatype)
I coud not find any entries in the whole discussion forum and the owb help gave me no answer to that.
Any idea ?
Message was edited by:
user590457

Hi,
Oracle Warehouse Builder doesnot support Timestamp datatype.
It supports only default datatypes.
We can solve this by creating a view for that table. In that, convert the timestamp datatype to Date datatype.
Regards,
Gowtham Sen.

Similar Messages

  • Disallowed implicit conversion from data type datetime to data type timestamp

    Received error: [Macromedia][SQLServer JDBC
    Driver][SQLServer]Disallowed implicit conversion from data type
    datetime to data type timestamp, table 'myTbl', column 'duration'.
    Use the CONVERT function to run this query.
    I have a field named duration hh:mm:ss.lll that I am trying
    to insert into MS SQL. DB has field defined as [duration]
    [timestamp] NOT NULL,
    My insert has this: INSERT INTO myTbl( duration) VALUES(
    <cfqueryparam value="2006-05-26 11:12:13"
    cfsqltype="CF_SQL_TIMESTAMP"/> )
    Why does this not work? rrrrrrrrrrrrrr! BTW: also tried with
    seconds as 13.111 which did not work. Does the db duration need to
    be date? I just want to store a duration for the time of a movie...
    10 Q

    quote:
    Originally posted by:
    quiet1
    Received error: [Macromedia][SQLServer JDBC
    Driver][SQLServer]Disallowed implicit conversion from data type
    datetime to data type timestamp, table 'myTbl', column 'duration'.
    Use the CONVERT function to run this query.
    I have a field named duration hh:mm:ss.lll that I am trying
    to insert into MS SQL. DB has field defined as [duration]
    [timestamp] NOT NULL,
    My insert has this: INSERT INTO myTbl( duration) VALUES(
    <cfqueryparam value="2006-05-26 11:12:13"
    cfsqltype="CF_SQL_TIMESTAMP"/> )
    Why does this not work? rrrrrrrrrrrrrr! BTW: also tried with
    seconds as 13.111 which did not work. Does the db duration need to
    be date? I just want to store a duration for the time of a movie...
    10 Q
    Duration as a timestamp? How odd, most people would store it
    as an integer. Or, if you want to build your own string, the syntax
    is {ts 'yyyy-mm-dd hh:mm:ss'}. The seconds might not be required.
    In any event, use createodbcdatetime() for the value you want
    to put into your table.

  • Data of preceding document was not  transmitted

    HI,
    data of preceding document was not  transmitted
    Im getting the above error i have created SO with respect to Project and Creating Delivery from project in CNS0
    While creating delivery for project im getting the error
    I have copied Delivery Type from LP to XXXX
    When im using delivery type LP and while creating Project delivery that there is no above error but status is not getting change that is Delivery is Open which should be "Delivery Completed" after PGI
    Pls Suggest
    Thank you,
    Regards,
    Naveen

    SPRO - Logistics General - Handling Unit Management - Materials Management - HU Requirement for Storage Locations and Default Values for Deliveries.
    Select the plant and go to the storage location.
    Enter the Sales org, Distribution channel, Shipping point, Vendor and Customer.
    So then the entry which you create through inventory management will create using this customer for outbound delivery and vendor for inbound delivery, if there is none specified.
    Now you can use MB1B to create the delivery for 311 movement type.

  • Every time I open Iphoto I get the following message:  "A photo has been found in the iPhoto library that was not imported.  Do you want to import it?  Yes or No"  Any suggestions?

    Every time I open Iphoto I get the following message:  "A photo has been found in the Iphoto library that was not imported.  Does anyone have any suggestions?

    Quit iPhoto and to to the iPhoto library (by default in your pictures folder) - right click (control click) on it and select show package contents - find the folder named import (on importing) and drag it to the desktop - DO NOT MAKE ANY OTHER CHANGES - launch iPhoto and you will be fine.
    Open the import(ing) folder and if there is nothing in it that you need move it to the trash and empty the trash
    LN

  • Everytime I open iphoto, my computer tells me A photo has been found in the iPhoto Library that was not imported.  Would you like to import it.  no matter what I do, iphoto puts the pic in recovered files.  How do I fix this?

    Everytime I open iphoto, my computer tells me,  A photo has been found in the iPhoto Library that was not imported.  Would you like to import it.  If I import it, a message comes up Unreadable file, the following file could not be imported. them it tells me where the file is and it cannot be opened.  If I do not import, then it says,The photo has been placed in the folder /Users/patrick*******/Pictures/iPhoto Library Recovered Photos_4.  It will just keep adding to recvovered photos.  This drives me crazy!!!!!!!  How do I fix this?

    I had this problem some months ago and the following solution from Terrence Delvin put things right:
    Go to your Pictures Folder and find the iPhoto Library there. Right (or Control-) Click on the icon and select 'Show Package Contents'. A finder window will open with the Library exposed.
    Look there for a Folder called 'Import' or 'Importing'.
    Drag it to the Desktop. *Make no other changes*.
    Start iPhoto. Does that help?
    If it does then look inside that folder on your desktop. Does it contain anything you want? If not you can trash the folder.
    However, since connecting a memory stick to my computer, I now have the same problem again.  This time there is no folder called 'Import' or 'Importing' so what should I do?

  • A photo found in the iPhoto library that was not imported

    Every time I open iPhoto, I receive a message saying "A photo has been found in the iPhoto library that was not imported. Would you like to import it?" If I select yes, a box pops up saying "Unreadable file. The file was not imported, the file was missing." and then the photo's path. If I select no, the photo gets placed in a recovery file. I can see the photo in the recovery file, it is a photo that I locked (and maybe marked hidden - if you can even do both). I've tried to go into my iPhoto and unhide photos so that I can unlock the original...I've also tried unlocking the photo in the recovered file. I've tried deleting the photo in the recovery file as well...I can unlock it in Finder and delete it, but (with my limited knowledge of computers) I've determined that I must only be deleting a copy. Where is the original...I'd like to delete it. I don't even need this pic anymore and it is SERIOUSLY IRRITATING ME every time I open iPhoto. And that's often, as I'm always taking pics of my little one. TIA!!!!! Sara

    Sara
    Welcome to the Apple Discussions.
    Go to your Pictures Folder and find the iPhoto Library there. Right (or Control-) Click on the icon and select 'Show Package Contents'. A finder window will open with the Library exposed.
    Look there for a Folder called 'Import' or 'Importing'.
    Drag it to the Desktop. *Make no other changes*.
    Start iPhoto. Does that help?
    Regards
    TD

  • IPhoto, "A photo has been found in the iPhoto Library that was not imported

    A photo has been found in the iPhoto Library that was not imported. I click no or yes and I receive a message... The photo has been placed in the folder /Users//Pictures/iPhoto Library Recovered Photos_11. what do i need to do to stop this???

    Welcome to the Apple Discussions.
    Go to your Pictures Folder and find the iPhoto Library there. Right (or Control-) Click on the icon and select 'Show Package Contents'. A finder window will open with the Library exposed.
    Look there for a Folder called 'Import' or 'Importing'.
    Drag it to the Desktop. *Make no other changes*.
    Start iPhoto. Does that help?
    If it does then look inside that folder on your desktop. Does it contain anything you want? If not you can trash the folder.
    Regards
    TD

  • Data type /BIC/CCABIS_COST was found in a newer version

    Hai,
    I am uploading Flat file (only two fields Act_period & account).
       In the schdule of preview, I am getting the following message "Error 8 when compiling the upload program: row 197, message: Data type /BIC/CCABIS_COST was found in a newer version.
    My excel sheet:
    Actual, Period     Account
    1371                  DEP EXP- BLDG IMPR(P
    1755                  DEP EXP- OFFICE EQUI
    154,027.10             DEP EXP- COMP HARD
    168,259.05             DEP EXP- COMP SOFT
    10                 Spare Parts (P)
    10                 Mis.Operat.Exp (P)
    129,093.87            Basic Salary -(P)
    10                 Basic Salary -(P)
    10                Overtime Wages-(P)
    10               Casual Salary-Skilled-(P)
    10              Casual Salaries Unskilled-(P)
    5,64484.99               Housing All/House Rent-(P)
    5,42443.78               Vacation Airticket-(P)
    5,54466.08               Vacation Salary-(P)
    6,35574.34               Employee Indemnity-(P)
    0               Relocation-Production
    0              Medical-(P)
    2,97550.00              Transport Allowance-(P)
    1,522.53             GOSI-(P)
    Any tips to solve this porblem?
    ****Points will be given************
    With Regards,Jaheer.

    Simply restart AWB using /NRSA1 will do the magic..
    go out the transaction RSA1 ans return to the transaction RSA1 again.
    This would help for me without restarting anything.
    else try the following :
    In case of the flat file datasource, when you assign flat file source system again, the system assign IS to the old transfer structure! Because of the same DS name.
    u can try the following :
    1. Log off the system. During the current session the system may keep deleted IO, TRs, URs etc and propose them again. Log off should clean the eleted objects.
    2. If the #1 didn't help. - Recreate an infosource with a new name. Create all other structures as needed
    else try this :
    delete Infosource - Source system assignment (with PSA tables etc.
    - activate Infosource communication structure
    - assign source system
    - create infopackage
    - load data again

  • Virtex6:Configuration data download to FPGA was not successful. DONE did not go high, please check your configuration setup and mode settings

    Hello,everyone.
    I am using virtex6 FPGA and trying to download mcs file to PROM and have failed.
    I download .bit file to FPGA and succeed.
    When i try to download .mcs file to PROM XCF128X-FTG64C(BPI Flash) and choose Slave SelectMAP Mode
    and the process is about 68% it fails.
    The message below the IMapct is as belows:
    done.
    PROGRESS_END - End Operation.
    Elapsed time =      0 sec.
    // *** BATCH CMD : identifyMPM
    // *** BATCH CMD : assignFile -p 1 -file "C:/Users/Administrator/Desktop/TEST/LED/led.bit"
    '1': Loading file 'C:/Users/Administrator/Desktop/TEST/LED/led.bit' ...
    done.
    INFO:iMPACT:2257 - Startup Clock has been changed to 'JtagClk' in the bitstream stored in memory,
    but the original bitstream file remains unchanged.
    UserID read from the bitstream file = 0xFFFFFFFF.
    INFO:iMPACT:501 - '1': Added Device xc6vlx240t successfully.
    INFO:iMPACT - Current time: 2014/3/13 8:48:14
    // *** BATCH CMD : Program -p 1
    PROGRESS_START - Starting Operation.
    Maximum TCK operating frequency for this device chain: 66000000.
    Validating chain...
    Boundary-scan chain validated successfully.
    INFO:iMPACT - 1: Over-temperature condition detected! [ 230.52C >  120.00C]
    1: Device Temperature: Current Reading:  230.52 C, Max. Reading:  230.52 C
    1: VCCINT Supply: Current Reading:   2.997 V, Max. Reading:   2.997 V
    1: VCCAUX Supply: Current Reading:   2.997 V, Max. Reading:   2.997 V
    '1': Programming device...
     Match_cycle = NoWait.
    Match cycle: NoWait
     LCK_cycle = NoWait.
    LCK cycle: NoWait
    done.
    INFO:iMPACT:2219 - Status register values:
    INFO:iMPACT - 0011 1111 0111 1110 0100 1011 1100 0000
    INFO:iMPACT:579 - '1': Completed downloading bit file to device.
    INFO:iMPACT:188 - '1': Programming completed successfully.
     Match_cycle = NoWait.
    Match cycle: NoWait
     LCK_cycle = NoWait.
    LCK cycle: NoWait
    INFO:iMPACT - '1': Checking done pin....done.
    '1': Programmed successfully.
    PROGRESS_END - End Operation.
    Elapsed time =     23 sec.
    Selected part: XCF128X
    // *** BATCH CMD : attachflash -position 1 -bpi "XCF128X"
    // *** BATCH CMD : assignfiletoattachedflash -position 1 -file "C:/Users/Administrator/Desktop/TEST/LED/leda.mcs"
    INFO:iMPACT - Current time: 2014/3/13 8:49:32
    // *** BATCH CMD : Program -p 1 -dataWidth 16 -rs1 NONE -rs0 NONE -bpionly -e -v -loadfpga
    PROGRESS_START - Starting Operation.
    Maximum TCK operating frequency for this device chain: 66000000.
    Validating chain...
    Boundary-scan chain validated successfully.
    INFO:iMPACT - 1: Over-temperature condition detected! [ 230.52C >  120.00C]
    1: Device Temperature: Current Reading:  230.52 C, Max. Reading:  230.52 C
    1: VCCINT Supply: Current Reading:   2.997 V, Max. Reading:   2.997 V
    1: VCCAUX Supply: Current Reading:   2.997 V, Max. Reading:   2.997 V
    '1': BPI access core not detected. BPI access core will be downloaded to the device to enable operations.
    INFO:iMPACT - Downloading core file D:/Xilinx/14.3/ISE_DS/ISE/virtex6/data/xc6vlx240t_jbpi.cor.
    '1': Downloading core...
     Match_cycle = NoWait.
    Match cycle: NoWait
     LCK_cycle = NoWait.
    LCK cycle: NoWait
    done.
    INFO:iMPACT:2219 - Status register values:
    INFO:iMPACT - 0011 1111 0111 1110 0100 1011 1100 0000
    INFO:iMPACT:2492 - '1': Completed downloading core to device.
    Current cable speed is set to 6.000 Mhz.
    Cable speed is default to 3Mhz or lower for BPI operations.
    Current cable speed is set to 3.000 Mhz.
    Setting Flash Control Pins ...
    Setting Configuration Register ...
    Populating BPI common flash interface ...
    Common Flash Interface Information Query completed successfully.
    INFO:iMPACT - Common Flash Interface Information from Device:
    INFO:iMPACT - Verification string:  51 52 59
    INFO:iMPACT - Manufacturer ID:         49
    INFO:iMPACT - Vendor ID:              01
    INFO:iMPACT - Device Code:            18
    Setting Flash Control Pins ...
    Using x16 mode ...
    Setting Flash Control Pins ...
    Setting Configuration Register ...
    '1': Erasing device...
    '1': Start address = 0x00000000, End address = 0x008CE03B.
    done.
    '1': Erasure completed successfully.
    Setting Flash Control Pins ...
    Using x16 mode ...
    Setting Flash Control Pins ...
    Setting Configuration Register ...
    INFO:iMPACT - Using Word Programming.
    '1': Programming Flash.
    done.
    Setting Flash Control Pins ...
    '1': Flash Programming completed successfully.
    Using x16 mode ...
    Setting Flash Control Pins ...
    Setting Configuration Register ...
    '1': Reading device contents...
    done.
    '1': Verification completed.
    Setting Flash Control Pins ...
    Current cable speed is resumed to 6.000 Mhz.
    '1': Configuration data download to FPGA was not successful. DONE did not go high, please check your configuration setup and mode settings.
    `Elapsed time =    814 sec.
    and i find many people have met the same thing. But they are spartan  series FPGA and i try to low the Resistances of Mode pins,M0 M1 and M2, but the problem does not been solved.
    I have read the status Registers and find there is an over-temperature state 
    and in Impact i could not readback the registers. It is strange.
    I am anxious about this problem and have not solved it yet
    What reasons may it be?
    Hope for your answer, thank you

    Hi~I want to know if you solve the configuration problem for virtex-6?
    As I encounter the  same configuration problem, I want to consult  you with some question.
    Can I have your email?
    gszakacs wrote:
    I have measured the VCCINT and find it is 1.0V, not 2.997V;
    That is not at all surprising.  I always assumed the problem is with reading the XADC (system monitor) block and not with the voltage or temperature.
    my Reference board is ML605
    That would have been nice to know at the beginning...
    It seems that you have selected the correct mode, assuming your jumpers are set as required in the ML605 Hardware User's Guide.  See table 1-27, table 1-33 and the note below it about switch S1.
    I'm not that familiar with the details of this reference design, but it may be that the slave SelectMap circuitry requires a reset or power cycle to actually configure the FPGA.  Have you tried power-cycling to see if the FPGA boots from the flash?
    I'd also suggest that you select the V6 in the JTAG chain view, then go to the debug menu of Impact and select Read Device Status (this is from memory, but it's something like that).  That will not only show the bits of the configuration status register, but also describe what each bit means.  Among other things you can check the state of the FPGA's configuration logic and the Mode pins.
     

  • Configuration data download to FPGA was not successful.

    I have designed a board with the Spartan 6 LX9 TQFP144 Package.
    I am able to load a bitstream to the device with the digilent HS-2. However the fpga can not selfconfigure from
    the attached SPI Flash.
    Here is the console output from iMPACT:
    GUI --- Auto connect to cable...
    INFO:iMPACT - Digilent Plugin: Plugin Version: 2.4.4
    INFO:iMPACT - Digilent Plugin: found 1 device(s).
    INFO:iMPACT - Digilent Plugin: opening device: "JtagHs2", SN:210249983579
    INFO:iMPACT - Digilent Plugin: User Name: JtagHs2
    INFO:iMPACT - Digilent Plugin: Product Name: Digilent JTAG-HS2
    INFO:iMPACT - Digilent Plugin: Serial Number: 210249983579
    INFO:iMPACT - Digilent Plugin: Product ID: 30900152
    INFO:iMPACT - Digilent Plugin: Firmware Version: 0109
    INFO:iMPACT - Digilent Plugin: JTAG Port Number: 0
    INFO:iMPACT - Digilent Plugin: JTAG Clock Frequency: 10000000 Hz
    Attempting to identify devices in the boundary-scan chain configuration...
    INFO:iMPACT - Current time: 27.07.2015 16:19:26
    PROGRESS_START - Starting Operation.
    Identifying chain contents...'0': : Manufacturer's ID = Xilinx xc6slx9, Version : 2
    INFO:iMPACT:1777 -
    Reading C:/Xilinx/ISE/14.7/ISE_DS/ISE/spartan6/data/xc6slx9.bsd...
    INFO:iMPACT:501 - '1': Added Device xc6slx9 successfully.
    done.
    PROGRESS_END - End Operation.
    Elapsed time =      0 sec.
    Selected part: N25Q128
    Unprotect sectors: FALSE
    INFO:iMPACT - Current time: 27.07.2015 16:20:19
    PROGRESS_START - Starting Operation.
    Maximum TCK operating frequency for this device chain: 25000000.
    Validating chain...
    Boundary-scan chain validated successfully.
    '1': SPI access core not detected. SPI access core will be downloaded to the device to enable operations.
    INFO:iMPACT - Downloading core file C:/Xilinx/ISE/14.7/ISE_DS/ISE/spartan6/data/xc6slx9_spi.cor.
    '1': Downloading core...
     LCK_cycle = NoWait.
    LCK cycle: NoWait
    done.
    '1': Reading status register contents...
    INFO:iMPACT:2219 - Status register values:
    INFO:iMPACT - 0011 1100 1110 1100
    INFO:iMPACT:2492 - '1': Completed downloading core to device.
    '1': IDCODE is '20ba18' (in hex).
    '1': ID Check passed.
     '1': IDCODE is '20ba18' (in hex).
    '1': ID Check passed.
     '1': Erasing Device.
    '1': Using Sector Erase.
    '1': Programming Flash.
    '1': Reading device contents...
    done.
    '1': Verification completed.
    '1':Programming in x4 mode.
    '1': Configuration data download to FPGA was not successful. DONE did not go high, please check your configuration setup and mode settings.
    INFO:iMPACT - '1': Flash was not programmed successfully.
    PROGRESS_END - End Operation.
    Elapsed time =     78 sec.
    If i read that correctly Data was written to the Flash but the fpga was not able to configure from that data.
    Done-pin is connected to 3.3V via a 470 Ohms Resisor.
    The Flash is a N25Q128A13ESE40G, Datasheet here: http://www.farnell.com/datasheets/1674445.pdf
    I can perform a readback, checksum and an erase.
    If i do a read device status this is the console output:
    INFO:iMPACT - Current time: 27.07.2015 16:36:27
    Maximum TCK operating frequency for this device chain: 25000000.
    Validating chain...
    Boundary-scan chain validated successfully.
    '1': IDCODE is '20ba18' (in hex).
    '1': ID Check passed.
     '1': IDCODE is '20ba18' (in hex).
    '1': ID Check passed.
     '1': IDCODE is '20ba18' (in hex).
    '1': ID Check passed.
     INFO:iMPACT - '1': Reloading FPGA configuration data stored in flash...
    INFO:iMPACT:182 - done.
    On the Flash side I have pulled s# and Hold up to 3.3V with 100k Resistors.
    Can someone help me to find the problem?

    So does the FPGA try to read the SPI flash when it boots ?
    out with scope, probe the clock and the data , see if you can see it streamig out when you boot.
    If so, then one other thing I see wrong a few times is data path of the SPI, single bit or 4 bits of data.
        you have to make certain the bit file was created in the same width as the fgpa is expecting,
          In ISE I think its in Impact where you make the SPI flash file and specify this .
     

  • Photo found that was not imported

    Every time i open iphoto, the following error message comes up:
    a photo has been found in the iphoto library that was not imported. would you like to import it?
    If i say no, it does nothing but the same message comes up next time.
    If i say yes, an error comes up saying the following file is missing and cant be imported:
    /Users/ME/Pictures/iPhoto Library Recovered Photos/PHOTO.jpg
    The "iPhoto Library Recovered Photos" folder is created again each time i open iphoto. the file inside is a photo which i can view with preview but it says its a "Unix executable file". The problem is that i have no idea where this photo is and i dont want it imported.
    Any help appreciated

    my message says: "a photo has been found in the iphoto library that was not imported"
    also: my iPhoto Library is not a folder but a file; there is no folder called "import" or similar so i cannot drag anything.
    every time, the computer create a folder called "Recovered photos". and a different one every time, with incremental numbers: "Recovered photos1", "Recovered photos2", etc.
    what to do?

  • My iphone 5s got stolen and the option to erase data after 10 tries was not enabled. What happens after the incorrect password is input after 10 times?

    my iphone 5s got stolen and the option to erase data after 10 tries was not enabled. What happens after the incorrect password is input after 10 times?

    After the sixth erroneous passcode entry a delay is imposed that increases exponentially and eventually reaches over 40 years before another attempt can be made.
    No one yet knows how long the next delay is.

  • V5 in BPI Mode " Configuration data download to FPGA was not successful. DONE did not go high,"

    Hello,everyone.
    I am using virtex5 XC5VLX155 FPGA and trying to download mcs file to BPI flash and have failed.
    The flash is JS28F512P30E. The iMpact version is 14.7. 
    FPGA's VCCINT is 1.0V, VCCAUX is 2.5V. VCCO is 3.3V.
    M[2:0] is 010 in Master BPI.  Ican  program FPGA through JTAG. The FPGA_DONE pin 's  LED can always flash.
    The error is shown as below. the full  IMPACT console log and the SCHEMATIC_ FLASH are in the attachment.
    Using x16 mode ...
    Setting Flash Control Pins ...
    '1': Erasing device...
    '1': Start address = 0x00000000, End address = 0x004E4AFF.
    done.
    '1': Erasure completed successfully.
    Using x16 mode ...
    Setting Flash Control Pins ...
    INFO:iMPACT - Using Word Programming.
    '1': Programming Flash.
    done.
    '1': Flash Programming completed successfully.
    '1': Configuration data download to FPGA was not successful. DONE did not go high, please check your configuration setup and mode settings.
    PROGRESS_END - End Operation.
    Elapsed time =    692 sec.
    Hope everyone give more advices. Thank you.
     

    Thank you very much!
    I can read ack the mcs file, but the file is much bigger than the original mcs file.
    The flash datasheet is in the attachment.
    I want to use the Master BPI mode. In BPI_UP, the address starts at 0 and increments by 1 until the DONE pin is
    asserted. I do not know the difference between the BPI_UP and BPI_DOWN.
    ps:  The R61,R62 and R63 are not weld on the board. The ADV pin is tie to VSS .
     

  • Data type column size does not match size of values returned

    I've tried searching but couldn't find what I was looking for, sorry if this has been answered or is a duplicate.
    I am using the (Java) method below to get the column definitions of a table. I am doing this through an ODBC connection (using Oracle ODBC driver) and I have NO CHOICE in the matter.
    The problem I am having is that one particular column has a column size is smaller than the size of the data it purportedly holds (ie attendance_code = varchar size 3 but data value is "Absent". I suspect the data is actually a look up to situation, where my attendance_code column has a value of 'ABS' and Oracle goes and fetchs the "Absent" value.
    My issue is that the meta data returned from ODBC is the actual column definition (ie varchar(3) and not varchar2(10) for example).
    The resultset metadata has a size of 3 for the column in question, and querying the schema also yields 3 for that column.
    How do I resolve this? I do not have access to all_columns table etc. I have to do it using ODBC metadata only.
    I've tried recreating the situation using the Oracle XE DB, but as I am not familiar with Oracle, I do not know how to recreate this scenario (which would then lead me to test other options with ODBC).
    TIA.
    The select I am using is SELECT * FROM <tableName>.
    public ArrayList<SchemaColumn> getColumnsForTable(String catalog,
    String schema,
    String tableName) {
    ArrayList<SchemaColumn> columns = new ArrayList<SchemaColumn>();
    ResultSet rs = null;
    try {
    DatabaseMetaData metaData = connection.getMetaData();
    rs = metaData.getColumns(catalog, schema, tableName, "%");
    SchemaColumn column;
    while (rs.next()) {
    column = new SchemaColumn();
    column.setName(rs.getString("COLUMN_NAME"));
    column.setDataType(rs.getInt("DATA_TYPE"));
    column.setTypeName(rs.getString("TYPE_NAME"));
    column.setColumnSize(rs.getInt("COLUMN_SIZE")); <-------- this is the value that is coming back smaller than the data it actually returns
    column.setDecimalDigits(rs.getInt("DECIMAL_DIGITS"));
    column.setNumPrecisionRadix(rs.getInt("NUM_PREC_RADIX"));
    column.setNullable(rs.getInt("NULLABLE"));
    column.setRemarks(rs.getString("REMARKS"));
    column.setDefaultValue(rs.getString("COLUMN_DEF"));
    column.setSqlDataType(rs.getInt("SQL_DATA_TYPE"));
    column.setSqlDateTimeSub(rs.getInt("SQL_DATETIME_SUB"));
    column.setCharOctetLength(rs.getInt("CHAR_OCTET_LENGTH"));
    column.setOrdinalPosition(rs.getInt("ORDINAL_POSITION"));
    columns.add(column);
    } catch (Exception e) {
    Log.getLogger().error("Could not capture table schema");
    closeResultSet(rs);
    return columns;
    }

    I can't say I've ever seen a case where a column held more data than it was declared as, and would have to file that under "see it to believe it" category.
    Even if that somehow were the case, I'd expect the ODBC driver to return what the column is defined as anyway, not the data. The data changes with every row, but I'd expect the table metadata to be consistent, and refer to the table definition.
    For grins though, can you provide system.out.println output of the metadata, and also a "describe xxxx" from sqlplus if you can, where xxx is the table name?
    ie,
    while (rs.next()) {
    System.out.println("column name is " + rs.getString("COLUMN_NAME"));
    System.out.println("data type is " + rs.getInt("DATA_TYPE"));
    ..etc..
    Greg

  • Why does "a photo has been found in the iPhoto library that was not imported" message appear every time I open i photo?

    It happens on my iMac, and now that I have transferred some photos from that computer to my MacBook it is happening there, too.  If I say that I don't want to import it, it "saves" it automatically to a file somewhere on the hard drive.  That folder appears empty when opened, so I'm not sure what it's saving.  Every time I open iPhoto it asks me twice before I can proceed, and creates two neat little folders with nothing in them.  If I say that I do want to import the mystery photo, it plunks the nothing that has not been imported in to a Recovered Photos album.  Once again, nothing there.  Any ideas as to how to fix this problem?

    Go to your Pictures Folder and find the iPhoto Library there. Right (or Control-) Click on the icon and select 'Show Package Contents'. A finder window will open with the Library exposed.
    Look there for a Folder called 'Import' or 'Importing'.
    Drag it to the Desktop. *Make no other changes*.
    Start iPhoto. Does that help?
    If it does then look inside that folder on your desktop. Does it contain anything you want? If not you can trash the folder.

Maybe you are looking for