FK DELETE RULE problem when importing 8i SCHEMA on 10g

Hi everyone,
I´m having the following problem:
When importing a SCHEMA dump from an 8i database to a 10g one, some foreign key´s delete rule are changed from 'no action' to 'set null' automatically, even though the whole SCHEMA was imported.
Has anyone ever had the same problem?
Thanks a lot,
Bruno

I did some more research and I think I was completely misunderstanding Oracle's implementation of delete rules. Now I believe that Oracle implements the "RESTRICT" option in SQL Developer Data Modeler as "No Action", which is the default option, hence why no DDL option is generated. However, it would still be nice if Data Modeler could detect this fact when comparing two models. What I mean it, if comparing an Oracle DB to a model, treat Restrict and No Action as the same, and thus don't attempt to re-generate the DDL for this "difference". For now, I'll just change the action on my models to No Action, and this should resolve the issue.

Similar Messages

  • Problem when importing Configuration Objects in ID

    Hi,
    i have a problem, when importing configuration objects in my integration directory.
    i have one development system and one corresponding quality assurance system.
    in sld i have defined my business systems + groups + transport targets. the export works fine.
    when trying to import the configuration objects in integration directory of QA i get the following failure.
    #13 07:41:34 [AWT-EventQueue-0] ERROR com.sap.aii.utilxi.swing.toolkit.ExceptionDialog: Throwable
    Thrown:
    MESSAGE ID: com.sap.aii.ib.core.transport.api.TransportCsException
    com.sap.aii.ib.core.transport.api.TransportCsException: java.lang.NullPointerException
         at com.sap.aii.ib.server.transport.impl.pvc.PvcTransport.pvcImport(PvcTransport.java:145)
         at com.sap.aii.ibdir.server.transport.impl.pvc.DirPvcTransport.pvcImport(DirPvcTransport.java:74)
         at com.sap.aii.ibdir.server.transport.impl.service.InternalDirTransportServiceImpl.pvcImport(InternalDirTransportServiceImpl.java:127)
         at com.sap.aii.ib.server.transport.impl.service.InternalTransportServiceImpl.importZippedStream(InternalTransportServiceImpl.java:709)
         at com.sap.aii.ib.server.transport.impl.service.InternalTransportServiceImpl.importFromImportSource(InternalTransportServiceImpl.java:365)
         at com.sap.aii.ib.server.transport.impl.service.TransportServiceImpl.importFromImportSource(TransportServiceImpl.java:154)
         at com.sap.aii.ib.sbeans.transport.TransportServiceBean.importFromImportSource(TransportServiceBean.java:129)
         at com.sap.aii.ib.sbeans.transport.TransportServiceRemoteObjectImpl1_0.importFromImportSource(TransportServiceRemoteObjectImpl1_0.java:730)
         at com.sap.aii.ib.sbeans.transport.TransportServiceRemoteObjectImpl1_0p4_Skel.dispatch(TransportServiceRemoteObjectImpl1_0p4_Skel.java:105)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:313)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:199)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:215)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Serialized server exceptions:
    MESSAGE ID: java.lang.NullPointerException (serialized)
    java.lang.NullPointerException: java.lang.NullPointerException
         at com.sap.aii.ibdir.server.sldaccess.gen.LDAccess.getMySAPIntegrationServerBusinessSystem(LDAccess.java:301)     at com.sap.aii.ibdir.server.sldaccess.gen.LDAccess.getMyBusinessSystemGroup(LDAccess.java:243)     at com.sap.aii.ibdir.server.sldaccess.gen.LDAccess.getBusinessSystemNameInMyGroup(LDAccess.java:173)     at com.sap.aii.ibdir.server.transport.impl.postprocessing.TransportPostprocessor.renameService(TransportPostprocessor.java:838)     at com.sap.aii.ibdir.server.transport.impl.postprocessing.TransportPostprocessor.renameService(TransportPostprocessor.java:732)     at com.sap.aii.ibdir.server.transport.impl.postprocessing.TransportPostprocessor.postprocessTransport(TransportPostprocessor.java:345)     at com.sap.aii.ibdir.server.transport.impl.postprocessing.DirImportPostprocessor.postprocess30Import(DirImportPostprocessor.java:62)     at com.sap.aii.ibdir.server.transport.impl.postprocessing.InternalPostprocessingService.postprocess(InternalPostprocessingService.java:211)     at com.sap.aii.ibdir.server.transport.impl.postprocessing.PostprocessingService.doPostprocessing(PostprocessingService.java:168)     at com.sap.aii.ibdir.server.pvcadapt.XIDirPropagationProvider.transportFinished(XIDirPropagationProvider.java:90)     at com.sap.aii.ib.server.transport.impl.pvc.PvcTransport.pvcImport(PvcTransport.java:107)     at com.sap.aii.ibdir.server.transport.impl.pvc.DirPvcTransport.pvcImport(DirPvcTransport.java:74)     at com.sap.aii.ibdir.server.transport.impl.service.InternalDirTransportServiceImpl.pvcImport(InternalDirTransportServiceImpl.java:127)     at com.sap.aii.ib.server.transport.impl.service.InternalTransportServiceImpl.importZippedStream(InternalTransportServiceImpl.java:709)     at com.sap.aii.ib.server.transport.impl.service.InternalTransportServiceImpl.importFromImportSource(InternalTransportServiceImpl.java:365)     at com.sap.aii.ib.server.transport.impl.service.TransportServiceImpl.importFromImportSource(TransportServiceImpl.java:154)     at com.sap.aii.ib.sbeans.transport.TransportServiceBean.importFromImportSource(TransportServiceBean.java:129)     at com.sap.aii.ib.sbeans.transport.TransportServiceRemoteObjectImpl1_0.importFromImportSource(TransportServiceRemoteObjectImpl1_0.java:730)     at com.sap.aii.ib.sbeans.transport.TransportServiceRemoteObjectImpl1_0p4_Skel.dispatch(TransportServiceRemoteObjectImpl1_0p4_Skel.java:105)     at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:313)     at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:199)     at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136)     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)     at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)     at java.security.AccessController.doPrivileged(AccessController.java:215)     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    #12 07:41:34 [Pool-Thread-3] ERROR com.sap.aii.ib.gui.tools.transport.ConcurrentProgressDialog: Execution failed
    Thrown:
    MESSAGE ID: com.sap.aii.ib.core.transport.api.TransportCsException
    com.sap.aii.ib.core.transport.api.TransportCsException: java.lang.NullPointerException
         at com.sap.aii.ib.server.transport.impl.pvc.PvcTransport.pvcImport(PvcTransport.java:145)
         at com.sap.aii.ibdir.server.transport.impl.pvc.DirPvcTransport.pvcImport(DirPvcTransport.java:74)
         at com.sap.aii.ibdir.server.transport.impl.service.InternalDirTransportServiceImpl.pvcImport(InternalDirTransportServiceImpl.java:127)
         at com.sap.aii.ib.server.transport.impl.service.InternalTransportServiceImpl.importZippedStream(InternalTransportServiceImpl.java:709)
         at com.sap.aii.ib.server.transport.impl.service.InternalTransportServiceImpl.importFromImportSource(InternalTransportServiceImpl.java:365)
         at com.sap.aii.ib.server.transport.impl.service.TransportServiceImpl.importFromImportSource(TransportServiceImpl.java:154)
         at com.sap.aii.ib.sbeans.transport.TransportServiceBean.importFromImportSource(TransportServiceBean.java:129)
         at com.sap.aii.ib.sbeans.transport.TransportServiceRemoteObjectImpl1_0.importFromImportSource(TransportServiceRemoteObjectImpl1_0.java:730)
         at com.sap.aii.ib.sbeans.transport.TransportServiceRemoteObjectImpl1_0p4_Skel.dispatch(TransportServiceRemoteObjectImpl1_0p4_Skel.java:105)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:313)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:199)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:215)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Serialized server exceptions:
    MESSAGE ID: java.lang.NullPointerException (serialized)
    java.lang.NullPointerException: java.lang.NullPointerException
         at com.sap.aii.ibdir.server.sldaccess.gen.LDAccess.getMySAPIntegrationServerBusinessSystem(LDAccess.java:301)     at com.sap.aii.ibdir.server.sldaccess.gen.LDAccess.getMyBusinessSystemGroup(LDAccess.java:243)     at com.sap.aii.ibdir.server.sldaccess.gen.LDAccess.getBusinessSystemNameInMyGroup(LDAccess.java:173)     at com.sap.aii.ibdir.server.transport.impl.postprocessing.TransportPostprocessor.renameService(TransportPostprocessor.java:838)     at com.sap.aii.ibdir.server.transport.impl.postprocessing.TransportPostprocessor.renameService(TransportPostprocessor.java:732)     at com.sap.aii.ibdir.server.transport.impl.postprocessing.TransportPostprocessor.postprocessTransport(TransportPostprocessor.java:345)     at com.sap.aii.ibdir.server.transport.impl.postprocessing.DirImportPostprocessor.postprocess30Import(DirImportPostprocessor.java:62)     at com.sap.aii.ibdir.server.transport.impl.postprocessing.InternalPostprocessingService.postprocess(InternalPostprocessingService.java:211)     at com.sap.aii.ibdir.server.transport.impl.postprocessing.PostprocessingService.doPostprocessing(PostprocessingService.java:168)     at com.sap.aii.ibdir.server.pvcadapt.XIDirPropagationProvider.transportFinished(XIDirPropagationProvider.java:90)     at com.sap.aii.ib.server.transport.impl.pvc.PvcTransport.pvcImport(PvcTransport.java:107)     at com.sap.aii.ibdir.server.transport.impl.pvc.DirPvcTransport.pvcImport(DirPvcTransport.java:74)     at com.sap.aii.ibdir.server.transport.impl.service.InternalDirTransportServiceImpl.pvcImport(InternalDirTransportServiceImpl.java:127)     at com.sap.aii.ib.server.transport.impl.service.InternalTransportServiceImpl.importZippedStream(InternalTransportServiceImpl.java:709)     at com.sap.aii.ib.server.transport.impl.service.InternalTransportServiceImpl.importFromImportSource(InternalTransportServiceImpl.java:365)     at com.sap.aii.ib.server.transport.impl.service.TransportServiceImpl.importFromImportSource(TransportServiceImpl.java:154)     at com.sap.aii.ib.sbeans.transport.TransportServiceBean.importFromImportSource(TransportServiceBean.java:129)     at com.sap.aii.ib.sbeans.transport.TransportServiceRemoteObjectImpl1_0.importFromImportSource(TransportServiceRemoteObjectImpl1_0.java:730)     at com.sap.aii.ib.sbeans.transport.TransportServiceRemoteObjectImpl1_0p4_Skel.dispatch(TransportServiceRemoteObjectImpl1_0p4_Skel.java:105)     at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:313)     at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:199)     at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136)     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)     at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)     at java.security.AccessController.doPrivileged(AccessController.java:215)     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    I couldn't find any similiar problem when searching SDN and SAP Notes.
    BR,
    Martin

    Hi
    Chk this thread
    XI Transport Error
    BR

  • Audio problem when importing video files.

    Hello everyone,
    I just started using FCP X a few days ago for a university project and I seem to encounter an audio problem when importing videos in .mp4, .mov format or via the import from camera option.
    Indeed I need to import videos in .mp4 and .mov format into FCP X. The import in itself is normal I can see my videos into the events/clips library and if I play them from the library I can hear the sound quite perfectly.
    However, when I want to edit my videos and put it in the timeline, there is no audio. As a result I started to think that my videos could be the problem so I tried the option "import from camera" option using the Isight camera of my macbook pro but the same things happened. I could hear the sound from the events/clips library but not from the timeline (I can't see any audiowaves in the timeline).
    I found a solution using quicktime and extracting the audio of the video in .m4a then importing the videos files and the audi files corresponding but it's a long process and a waste of time  as FCP X should be able to import the audio of my video into the timeline directly. Especially if it can read it from events/clips library.
    I hope I explained myself clearly and you could help me resolve my problem.
    Cheers
    Christophe
    PS: I'm using FCP X version 10.0

    Update to 10.0.5.
    You have an incorrect setting when you edit. Try trashing your preferences. Post screen shots of your timeline and toolbar.

  • Business Rules - When importing complex schema subelements not visible

    When I try an import the schemas to XML Facts It doesnt seem to import all the subelements and attributes, ie I can See AlphaCollection and click down to instItem but if i click on instItem i only get size() and null() as options. How do I ensure that I can get to aId, dat etc? These are stored in the same xsd (though I do import many xsds to make up the whole model). Xsd snippet below. Thanks in advance.
    <xs:complexType name="AlphaCollection">
    <xs:sequence>
    <xs:element name="instItem" type="Alpha" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Alpha">
    <xs:sequence>
    <xs:element name="aId" type="xs:string"/>
    <xs:element name="dat" type="xs:dateTime" minOccurs="0"/>
    <xs:element name="version" type="xs:string"/>
    <xs:element name="oList" type="oIdList"/>
    </xs:sequence>
    </xs:complexType>

    What's the targetNamespace and what's the default namespace of the xsd?
    For the snippet to work the way it is they must be the same... Otherwise you will have to define an alias and use it on the element definition...
    For example
    <xsd:schema
    xmlns="http://example.org"
    targetNamespace="http://example.org"
    Hope this helps...
    Cheers,
    Vlad

  • Problem when importing several (2,3 or 4) video files into one project.

    Im creating a project video with several videos running at the same time in one screen.  Sort of like a surveillance with different videos but for some reason one of the video file seems to change from 45 seconds to 3 minutes.  When all of the video files are 45 seconds but after effects seems to put that video file into 3 minutes.  I even deleted the file and imported another video just like it and it works fine until I open the project again.  I am using AE CS4.

    I hope I did this correct.  The first link shows the video length of the videos, this is how it is suppose to be.  Then the second link shows the problem in which one of the videos after (after effects) is closed and then opened again.  One of the video seems to malfunction and shows that it is longer then 45 seconds.  I tried to delete it and open up another one... and then another video seems to malfunction.

  • Problem while importing data schema not found

    Hi,
    I'm facing problem while importing data through system to a schema and impdp gives me error that schema XYZ was not found but when I query dba_users schema exist there what could be the reason of this.
    Regards,
    Abbasi

    Hi,
    Here is complete listing
    bash-3.2$ impdp system/abc schemas=XYZ DIRECTORY=data_dir DUMPFILE=Today_dump.dmp LOGFILE=Today_log.log PARALLEL=8
    Import: Release 11.1.0.7.0 - 64bit Production on Friday, 07 January, 2011 11:18:57
    Copyright (c) 2003, 2007, Oracle. All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORA-39002: invalid operation
    ORA-39165: Schema XYZ was not found.
    Regards,
    Abbasi

  • Jikes compiler problem when importing class from a jar

    hi everyone,
    I'm new there so please excuse me if i post a pb that have been already answered...
    I've a pb with jikes that is encountering a problem and so closing when compiling. I use ant to build my project.
    In my classpath I have, among others, a jar named 'kepler.jar' in which I use the following class 'WSResult;'
    In my java class I have the following import :
    'import com._4d.kepler.model.WSResult;'
    Do you think it is the character "_" that makes jikes to bug ?
    What else can be the problem of not compiling and stopping building the project ?
    Thank you very much for your help, looking forward to your answer...!
    Florence.

    Editing material is vastly different from just playing it.
    With Audio, a player is accessing the actual file on the HDD, and reading the info from there.
    The big difference is that with PrE (and PrPro), those files are not being used directly. When Imported, a couple of things happen:
    PrE creates links to those files, for later use, when one Exports/Shares
    PrE creates "proxy files," to display the Video on the Timeline, based on those links. It also creates proxy files for better display, when one Renders the Timeline, or portions of it.
    PrE creates a CFA (Conformed Audio) and a PEK (Waveform Display) file, that are used - the CFA is to allow for critical editing and the PEK is what one sees on the Audio Track. The actual files are NOT directly accessed - only the CFA file.
    For a bit more info on Conforming, see this ARTICLE.
    Now, there have been some problems reported, where the Audio was Linear PCM/WAV. I do not know what there is about the LPCM, that causes the issue, but the "plain vanilla" PCM/WAV's seem to be trouble-free. I would love to read, from an Adobe employee, or audio engineer, explaining on why there might be issues.
    For the red, and as there is some "earthiness" to it, I like the Acacia Carneros Pinot Noir. I pick it up at Costco for about US $22. It has proved to be about the best inexpensive PN, that I have encountered. Another, is the Peachy Canyon Incredible Red, which I have picked up "on sale" for around US $ 9. Their Peachy Canyon East Side Zinfandel, is even better, and I've found it as low as US $ 15. If you can find the Glen Carlou Grand Classique (South Africa), it is about the best cheap Bordeaux Blend, that I have ever found at ~ US $ 12.
    Good luck,
    Hunt

  • Can I change the tablespace when importing a schema

    I need to import a schema in a different tablespace other than the original.
    When I importing the .dmp the tables are created in the tablespace where they from.
    I don't want it, I need that the tables use the new tablespace.

    Can't think of an easy way to do thie.
    You could import by table - all tables in ts1, then change the users default tablespace, to ts2 etc.
    Bit long-winded.
    You could also pre-create the tables in the schema using the indexfile option on imp(port).
    do imp...indexfile=impexp.sql
    This creates a file (impexp.sql) with the table, index and constraints creation syntax.
    You need to edit this to get the table creation sql, then change the tablespaces for each of the tables to the ones you want.
    You run this to create the empty tables, then when you import, use ignore=y.
    Bob

  • Color space conversion problem when importing JPEG's

    Hi,
    I'm currently playing with the trial version of LR. While importing JPEG's with different color spaces (sRGB and Adobe RGB) to LR I've noticed a strange effect: There is a small but noticable difference in color, depending if the JPEG was previously saved in AdobeRGB, or sRGB. All the images I've tested so far should not contain critical colors that exceed normal sRGB. When opened in CS2 both versions of a JPEG, AdobeRGB and sRGB, typically look perceptually identical, no matter if I leave the sRGB image to sRGB, or convert it to the working space (AdobeRGB). Also my color-managed image viewer behaves as it should. So I don't think it's a matter of the different color spaces.
    Looking at the imported images in LR I would say that the AdobeRGB image is correctly converted while the sRGB image suffers from a slight reddish cast, most noticable in skin tones. The effect is not as strong as if I would load the sRGB image into CS2 and skip color conversion to my working space (AdobeRGB).
    The sRGB versions of the JPEG's were obtained from the AdobeRGB JPEG's using CS2 for conversion.
    Anyone else here experienced a similar problem? Is this a bug in the xRGB-to-ProPhotoRGB conversion of LR, or a feature?
    /Steffen

    Hi Uli,
    thanks for pointing me to your thread. I followed the discussion with great interest. Actually, I think the effect I am describing here is of different nature and a LOT stronger, at least for the type of images I've tested.
    I did some more experiments yesterday with interesting results:
    1) When I export a processed RAW from LR to JPEG or PSD, no matter what Color Space (I tested AdobeRGB, sRGB and ProphotoRGB), and re-import those JPEG/PSD's to LR, they look absolutely identical to the RAW I started with. Also, at first glance, they look similar when opened in CS2, but only because I tested with color images. I can indeed see small differences when testing with B/W, as you described in your "Color management bug" thread.
    2) When I change the color space of an PSD or JPEG inside CS2 (I used the default setting 'relative colorimetric') and save it to JPEG and then import this JPEG to LR, colors are far off. The strength of this mostly reddish color cast depends on the color space of the imported JPEG, strongest for Prophoto, less strong for Adobe and sRGB. Interestingly, when I convert the color space inside CS2 and save the result to PSD, it will display correctly when imported in LR. Another interesting side effect: the thumbnails of LR-exported JPEG's in the "Open" dialogs of CS2 and LR (I guess those are not color-managed) show the typical color-flatness for the Adobe and even more the ProPhoto version. For the CS2-converted JPEG's, all thumbnails look just a colorful as the thumbnail of the sRGB version.
    3) Such an image which doesn't display correctly in LR will keep its color cast when exported again to a JPEG (not sure about PSD). So something goes wrong with the color conversion during the import of such CS2-converted images.
    My explanation so far is that CS2 uses a slightly different way of coding the colorspace information in the metadata of JPEG's which somehow prevents LR to recognise the color space correctly.
    Can you confirm this behaviour?
    Steffen

  • "Date Added" sort order problem when importing folders

    I sort by "Date Added" to view my iTunes library, and use the middle "view" button to view tracks grouped as albums with artwork. This works mighty well except when I'm importing folders containing the files in an album, such as those I get from eMusic--the tracks are displayed out of order when I do this. The only solution I've found so far is to import one track at a time. Any ideas how I can get those tracks in there in the right order when importing a folder? Any scripts hanging around that will do it right? Thanks to all....

    What sort order do you have selecting in the sort drop-down?  There is no "correct" sort order.  You can sort on any metadata you can show in the Browser.  The sort drop-down is located in the top border of the Browser, near the left corner.  Every container in Aperture retains the sort order it last had.  When you manually move an Image in the Browser, the sort order is changed to "Manual".

  • Problem when importing the complex bean model into webdynpro

    hi all,
    when importing the complex bean model into the webDynpro, it was returning the blank.
    Thanks in advance

    Hi,
      show your code for see and understand what could be wrong.
    Here one mine example:
    The model class
    * Created on 27-ott-2006
    * To change the template for this generated file go to
    * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
    package tmp.userslist.comp.model.userslist;
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    import javax.sql.DataSource;
    import java.util.Collection;
    import java.util.ArrayList;
    import java.io.Serializable;
    * @author rtagliento
    * To change the template for this generated type comment go to
    * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
    public class AllUsers {
    // implements Serializable {
         private Connection con;
         private ResultSet rs;
         private Statement stmt;
         private String SqlQuery;
         private Collection usersList = null;
         private UserElement users = null;
    //     private Collection empDetailsList=null;
    //     private EmpDetailsHelperClass  empdetails=null;
         public AllUsers(){
              con = null;     
              java.sql.ResultSet rs = null;
              rs = null;
              SqlQuery  = "SELECT * FROM TMP_USERSLIST ; ";
         public Connection getConnection (){
                   return con;
         public void setConnection (Connection c){
              con = c;
         public Collection getUsersList()
              return usersList;
         public UserElement getUsers()
              return users;
         public void setUsers(UserElement class1)
              users = class1;
         public void execute() throws Exception {
              String DEBUG = new String("");
              try {
                   stmt = con.createStatement();
                   rs = stmt.executeQuery(SqlQuery);
                   usersList = new ArrayList();
                   usersList.clear();
                   while (rs.next()){
                        users = new UserElement();
                        users.setID(rs.getString("ID"));
                        DEBUG += "ID: " + rs.getString("ID") + " | ";
                        users.setName(rs.getString("NAME"));
                        DEBUG += "NAME: " + rs.getString("NAME") + " | ";
                        users.setSurname(rs.getString("SURNAME"));
                        DEBUG += "SURNAME: " + rs.getString("SURNAME") + " | ";
                        users.setBirthDay(rs.getDate("BIRTHDAY"));
                        DEBUG += "BIRTHDAY: " + rs.getDate("BIRTHDAY").toString() + " ---------- ";
                        usersList.add(users);
                   rs.close();
              } catch (Exception e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
                   throw new Exception(e.toString() + DEBUG);
    //          throw new Exception(new Integer(usersList.size()).toString() + DEBUG);
    when use it:
         AllUsers AllU = new AllUsers();
    //     AllU.setConnection(myJdbc.getConnection());
         wdContext.nodeAllUsers().bind(AllU);
         wdContext.currentAllUsersElement().setConnection(myJdbc.getConnection());
         try {
              wdContext.currentAllUsersElement().modelObject().execute();
         } catch (Exception e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
    Hope can help.
    Bye

  • Character set conversion problem when importing application with script.

    Our database has character set: WE8MSWIN1252
    We have a region with the following title: Kopiëren. The ë is stored as character 235 in the database.
    When I make an application export the file is in UTF-8. The ë is now stored as hex C3 AB in this file.
    When importing the application using the Apex tool, the ë is again stored as character 235 in the database.
    In our installation script we use some code to load the application. It look something like this:
    declare
    begin
       -- Determine workspace ID
       apex_application_install.set_workspace_id(l_workspace_id);
       -- Determine app ID
       apex_application_install.set_application_id(l_app_id);
       apex_application_install.generate_offset;
       apex_application_install.set_schema(l_schema);
       apex_application_install.set_application_alias(l_schema);
       l_app_id := apex_application_install.get_application_id;
    end;
    @..\apex\f200.sqlThis works fine except that no character set conversion takes place. The UTF-8 character is placed in the database so our region has as title: Kopiëren
    Is there a way to fix this?

    Hi Rene,
    The character set portion of your local NLS_LANG environment variable should be AL32UTF8, and this should be set prior to you importing your application via SQL*Plus.
    Joel

  • Problem in importing data in oracle 10g from 9i backup

    Hi ,
    Am trying to import data in oracle 10g..but it does not importing constraints, and stop doing anything by the msg.
    About to enable constraints.....
    after this msg it does not work.
    plz help,
    Regards,
    Neha

    Hi Neha,
    You have a lot of options. I'll supose you can test first, and you're using an export file.
    First forget about the data, think in your database structure. So you can do this:
    exp userid=... file=exp_norows.dmp full=y rows=n statistics=none
    Now you have the structure of your database. Create the database, in 10g, empty, check you have all filesystem, etc. for you new datafiles. And do the import with parameter ignore=y, you'll see a lot off errors on SYSTEM schema, don't worry about it.
    Now you have the structure of you database in 10g. You can take a look in the import log file, looking for some possible errors come from your schemas. so check the objects, and check the schemas.
    Bear in mind things like CONNECT role in 9i it's different in 10g, you can't create db_links in 10g with "IDENTIFIED BY VALUES" because you'll get an ORA-00600, etc.
    Well, fix all problems on source database (9i) and repeate this procedure until you don't recieve any more errors (not a SYSTEM schema errors).
    When you have everything solved, you can try to import the data.
    I hope, this method can help you. If you have any problem do not hesitate to ask me.
    John Ospino Rivas

  • Duplication Problem when importing songs

    When ever I try and import songs via the "import folder" option it seems that the songs always have doubles which I have to go through and delete manually. I also want to point out that I consolidate my library to copy all imported songs to another location. But is there anyway I can fix this problem?

    the thing is, I have an external hard drive which I use for all of my songs/videos/pictures and stuff like that. So I have itunes automatically copy all songs to a specific folder on my external, that way after it imports I have everything organized in that specific folder. It doesnt always duplicate songs like that...but when I import 200 songs at a time and it copies half of them, thats still 100 songs I have to go back and manually delete.

  • How do I get Lightroom 4 to delete off camera when importing (like iPhoto and Aperature)?

    When I import photos using iPhoto or Aperature, I get an option to delete them off the camera when the import completes.  That feature is really helpful when there are deveral hynred photos in memory.  How do I accomplish the same thing using Lightroom 4?
    Thanks,
    Rob

    Hamish, there are two important things you should know: 1) if you can recover your deleted photos using any software, then you can do the same thing with "delete after import" and 2) if you can recover after a format, you never did a format, which also brings up the fact that "reformatting" the card to preserve data integrity requires a "full reformat" where every sector of the disk is wiped and, by default, a "quick reformat" just rewrites the File Allocation Table to zeros, ALL the files are still on the card and can be recovered. It's the reason the military has special "secure format" options built into their devices, because even a full reformat leaves magnetic traces that can be recovered with the right software. A secure reformat actually write random data with characters numbered 0-127 to each sector, erases it, writes random data a second time with characters 128-255 and erases it, then finally writes specifically the value "0" to all sectors and then performs a full reformat which places the value "null" in each sector. Then you KNOW your data is gone, each sector has data integrity and can be safely written to again and no one can snatch your data once you've formatted the card.
    Apart from the aforementioned arguments, not everyone removes the card to transfer data. Some people use a USB cable and some are now using wireless and I believe their is an IR transfer on some cameras. On cameras using MTP and PTP, some erase/format commands are not available directly over the connection.
    However, my biggest concern is twofold, it presumes that Adobe knows better then I what should/could be done with my data and they are helping me "for my own good" (them's fighting words between liberals and conservatives, democrats and republicans) and secondly, it restricts options instead of expanding them. Who knows what possibilities exist or needs may or may not be fulfilled by some creative minds out there (I am constantly amazed at what people can do when given the tools they need) and having options is always a good thing. As was pointed out, if implemented correctly, no harm can come to your data because there is always two copies in existence until verification is made that the copy is a perfect match to the original. On the other hand, I have had cameras corrupt the original, so nothing is ever perfectly safe. However, the "observed" actual practice is that people use Lightroom, transfer the photos, then format the card manually creating the exact same problem as if the camera did it automatically (far easier to reformat while the card is in the computer than put it in the camera and go through all those menus) and thus they would lose the information anyhow. The people who are least likely to lose any data are those who transfer the pictures, then look at every one to assure you have it, then go back and delete them one at a time from your camera and, when empty, then reformat the card. Try doing that during a wedding shoot. Very few people are so disciplined. It is a feature that has outlived it's day. You are hard pressed to find any software besides Lightroom that does not give this option.
    Last peculiarity, and maybe it is something I do, but if you shoot and save pictures in both Raw and JPG, when you transfer, onlt the Raw file is transferred leaving the JPG on the camera, but it you shoot just JPG it transfers the JPG and if you shoot just raw it transfers the raw, but it never transfers both. Did I miss a setting somewhere to transfer both copies to the PC?

Maybe you are looking for

  • After editing camera raw and export as jpeg,image becomes overexposed when view on light room..please advise.

    need some help here. don't know if i can describe this accurately. i was using lightroom previously. edit my raw file and then export in jpeg. everything appear normal as what i wanted. recently i got cs4 and started using bridge. now after i edit my

  • Bootcamp and the SDXC Card in the MacBook Air

    Hello, I have a MacBook Air with an SDXC Slot. Is it possible to boot from cards in this slot? What I want to do is install Windows using Bootcamp onto a card in the SDXC Slot. Thanks Andy

  • Output procedure determination Problem

    Hi everyone - I had posted this on the SD forum also but appears to be development related that config. now - the below issue started happening in our PR system as all the transports went in. First the configs went in and I verified the determination

  • E2000 issues

    My computers have no issue if connected by wired to the Linksys E2000 with firmware v1.0.01 I try to connect wireless, but unable to access the intranet or internet. I'm using WPA2-AES (Personal) and broadcasting at 2.4GHz with wireless b, g, and n.

  • Issue in Aadobe Forms

    Dear all, As my requirement is an interactive form the fillable field of import parameter /1bcdwb/docparams has to be set to 'X'. When I do the same, it is giving the following information message 'Adobe document services error: Processing Exception