Conversion of long and int: strange result and no warning

Why does Java allow this?
long l = Long.MAX_VALUE / 10;
System.out.println(l); // result 922337203685477580
int i = (int)l;
System.out.println(i); // result -858993460The compiler accepts it and the runtime accepts it. Why? Complete nonsense is the result!
The same happens with using a Long object and calling the intValue() method.
Can someone explain it to me?

What do you think of operator overloading?Well, I don't have much influence -:) But this is what Guy Stele, SUN Fellow, say:
Overloaded operators are still a subject of controversy. They are almost indispensable for certain kinds of mathematical work, but people who oppose adding them to the Java language point out, quite rightly, that the feature was badly abused in C++ for nonmathematical purposes, making code much harder to read than necessary. Most Java applications are nonmathematical in nature. One could make a good argument that commercial applications have no need for operator overloading, except that commercial applications do use (or should use) BigDecimal arithmetic, and it would be really nice to be able to use + and - and * and / with BigDecimal numbers. Much the same can be said of so-called "lightweight classes": their greatest value would lie in supporting numerical concepts such as complex numbers and interval arithmetic.
We have an interesting decision to make that is more a political or business question than a technical one: should the Java language be extended to support the needs of mathematical applications? If so, then I would argue strongly for introducing operator overloading and lightweight classes -- I'm pretty sure such facilities would also get used for other purposes. If not, then maybe we should just make + and - and * and / work for the BigInteger and BigDecimal classes as a special case, much the same way that + is already a special case for the String class.

Similar Messages

  • So long and thanks for all the fish..

    It is with delight that I am saying goodbye to BT after all these years. I have been with BT for over 7 years now and most of that time it has been great but this last year has been a total shambles with the amount of lies told by the recontract team and the bill department and now there have been demanding phone calls and letters from them as well.
    When I recontracted in Jan this year (2013) it was because of a verbal agreement that I would still receive a loyalty discount when Fibre was in my area. 6 months later Fibre arrives and BT says no way am I getting a discount so no fibre. Then last month they alter the day the money is taken from my account by over a week taking before the beginning of the month so I get hit with bank charges.
    After lots of phone calls they say that there manager will phone me back to sort it out but no phone call happens. I phone back and tell that enough is enough and that as a result I have cancelled my DD and will pay my bill on the old date of the 2nd and as it will be last bill they can either take it or leave it. The person obviously did not make a note of it as this morning a letter arrived saying that I need to pay my bill or my services will be restricted. I phone tham straight up and they are very evasive so the conversation ends with me asking for my MAC code.
    2 hours later I get a phone call from the billing department telling me that I need to pay my bill and set up a DD or my services will be restricted. After explaining it all again he says he needs to put me through to the cancellations team to which he is told to sod off.
    So new contract signed with a new provider (Talk Talk) which offers more for a lot less and should go live on the 15th which is when they will cancel my BT.
    Of yeah one more thing, There team says that Talk Talk is the most complained about provider but just for the record they have a 0.37 per 1000 customer complaint ratio and that is going down. BT have 0.36 per 1000 customers and that is on the rise.
    It is since BT added BT Sport that they really do not worry about keeping customers but sorry if you treat your customers badly then they will leave so again so long and thanks for everything but I have no confidence in you anymore as you have lied far to much...

    We all know you think very highly of yourself, Austin, but this post of yours is amazing. 
    Before you accuse someone of not being "porfessional" perhaps you should learn even a moderate amount of who they are.  There are many tools to accomplish just this, The Google springs to mind.  (I might even add that you should pay heed to the built in Spell Checker.)
    I'll give you a little start.  You have that book by Alexis Van Hurkman, you know, the book every "real" colorist needs, "Color Correction Handbook," open it to page XV in the Introduction and peruse the list of names before settling to read the bottom paragraph.
    Good luck,
    z.

  • TS3697 all of my songs are gone and when i try to sync again the sync is 2 seconds long and nothing happens

    all of my songs are gone and when i try to sync again the sync is 2 seconds long and nothing happens plus all of my photos from my computer synced to my phone and i cant delete them and i dont have neough storage PLEASE HELP ABOUT TO CRY

    1. Have you applied sync settings for music to be synced to the iPhpne?
    2. Photos that are synced to the iPhone cannot be deleted directly from the iPhone
    To delete photos and videos from your device
    To delete synced photos and videos
    In iTunes, select the device icon in the Devices list on the left. Click the Photos tab in the resulting window.
    Choose "Sync photos from."
    On a Mac, choose iPhoto or Aperture from the pop-up menu.
    On a Windows PC, choose Photoshop Album or Photoshop Elements from the pop-up menu.
    Choose "Selected albums" and deselect the albums or collections you want to delete.
    Click Apply.

  • How to create a circle object with center(lat/long) and radius(kilo)?

    Hi
    I want to create a circle in my table, the data I have are the coordinate of center(lat/long) and the radius of the circle. The srid of the table is lat/long.
    Did I have to use some fomula to compute the coordinate of three points on the circle? If it's true, is there any example procedure you can show me?
    Thanks
    Lannie

    When a circle is created using SDO_BUFFER in geodetic space,
    the result is a circle with stroked arcs (as in arc_densify function).
    So the result from SDO_BUFFER will be a valid polygon without arcs,
    but approximate circle with straight lines.
    For example, in the example given by Dan, this is what you get:
    SDO_GEOMETRY(2003, 8307, NULL, SDO_ELEM_INFO_ARRAY(1, 1003, 1), SDO_ORDINATE_ARRAY(-120, 42.09003, -120.03128, 42.086958, -120.06042, 42.0779524, -120.08543, 42.0636292, -120.1046, 42.0449675, -120.11663, 42.0232424, -120.1207, 41.9999365,
    -120.11654, 41.9766391, -120.10445, 41.9549369, -120.08526, 41.9363067, -120.06028, 41.9220148, -120.0312, 41.9130321, -120, 41.9099686, -119.9688, 41.9130321,
    -119.93972, 41.9220148, -119.91474, 41.9363067, -119.89555, 41.9549369, -119.88346, 41.9766391, -119.8793, 41.9999365, -119.88337, 42.0232424, -119.8954, 42.0449675, -119.91457, 42.0636292, -119.93958, 42.0779524, -119.96872, 42.086958, -120, 42.09003))
    siva

  • Diimensional design (long and deep!)

    Hi, could I have some comments here please, on best practice, and the one that is being proposed? I need a sanity check, please!!!
    Consider this situation: there are two input files . . .
    FILE1 contains
    LEVEL1ID number
    LEVEL1DESC varchar2
    FILE2 contains
    LEVEL2ID number
    LEVEL2DESC varchar2
    So, I want to create a dimension object in OWB, and at the Table level, it will look like
    CREATE TABLE "DIM_2LEVELS" (
    "L1_LEVEL1DESC" VARCHAR2(1),
    "L1_LEVEL1ID" NUMBER, ..... (from FILE1 and renamed from 'ID' in OWB)
    "L2_INTERNAL_END_DATE" NUMBER, ... (populated with NULL or some arbitrary high value)
    "L2_INTERNAL_KEY" NUMBER, .......(populated from a SEQUENCE)
    "L2_INTERNAL_START_DATE" DATE, ... (populated with SYSDATE from a CONSTANT)
    "L2_LEVEL2DESC" VARCHAR2(1),
    "L2_LEVEL2ID" NUMBER) ..... (from FILE2 and renamed from 'ID' in OWB)
    (1). Is everyone in agreement with me that this is how it will look?
    (2). And this for the Dimension object itself?
    CREATE DIMENSION "DIM_2LEVELS"
    LEVEL "LEVEL1" IS "DIM_2LEVELS"."L1_LEVEL1ID"
    LEVEL "LEVEL2" IS "DIM_2LEVELS"."L2_INTERNAL_KEY"
    HIERARCHY "HIER1"("LEVEL2" CHILD OF "LEVEL1" )
    ATTRIBUTE "LEVEL1" DETERMINES ("L1_LEVEL1DESC" )
    ATTRIBUTE "LEVEL2" DETERMINES ("L2_INTERNAL_END_DATE","L2_INTERNAL_START_DATE","L2_LEVEL2DESC","L2_LEVEL2ID" );
    (3). Is this or is this not bog standard OWB so far? (Please check me every step of the way here).
    Next, I go to Editor, Table Properties, Constraints Tab, and I change the UK of INTERNAL_KEY to a PK, and add a UK on LEVEL2ID (the Natural Key), giving these two SQL scripts:
    ALTER TABLE "DIM_2LEVELS" ADD CONSTRAINT "LEVEL2_NK" UNIQUE("L2_LEVEL2ID");
    ALTER TABLE "DIM_2LEVELS" ADD NSTRAINT "DIM12_LEVEL2_UK" PRIMARY KEY("L2_INTERNAL_KEY");
    (4). Am I still OK, so far?
    So, the implication is that at the lowest level of the hierarchy, this line drives the dimensional structure:
    LEVEL "LEVEL2" IS "DIM_2LEVELS"."L2_INTERNAL_KEY"
    The important point here is the "LEVEL2 IS . . . L2_INTERNAL_KEY". Please focus on this point.
    Now,as I understand it, the purpose of the dimensional object is to aid in OLAP. The team where I am now working has seized on this point and feels that there must be a DIMENSION object (level) where there is something like "LEVEL2 IS . . . L2_LEVEL2ID'.
    (5). So, the intent is to have a new policy whereby new lowest levels will be created in all dimension hierarchies, as follows:
    * The lowest level in the hierarchy will be the surrogate key
    * This is signified by a key symbol against the surrogate key ID in this level
    * The surrogate key is the primary key and is distinct
    * The data items associated with the surrogate key will become attributes in this level (typically control data)
    * So the lowest level will only contain the surrogate key ID, dh_create_date, dh_update_date, SQ_Start_Date, SQ_End_Date
    * The name of the surrogate key level is the same as the overall dimension name
    * The next lowest level in the hierarchy is the natural key
    * The natural key will have many surrogate keys (as the hierarchy changes over time)
    * The data items associated with the natural key will become attributes in this level (typically descriptive or related business data)
    This will also mean that the lowest level of the dimensional hierarchy will now explicitly correspond to a Start/End 'slice' of the fact table.
    (6). What I have described in (1) to (4) is the way I have always handled building dimensions. To select the appropriate facts, I have constrained the join by adding start/end dates to the join selection parameters. The lowest level of the hierarchy is the lowest level that makes sense as an individual business 'thing', rather than as a data warehouse 'slice-in-time' of a slowly changing business 'thing'. To put it another way, the (1) to (4) method has at it's lowest level a business 'thing' (e.g. a customer) and selection on that (say) customer's natural key reveals all facts for that customer. (5) will do the same, but I feel that this is not what dimensions were intended to do.
    So my ultimate question becomes . . . what actually are dimensions and the DIMENSION object intended to achieve? It is to support OLAP? After re-reading the OWB Users, Guide, the Data Warehousing Guide, and the OLAP manual, I cannot see where the 'LEVEL . . . IS' has any concrete value. Is it perhaps for Express? Ooops! Analytical Workspaces and CWM2?
    As I said, there are two parts to this topic.
    The first part is on best practices. I have described how I build Dimensions. Would others agree with me on this, or do you have a better way? In particular, would you add this additional 'basement' level to dimensional hierarchies?
    The second part is around object representation, the designer's intent, and the repercussions on warehouse use in terms of business intelligence capabilities. My view has always been to represent Dimensions from the Business viewpoint - if a level makes sense from that viewpoint, it goes in. If it does not, then there is no place for it. When using summary tools like MVs, or BI tools like Discoverer or Business Objects, there have been no problems. Would there be if I were using AWM?
    Looking forward to your deep thoughts!
    Best,
    Donna

    Good afternoon Donna,
    Have looked at this post a number of times, it surely is long and deep. I don't have any experience in using Oracle OLAP so I won't elaborate very much in that respect; neither have I actually looked at all code generated by OWB, especially dimensions. But since this thread is not getting started while the topic is certainly interesting, I'll give my few cents worth to maybe trigger the long and deep conversation you're looking for ;-)
    @1 looks like what OWB generates for a dimension (the table bit)
    @2 haven't really looked at that code before but looks valid
    @3 indeed, looks like standard OWB
    @4 that's also how I do it, the lowest level UK is the only physical one, and I add a UK on the natural key
    @5 The reasoning for level-separation of SK and NK is the SCD nature of the dimension, yes? Why is that necessary? Strictly speaking the NK in combination with startdate will be unique, and both (in my opinion) are lowest level attributes. I don't see the necessity of creating separate levels, as far as I can see there's not really a hierarchy between those levels.
    @6 a dimension to me is a table with an 'inbuilt' hierarchy; when used to generate a business area for Oracle Discoverer it creates hierarchies from that information. I guess it supports OLAP in a similar fashion (dimensions and cubes can be exported to generate an OLAP-cube).
    Regards, Patrick
    ps This is making me realise that in an SCD the natural key is going to occur more than once as soon as a record gets "SCD'd";
    I better check my UK-naturalkey-definition, I might need to add 'startdate' to the natural key

  • Equivalent rect long and short sides

    Not so sure if anybody else already came across this problem or not. Any suggestion is welcome.
    I have a simple isolated object to be fitted into an ideal rectangle which will then be used for a metrology purpose in following step. I was trying to make use of the equivalent rect long and shot sides from particle analysis operation, but it seems the particle analysis always gives a same value to the long side and short side. Attached picture shows the calculation results from vision assistant. I tried to calculate the equivalent rect sides from the given area and perimeter. The results tends to become complex values as the perimeter seems smaller than it should be(i.e.. P^2 smaller than 16*A). It may be one reason to produce same value to equivalent rect long and short side.
    PS: the expression for calculation of equivalent rect long and short side in the page: http://zone.ni.com/reference/en-XX/help/372916L-01/nivisionconcepts/particle_measurements/ seems not right. It should be (P-sqrt(P^2-16A))/4, rather than P/4-sqrt(P^2-16A).
    Attachments:
    results from vision assistant.jpg ‏131 KB
    ROI.jpg ‏8 KB

    Hi paris_sun,
    I am assuming you are using the latest version of Vision Assistant 2011 SP1.
    I would just like to clarify what you are trying to achieve. This is to measure the long and short (length and width) side of a rectangular shape in your image by using:
    Processing Functions: Binary >> Particle analysis
    Something I could suggest is to play around with a more definative rectangle and see if this helps. I have tried using a rectangle and the measurements have come out fine.
    The shape you are measuring happens to have the same size dimensions i.e. a square.
    Where are you acquiring your image from? And are you expecting it to be a square?
    With regards to the formulas being incorrect I will look into this for you.
    Kev R
    Kevin R
    Applications Engineer
    National Instruments UK&Ireland
    Attachments:
    NI Vision Rectangle.jpg ‏373 KB
    Rectangle.jpg ‏8 KB

  • ORA-12815 while reorg/compression of tables without LONG and LOB with 11g

    Hello fellows,
    I am in the luxury situation that I got a copy of our production R/3 environment that was left over from a project and is no more required by any of our developers.
    As we are still on oracle 9.2.0.7 I upgraded this copy to 11.2 in a two step process (from 9i to 10g to 11g).
    I got myself the SAP dbatools 7.20(3) and the Note 1431296 - LOB conversion and table compression with BRSPACE 7.20.
    I started with some small tablespaces but after a while I thought I'd like to try to reorg/compress the worst of all tablespaces...PSAPPOOLD with ~15.000 tables.
    I first converted tables with LONG fields online that can be compressed, than the onse that can not be compressed, than I reorged the tables that contain old LOB fields online. With these different executions of the brspace commands that are also mentioned in the above note I managed to move ~ 3.000 tables without any issues.
    But now I started with the biggest bunch of tables, the compression of tables without LONG and LOB fields online.
    This is the command I used:
    brspace -u / -p reorgEXCL.tab -f tbreorg -a reorg -o sapr3 -s PSAPPOOLD -t allsel -n psapreorg -i psapreorgi -c ctab -SCT
    ...after a few checks that are performed by brspace, I end up in the screen
    Options for reorganization of tables (which is still nothing I wouldn't have expected)
    1 * Reorganization action (action) ............ [reorg]
    2 - Reorganization mode (mode) ................ [online]
    3 - Create DDL statements (ddl) ............... [yes]
    4 ~ New destination tablespace (newts) ........ [PSAPREORG]
    5 ~ Separate index tablespace (indts) ......... [PSAPREORGI]
    6 - Parallel threads (parallel) ............... [1]
    7 ~ Table/index parallel degree (degree) ...... []
    8 ~ Category of initial extent size (initial) . []
    9 ~ Sort by fields of index (sortind) ......... []
    10 # Index for IOT conversion (iotind) ......... [FIRST]
    11 - Compression action (compress) ............. [none]
    12 # LOB compression degree (lobcompr) ......... [medium]
    13 # Index compression method (indcompr) ....... [ora_proc]
    But independent of what I enter in point 6 and 7, I always end up with below erros during the reorg/compression of the outstanding tables:
    Just one sample, but the issue is always the same.
    BR0301E SQL error -12815 in thread 2 at location tab_onl_reorg-26, SQL statement:
    'CREATE UNIQUE INDEX "SAPR3"."RTXTF_____0#$" ON "SAPR3"."RTXTF#$" ("MANDT", "APPLCLASS", "TEXT_NAME", "TEXT_TYPE", "FROM_LINE",
    "FROM_POS")
      PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
      STORAGE(INITIAL 1662976 NEXT 655360 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
      TABLESPACE "PSAPREORGI" PARALLEL ( INSTANCES 0) '
    ORA-12815: value for INSTANCES must be greater than 0
    Just in case, here it the OBJECT DDL:
    CREATE UNIQUE INDEX "SAPR3"."RTXTF_____0"
        ON "SAPR3"."RTXTF"  ("MANDT", "APPLCLASS", "TEXT_NAME",
        "TEXT_TYPE", "FROM_LINE", "FROM_POS")
        TABLESPACE "PSAPPOOLI" PCTFREE 10 INITRANS 2 MAXTRANS 255
        STORAGE ( INITIAL 1624K NEXT 640K MINEXTENTS 1 MAXEXTENTS
        2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1)
        LOGGING
    Perhaps someone already gained some experience on the compression with brspace and can give me a hint.
    Many thanks
    Florian

    Hello Florian,
    > Perhaps someone already gained some experience on the compression with brspace and can give me a hint.
    I have not performed any compression operations on Oracle 11g R2 with brspace until yet .. but this error seems to be very obvious.
    It seems like SAP is still not using the procedure DBMS_REDEFINITION.COPY_TABLE_DEPENDENT to create the indexes (and NOT NULL constraints) on Oracle 11g R2. No idea why, i can only think of one case (create a DDL file before reorganisation to change the DDL parameters through the reorganisation in some kind of ways).
    So in your case it seems like SAP is creating a wrong SQL for creating the index on the interim table.
    You can try to create the DDL file first and correct the parameters and after that you can try to run the reorganisation again.
    Please check sapnote #646681 (Remark 5) for more information about the procedure for "creating the DDL first .. and then do the reorg with edited parameters).
    Regards
    Stefan

  • Startup process gets longer and longer

    Hi, my parents have an iMac (purchased in 09) running OS X 10.9.5. Over the years and especially lately, the time it takes to startup has gotten longer and longer.
    Any advice or suggestions would be much appreciated.

    Babowa,
    Below are the results of running etrecheck and I apologize for taking so long getting the results to you!  Thanks very much!
    Problem description:
    Startup process takes longer and longer (especially lately)!
    EtreCheck version: 2.1.5 (108)
    Report generated December 19, 2014 at 12:29:58 PM PST
    Click the [Support] links for help with non-Apple products.
    Click the [Details] links for more information about that line.
    Click the [Adware] links for help removing adware.
    Hardware Information: ℹ️
      iMac (20-inch, Early 2009) (Verified)
      iMac - model: iMac9,1
      1 2.66 GHz Intel Core 2 Duo CPU: 2-core
      4 GB RAM Upgradeable
      BANK 0/DIMM0
      2 GB DDR3 1067 MHz ok
      BANK 1/DIMM0
      2 GB DDR3 1067 MHz ok
      Bluetooth: Old - Handoff/Airdrop2 not supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      NVIDIA GeForce 9400 - VRAM: 256 MB
      iMac 1680 x 1050
    System Software: ℹ️
      OS X 10.9.5 (13F34) - Uptime: 0:4:4
    Disk Information: ℹ️
      Hitachi HDT721032SLA380 disk0 : (320.07 GB)
      EFI (disk0s1) <not mounted> : 210 MB
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
      Macintosh HD (disk1) / : 318.88 GB (275.79 GB free)
      Encrypted AES-XTS Unlocked
      Core Storage: disk0s2 319.21 GB Online
      HL-DT-ST DVDRW  GA11N 
    USB Information: ℹ️
      Apple Inc. Built-in iSight
      Apple Computer, Inc. IR Receiver
      Apple Inc. BRCM2046 Hub
      Apple Inc. Bluetooth USB Host Controller
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Adware: ℹ️
      Conduit [Remove]
    Startup Items: ℹ️
      HP IO: Path: /Library/StartupItems/HP IO
      Startup items are obsolete in OS X Yosemite
    Launch Daemons: ℹ️
      [loaded] com.adobe.fpsaud.plist [Support]
    User Launch Agents: ℹ️
      [running] com.zeobit.MacKeeper.Helper.plist [Support]
    User Login Items: ℹ️
      iTunesHelper UNKNOWNHidden (missing value)
      Skype UNKNOWN (missing value)
      Documents FolderHidden (/Users/[redacted]/Documents)
      HP Scheduler Application (/Library/Application Support/Hewlett-Packard/Software Update/HP Scheduler.app)
    Internet Plug-ins: ℹ️
      FlashPlayer-10.6: Version: 15.0.0.246 - SDK 10.6 [Support]
      QuickTime Plugin: Version: 7.7.3
      Flash Player: Version: 15.0.0.246 - SDK 10.6 Mismatch! Adobe recommends 16.0.0.235
      Default Browser: Version: 537 - SDK 10.9
      OfficeLiveBrowserPlugin: Version: 12.3.6 [Support]
      Silverlight: Version: 4.0.60129.0 [Support]
      iPhotoPhotocast: Version: 7.0
    3rd Party Preference Panes: ℹ️
      Flash Player  [Support]
    Time Machine: ℹ️
      Skip System Files: NO
      Auto backup: NO - Auto backup turned off
      Destinations:
      Dic's Thumb Drive [Local]
      Total size: 0 B
      Total number of backups: 0
      Oldest backup: -
      Last backup: -
      Size of backup disk: Excellent
      Backup size 0 B > (Disk size 0 B X 3)
    Top Processes by CPU: ℹ️
          54% Mail
          7% WindowServer
          4% HP Device Monitor
          4% NotificationCenter
          3% opendirectoryd
    Top Processes by Memory: ℹ️
      198 MB Mail
      112 MB mds_stores
      94 MB Microsoft Word
      82 MB WindowServer
      77 MB Safari
    Virtual Memory Information: ℹ️
      1.45 GB Free RAM
      1.63 GB Active RAM
      460 MB Inactive RAM
      483 MB Wired RAM
      422 MB Page-ins
      0 B Page-outs
    Diagnostics Information: ℹ️
      Dec 19, 2014, 12:26:32 PM Self test - passed

  • Can you delete some conversations in imessage and not all?

    Can you delete some of the conversations in Messages from one persons. Or must you delete all?

    1. In Messages app, tap on the name of the person you want to delete some conversations.
    2. In the person's conversations list, press and hold a message till "Copy | More..." popup
    3. Select More... and you see the message is ticked (marked), continue if you want to delete more by ticking on the left of speech bubble.
    4. Tap the Trash icon at the bottom left to deleted.

  • How to copy a table with LONG and CLOB datatype over a dblink?

    Hi All,
    I need to copy a table from an external database into a local one. Note that this table has both LONG and CLOB datatypes included.
    I have taken 2 approaches to do this:
    1. Use the CREATE TABLE AS....
    SQL> create table XXXX_TEST as select * from XXXX_INDV_DOCS@ext_db;
    create table XXXX_TEST as select * from XXXX_INDV_DOCS@ext_db
    ERROR at line 1:
    ORA-00997: illegal use of LONG datatype
    2. After reading some threads I tried to use the COPY command:
    SQL> COPY FROM xxxx/pass@ext_db TO xxxx/pass@target_db REPLACE XXXX_INDV_DOCS USING SELECT * FROM XXXX_INDV_DOCS;
    Array fetch/bind size is 15. (arraysize is 15)
    Will commit when done. (copycommit is 0)
    Maximum long size is 80. (long is 80)
    CPY-0012: Datatype cannot be copied
    If my understanding is correct the 1st statement fails because there is a LONG datatype in XXXX_INDV_DOCS table and 2nd one fails because there is a CLOB datatype.
    Is there a way to copy the entire table (all columns including both LONG and CLOB) over a dblink?
    Would greatelly appriciate any workaround or ideas!
    Regards,
    Pawel.

    Hi Nicolas,
    There is a reason I am not using export/import:
    - I would like to have a one-script solution for this problem (meaning execute one script on one machine)
    - I am not able to make an SSH connection from the target DB to the local one (although the otherway it works fine) which means I cannot copy the dump file from target server to local one.
    - with export/import I need to have an SSH connection on the target DB in order to issue the exp command...
    Therefore, I am looking for a solution (or a workaround) which will work over a DBLINK.
    Regards,
    Pawel.

  • I have lots of audiobooks in my library. The problem is each individual cd is listed, it makes my library list very long and when one cd is over I have to click to the next. I would like it to be one big file in order.

    I use my Itunes for all my audiobooks. Right now I may have a book that has 28 Cd's. having many books with many cds in the library makes the library list long and ugly. I would like to consolidate the 28 cd files into one large one. but not screw up the indiviual chapters on each cd. I know Left Click, get into I can orginize more information, under options I have labled them audiobook, but that dose not seem to murge all the cds into one. any ideas?

    Hi Terence:
    so that sounds like better news...I should be OK when this happens?
    Essentially my events become albums...I still have the separation ..correct?
    Why would this be a problem?
    This was a response from an earlier post from Vanoord that concerned me: quote..see next-
    Events has been removed from Photos - it's replaced by 'Moments'.
    'Moments' are like 'Events', but split up by the software and you have no control over what goes where, or what they're called. If you've got 300 Events now, you can look forward to about 3,000 'Moments'.
    This response implies that all my 300 events will become separated into thousands of moments.  What does this mean?  Is this true?
    Won't my Events just become albums as you suggested?
    I have years of events that have accumulated and collated photos.  They must stay separated.
    ****the other thing I was unclear about was the synching part..
    Example:
    I have 300 albums with 30K photos distributed in various numbers in each album ( used to be events according to your response)
    I add some photos in each album each day
    I set all my devices to the cloud etc...
    the cloud synchs from my designated "source" Macbook...
    the cloud sees this and uploads
    then the confusing part...the other devices ( MacBooks, I pad, i phone) all will see the synch and can then be designated to download to each device in the original form as we view it on a Macbook or i phone?  What does "full resolution" or optimized previews mean as Leonie replied above?
    I need my JPEG images for my education keynote presentations and e mailing images as required from each event as needed ( soon to be albums)
    Thanks again...just want to understand what is going to happen

  • Can't use Find My Friends on iPhone due to Apple ID not being verified. Can't do this as I can't access my .mac email any longer and I can not change the primary e-mail address for my Apple ID!

    Can't use Find My Friends on iPhone due to Apple ID not being verified.
    Can't do this as I can't access my .mac email any longer and I can not change the primary e-mail address for my Apple ID!
    So my options are:
    Create a new Apple ID, use that and lose all the apps I've purhcased with it (a fairly substantial amount)
    Somehow Migrate these purchases over to a new Apple ID
    Apple let me change the primary ID for the account
    Anyone else ran into this before?
    I've tried accessing the mail through a mail application using the correct server information, and trying both the old 6 character password and the one I had to change it too after they updated the security guidelines - neither work.
    Help would be greatly appreciated as I can see more services down the line not working without the address being verified!

    To change the iCloud ID you have to go to Settings>iCloud, tap Delete Account, provide the password for the old ID when prompted to turn off Find My iDevice, then sign back in with the ID you wish to use.  When you do this you may find that the password for your old ID isn't accepted.  If this should happen, and if your old ID is an earlier version of your current ID, you need to temporarily recreate your old ID by going to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You should not need to verify the old email address.  You can now use your current password to turn off Find My iDevice on your device, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • T61p exhibiting 1 long and 2 short beep and black screen

    All,
    There have been multiple discussions over the past months concerning a 1 long and 2 short beep symptom on some T61 and T61p model systems.   Over the last several weeks members have begun to start additional topics on this theme and cross post between threads.  
    I am consolidating all the threads into this new discussion today.  Since many of these discussions were originally parallel, the dates and some of the context will now appear somewhat out of chronological order.  Please keep that in mind while browsing this thread.
    If you are presently experiencing the 1 long and 2 short beep code with a black screen on boot up, I would recommend that you contact service at this time for assistance.
    UPDATE 1/4/2011
    Previously, I have advised customers to contact service for assistance with the symptoms discussed here. In an effort to maintain customer satisfaction and loyalty, Lenovo has repaired a number of systems as post warranty exceptions. Lenovo will continue the post warranty support; however, with some revisions to the extended coverage effective December 31, 2010.
    Customers who experience these symptoms on qualifying models that are no more than six months beyond expiration of warranty should continue to contact support for assistance. This additional coverage ends March 31, 2011.
    Coverage beyond this date is available under the terms and conditions of extended warranty or maintenance agreements. Warranty extensions may be purchased for systems that are still within the base warranty period, and post warranty maintenance agreements may be purchased to provide coverage after base and extended warranty periods have expired. Extended warranties and maintenance agreements are a great way to ensure coverage for all the major system components.
    Best regards,
    Mark
    ThinkPads: S30, T43, X60t, X1, W700ds, IdeaPad Y710, IdeaCentre: A300, IdeaPad K1
    Mark Hopkins
    Program Manager, Lenovo Social Media (Services)
    twitter @lenovoforums
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество
    Solved!
    Go to Solution.

    2 is a coincidence, 3 is a pattern... and your problem is identical to mine, too, and happened just some days after mine did...
    It seems to me, without wanting to be alarmist, that the T61p with the 570M gpu (or a batch of them) is failing with the same exact problem (1 long 2 short = GPU error) at the exact same time... scary thought, really.
    Mine arrived at the lenovo repair center (it's still on warranty) on wednesday, and the status shows as "Repair complete, shipped to customer" as of yesterday. There is no tracking number or "Failing Element / part number" in the status page, tho. It hasn't arrived, either.
    Do you know your planar card / motherboard part number? It would be interesting to know if it's the same as mine (42W7653). Were you affected by the problem shown at http://forum.lenovo.com/lnv/board/message?board.id=T_Series_Thinkpads&thread.id=30460&view=by_date_a... ?
    And once Mark_Lenovo reads this, Mark, do you need any info? (serial number for the laptop, easyserv reference, etc?) 
    EDIT/UPDATE:
    I called the EasyServ warranty customer support to ask if they had any additional info not in the website, and as a matter of fact they do. The (very, very helpful and nice) man on the phone told me that the motherboard had been replaced and the laptop was due to arrive today, and he gave the UPS tracking number for it, which indeed says it's scheduled to arrive here today, at some point.
    Once it's here I'll update with information about the actual repair and the part number of the new motherboard, etc.
    To be honest  I'm more than pleasantly surprised about the service: the box for shipping my laptop arrived on wednesday, it was picked up that very same day, the laptop was repaired on thursday and arrives to me today, friday. If the laptop works as expected, this is a 10 out of 10 for lenovo customer support, at least for me.
    I'm less-than-happy about the quality of the product, of course, but at least I got the 3-year warranty so lenovo paid for everything. 
    Message Edited by Kry on 04-10-2009 01:18 PM

  • Significance of Long and short text Objects

    Hi all,
    I want to know the difference between Long and short texts and scenarios in which long texts are better to use than short texts.

    long text used for more than 256 character store in db.
    long text example,
    mm01 t_code sales inform
    to save the long text call function `save_text`.
    short text.
    field Description

  • On images that are long and narrow horizontally, iPhoto truncates them and automaticall crops off part of each end of the image.  How can I make it stop?

    On images that are long and narrow horizontally, iPhoto truncates them and automatically crops off part of each end of the image.  the thumbnail has a jagged, serrated edge at both ends.  How can I make it stop?

    Then I do not get your problem - you can import the photo - you can find the photo and you can edit and save the photo - what more do you want?
    By defination thumbnails are small images to help you find the large image - the large image is fine and you can find it fine - and you know it is only showing part of the image because of the "jagged ends"
    If you think think that iPhoto should display long thumbnails suggest to Apple - iPhoto menu ==> provide iPhoto Feedback
    as to your digital photoframe - contact them - in general gital photos frames display one and only one aspect ratio and any photo that is not in that aspect ratio will be modified to display - either cropped to the proper size for the frame or have 'White" space added to fill the frame - that function is totally controled by the Digital Photo frame and any otptions you have will be in the manual or on the support web site for the frame - to put it in old film terms - you can not put an 8x10 print in a 5x7 frame unless you cut the photo down (or a 8x15 photo in an 8x10 frame either)
    LN

Maybe you are looking for

  • What datatype should i use to store imaq image in sql database?

    Hi there i am thinking of saving the imaq image into database for retrieval in my website so that it's like a stream but i don't like what datatype does labview store the image as.

  • Display number of entries per sort order

    G'day all. Does anybody know how I can display number of entries per sort order in ALV grid. i.e. ABC 2000 2000 2000 3 (entries) 6000 DEF 1000 HIJ 2000 2 (Entries) 3000 5 (Total Entries) 9000

  • Error trying to install software through software center Config Man 2012 sp1

    We are getting this error when trying to install a simple MSI package setup as an application on Config manager 2012 sp1. The software change returned error code 0x87D00607 I noticed in the CITaskMgr.log file the following. <![LOG[Unable to get locat

  • SITE name doesn't Changed after PUBLISHED

    Hi, Facing a serious problem. I've Changed my Site name from 2008 to 2009. after Published, when i click on Visit it shown as www.xxxx.com/2008 ,suppose s'ld be www.xxx.com/2009...what's the matter here? And, After publishing successful, all the Item

  • Why won't iTunes open other iPhoto Libraries?

    Here's what I am trying to do.... I want to stream one of my iPhoto Libraries to my ATV (3rd Gen). All the help pages I find online tell me to: 1) Go into iTunes (CHECK!) 2) Turn on Home Sharing (CHECK!) 3) Click File > Home Sharing > Choose Photos..