Core Data newbie needs help

I am new to Core Data, so pleases forgive my ignorance. Here is what I am trying to do:
I have two entities in my data model, one that represents a college course and one which represents a homework assignment. I want to have one of the attributes of my assignment entity be a course entity, so that I can setup my UI to display attributes of a course when a user selects an assignment to which that course is associated. How can I do this?
Again, please forgive me if I am being too vague. Let me know if I need to clarify or post additional information.

That link opens to a MySpace page that requires a password, so your image can't be viewed. It's not a good idea to link an image to your MySpace page anyway. Upload your image to a free image host like PhotoBucket or Flickr (or any host) and link to that.
If you are working on the background, I hope you are working on a copy of the image or at least retaining the original image layer without modification. Editing can be tricky enough, but editing away bad editing is worse.

Similar Messages

  • MacBook - Newbie: Need help on printing wirelessly to XP shared printer

    MacBook - Newbie: Need help on printing to XP shared printer
    Bear with me please. I read tons of articles on this but somehow as a newbie to MAC (girlfriends sick daughter), I am missing something. 10.5.2
    Currently, she can print directly if we plug in the HP Deskjet printer directly via USB to the MACBook. No problem.
    When we first got the MACBOOK I tried setting up the MACBOOK wirelessly to recognize the workgroup where the printer was attached via USB to the Windows XP PC. However it printed out garbage since I did not know there was a difference between XP printing and MAC (Gutenberg/gimp printing/drivers).
    Now I know there is a difference.
    But in reading various instructions, I no longer can find how to connect the MAC to the Windows workgroup. Note we do have a printer set up currently as USB-HP Deskjet on the Macbook (not sure I need to delete it yet).
    I went to System Preferences on MACBOOK and clicked on printers, more printers. In the drop down box was CANON, APPLETALK, IP HP printing and Firewire. There was no WINDOWS selection as I saw in other online web instructions.
    So not sure how to proceed to find a way to:
    1. Connect to Windows workgroup (click on what exactly), step by step please!!
    2. Add correct HP Deskjet 5490 printer (perhaps there is one with Gutenberg or perhaps I need Gutenprint-really not sure what I am talking about)
    Thanks so much in advance. Fiancé's kid has had her cancer recur in a different place and someone was nice enough to buy her a MACBOOK as a gift.
    Sincerely
    Peter

    ccarbery wrote:
    OK...I figured it out...no need to reply.  I noticed that there was another Protocol to use to set up the printer on the Mac, I was using LPD, so I switched it to HP Jet Direct-socket, and it prints fine...thanks.  I am curious as to why LPD wouldn't work; if anyone has that answer I would like to know...thanks
    Any chance of posting the Protocol you used to connect to your printer with your laptop?  I'm have the exact same problem printing from my MB.  Same error message "..is busy".

  • Newbie needs help with Flex app

    Hi there. I am very new to Flex and also fairly new to
    programming although I do have a little experience.
    I am trying to create an app which stores code snippets or
    common text I tend to use every day in my documents and emails.
    So basically I need help on a design level. I can refer to
    the developer's manual for exact instructions for commands, but I
    need to know what to code first.
    The app will consist of:
    -a tree directory structure where I can create groups.
    -There will be a basic text editor where I input all my data,
    basic text formatting options (font, bullets etc) would be a bonus.
    -A search function
    -Finally it will ideally allow multiple client apps write to
    a central database file over a network
    Can anyone suggest how I should approach such a project?
    Or are there any tutorials / source files which demonstrate
    each bullet point?
    thanks.

    Hey jono,
    I'm new too. But I think I might know the right components.
    If you google any of these + flex 3 you should get some
    decent documentation
    tree - advanced dataGrid component
    basic text editor - rich text editor component
    search function - well, you're gonna need to read up on
    arrays, and arraycollection. Once you get that stuff working, you
    can write up a function to search for a string in an array.
    network functionality - HTTPService, you can dump the
    datagrid into a database, and have it load the database when you
    open up the application.
    Give these things a shot, tutorials / sources will come with
    the google searches.

  • Simple core data problem--- please help

    hi all,
    I've done a few core data tutorials, can't say I understand all the switches and doodads, but I'm fairly comfortable with it. I can create almost any kind of "to many" relationship work, and its pure magic...
    the problem is that every "to one" relationship fails to work. I would have thought this was easy! but its apparently impossible.
    heres how to get exactly were i am:
    1. make a new xcode project... core data document based application.
    2. in the model graph make 1 entity with 1 attribute, say an int16 for arguments sake... it doesn't matter what it is the results are always the same.
    3. open up your myDocument.nib file in IB
    4. switch back to xcode, leaving the main window of you Doc visible.
    5. option click + drag your entity from the model graph in xcode, to the main window in IB (you'll see a green plus symbol if its working) and release it
    6. select one object from the resulting option window.
    7. save all files, compile the app, and run it.
    you will now see a control (usually a text box) that is grayed out, and reporting: "no selection". if we had picked "many objects" in #6, this app would be working. so what gives?
    well in the bindings, the item labeled "Controller Key" is set to "selection" and I guess that since there is just the one object, and were already bound to it, theres No need for a selection, thus breaking the binding. But what options do we have in that list? nothing that makes sense, and even though we can put in whatever we feel like, nothing makes any sense. And why would apple even bother letting you drag n drop an entity if it wasn't set up correct in the first place anyway?
    whats going on here? the docs and the tutorials all focus on repeating things I already know, none of them illuminate what the Controller Key is really looking at, and what I need to put in that box to make it aware that it doesn't have a selection, just attributes.

    ok.
    here is whats really happening...
    i set everything up correctly, but when we go to runtime, there is no instantiation of any data, at all. I have a controller, but it has nothing to control.
    with the "to many" relationships, you get an empty table, with add, remove buttons. So its the standard behavior to assume that you don't need the data in the beginning, leading me to a logistical problem, but one that I understand enough to begin formulating a plan.
    I can make a call that instantiates an instance of the data, from my document object, in the awake from nib method. which call? who knows. But I seem to recall that there is some sort of bug in the display anyway, so it may be more complicated than that.

  • Storm user newbie needs help with appcenter

    hi everyone. i need help regarding my blackbeery storm 9500. i bought from a friend but he only gave the charger and the the phone. there is no app center. is there anyway i could get the appcenter so that i can get the bbmessenger?

    You can download BBMessenger from your Blackberry browser at www.blackberry.com/bbm
    AppWorld: www.blackberry.com/appword
    You must have the BlackBerry Data Plan on your device to use either of those services.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Newbie needs help comprehending CSS Password Manager functions

    Hello All:
    I own a TP W500 4062-27U running Windows 7 Ultimate.  The computer is trouble-free.
    I am seeking a solution to the following need:  An application that will securely remember my passwords for various websites, etc. and enable me to log in using the fingerprint reader or similar.
    I am aware that Lenovo provides both Fingerprint Reader software and Client Security Solution software, but I don't know whether or not either one (or both) of these applications will provide the functionality I am seeking.  I have spent a fair bit of time looking around the Lenovo website, but cannot find a document that describes (in a general, overview manner) the functionality that CSS provides.
    I don't need to log into VPNs, or company networks, or anything really fancy like that - I just need something that will enable me to log into about 20 different websites, using a different password for each website.  Right now, I'm generally using the same password for every website (that way, I can remember what it is), and as I think you will agree, that is probably not a very good practice so far as security is concerned.
    If anyone could point me towards a document that explains how I can get CSS to do what I want it to do, I would be very grateful.  If CSS does not have the functionality I am seeking, I would very much appreciate a recommendation of software - possibly non-Lenovo - that does provide the functionality I am seeking.
    Thanks very much for your assistance.
    Michael

    Hi PanEuropean2,
    Welcome to Lenovo Forum!
    In regard to your question, Client Security Solution (CSS) should be the right fit for you.
    I have a T410 with Win 7, and have several passwords to remember which is really killing me. However, by using CSS, Fingerprint software and Password Manager, I need to enter all the passwords only once when access a website or a tool, and let it saved in CSS.
    The next time i turn on the machine and open up a website which needs user ID and password, I just need to swipe the fingerprint that I've enrolled, then viola!
    Just take note that after the first swipe of fingerprint, tools or website that are to be accessed later will automatically show the password in the box directly without having to swipe fingerprint again. You just need to click to log in. I"m not sure if this is the experience you're looking for, however, no harm to give it a try.
    Here's the user guide for CSS. It has
    Client Security Solution components
    Client Security Solution installation considerations
    Client Security Solution features
    Hope this helps
    Cheers,
    Cleo
    WW Social Media
    T61, T410, x240, Z500, Flex 14
    Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    Follow @LenovoForums on Twitter!
    How to send a private message? --> Check out this article.
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • DVD Studio Pro Newbie Needs Help!

    I have a presentation deadline approaching and I need help desperately. I created my presentation using Keynote 3 (800*600 slides) and exported it to a Quicktime movie using H.264 compression at 29.97 fps (high quality settings). I then proceeded to use iDVD 6 and imported the Quicktime movie and created a simple menu using the templates provided.
    I saved the entire project as a disk image and used the DVD player to check the disk image file. The quality of the DVD disk image file looked nothing like the original Quicktime movie. The images and text looked blurry and unprofessional.
    I've spend quite some time on the iDVD and Keynote discussion forums and can't find a solution to my problem. The conclusion I've come is that the mpeg-2 encoder that iDVD 6 uses is problematic.
    I don't want to start using DVD Studio Pro but I will in order to preserve the quality of my original Keynote presentation. So here are my questions...thank you in advance for your help guys....I really need it:
    - I plan on playing the DVD on a 42" Plasma display at a sales office and also distributing it to potential buyers. Are my Keynote export settings optimal for iDVD use? Should I be using H.264 @ 29.97?
    - If I must use DVDSP then what export/compression settings should I use in Keynote to preserve the quality? Keynote doesn't give me an option to use mpeg-2. I have ffmpegX so I can encode different formats...just need to know the correct one.
    - Keynote exports separate audio and video files. I combined them using Quicktime. Is it possible to use the combined file in DVDSP or do they need to be separate.
    Thanks for taking the time to read this post. Any help would be greatly appreciated. Also, if you have any reading material pertaining to this matter please provide link.
    ~Eddie~
    PowerBook G4   Mac OS X (10.4.5)  

    You can use a mov file that contains both audio and video. DVD Studio Pro will compress the mov itself. I am not overly familiar with the codec H.264 but either way its a codec that compresses the video, and if I am right that codec is used for compressing video to web based file sizes, which means heavy compression. When I create DVD material I use M2V format which is what DVD SP wants anyways so it cuts time and drive space in half. If you export an mov and import it into DVD SP, DVD SP compresses the file again which is M2V. Now you have two files, with twice the compression time. When creating M2V the only thing that you need o be aware of is the bit rate, which needs to be adjusted pending the duration of the video. Use 29.97 if you are NTSC and full frame rate, which you should be.
    If you can not create an M2V file with associated aiff audio file, than export your QT file as uncompressed or as a QT Movie. The file itself will be huge but DVD SP will compress it properly.
    I hope this helps

  • Newbie needs help with browser compatibility

    Ok, so I'm new at this, so this may be something really
    simple, but browser compatibility? I made a site in DW;html and it
    shows up perfect in safari but internet explorer and firefox not so
    much. I did a browser compatibility test in DW and it says nothing
    is wrong with my pages, but obviously something must be!!
    On my home page, the image of a house that I have next to the
    company name shows up fine in safari but not any other browsers.
    And my page layout, everything is moved over funny in other
    browsers. Also there are link boxes around the table I created with
    different brands of products. On safari the boxes do not show, but
    all the other browsers it does!! I'm new at this and frustrated!!!
    Need help!!
    The link is holmeshifi.com and I posted code from the home
    page!

    OK thanks Ned sorry to soo dumb I'm on a learning curve here!  what 
    I'm trying to do is go to the URLs of web galleries of images from my 
    main site
    so I would presumably have to rename them on my server? i.e. does that 
    mean adding the code ", "_blank");
    to the files on the server?
    At the moment I have to use the back button on my browser window which
    takes me back to the main site which then has to reload (tediously!)

  • Newbie Needs Help - Moving to CD

    I'm running winXP and have downloaded the latest CS 5.5 version of Dreamweaver - I've created a small series of interlinking web pages with the 'main site' being a folder on my Desktop called Testsite.  As far as I'm aware all the relevant pages/documets/images are contaned within my Desktop folder and everything runs from index.html which sits within my testsite folder.   Ultimately, I would like to be able put a CD in a drive and automatically launch a browser that would open my home page (i.e. index.html).  I need help on all this but I will googe for the auto launch bit - at the moment I would appreciate any advice on burnng my site to a CD.  Because I have created the site on my PC I'm assuming all my dreamweaver internals/links are in the form C:\Documents and Settings\username\Desktop\Testsite - so I'm guessing if I just copy my Desktop Testsite folder to a CD and run index.html on another PC my little web site is not going to work.  I have googled but keep getting pages about running the actual Dreamweaver applicaton from a CD and installing it on a PC - not the way I want to do it.  I'm not interested in moving Dreamweaver to a CD - just the site/pages I have created.  Any advice apprecited.

    All long as all of your files are linked with relative links (eg: /path/to/file.jpg and not http://www.domain.com/path/to/file.jpg) you should be fine.  Auto-starting can be an issue because there are some operating systems that don't auto start discs.  So you should maybe include instructions with your disc in case the autorun does not work.

  • Newbie needs help about Data Encryption

    bought a Wireless G router Saturday, followed the instruction on the cd and hooked up the router to the Desktop (ME) and the cable modem.  I am happy that my new laptop (XP) can surf the Internet anywhere in the house.
    Can anyone see what I can doing when I surf the net via the laptop (wireless)?  Can they see for example what I am typing in a Word document?
    Since the desktop is connected to the router, can anyone see what's in my desktop computer?
    On the laptop, I click on properties of Linksys router, it says: Data Encryptiopn No.
    Do I need to set the laptop up for data encrytion?  What is it encryting?  stuff I type in my e-mail? stuff I type using Word?  Does it only encrypt stuff that I send through the Internet?
    What's WAP, WEP?  Do I need it?
    I called Linksys Tech Support, gave up after waiting for 30 minutes.
    Please help.

    No, no one can see what you type on your WORD document or whatever you are doing on your computers. It says NO ENCRYPTION because you have'nt enabled any security on your router. What the encryption does, is that it prevents other people that has a wireless PC to connect in your wireless network and get internet access. Once the encryption is enabled, if a PC tries to connect, it will be asked for a password, so if they input the incorrect password, they will not be able to connect and use your internet access. Did I make it clear?
    WPA and WEP are types of encryption. WPA is more secured but it is not compatible with all wireless cards or laptop PC (if they are wireless ready). So i do suggest you use WEP on your router.

  • Crypto newb: Need help with encrypting data for offline Swing app

    Hi all,
    I'm VERY new to cryptography. Can somebody point me in the right direction? I've created a Swing application that is intended to be used offline (no network connections are established by the app). I need to export XML files from this application, to be transported via floppy to another instance of the application on a different computer for import. The information is sensitive and must be encrypted!
    I started looking into AES and using asymmetric ciphers (public/private key encryption). But then I realized that if Jane is exporting a file for Bob to view, she won't have access to Bob's public key (no network access). Ugghh!
    I noticed another solution in this forum where the person suggested using password encryption. It was an old post and I think it used DES. Anyway, password encryption doesn't seem too secure.
    So, I thought I'd create a symmetic key (correct term?) once, store it in the program directory, and distribute it with the application installer. That way, everyone would have the same key and would be able to encrypt/decrypt each others files. Right? Err... I'm not sure.
    Like I said, I'm a newb at crypto. If someone could suggest the best/most secure way to accomplish this, I would be eternally grateful.
    PLEASE HELP!!! :-D
    Thanks in advance.

    Sorry, Grant. I must've posted that last one just
    after your response. I was intending the message to
    be for Anand. Heh - you have no idea how many times I've done the same thing. It's an artifact of the asynchronous nature of message boards.
    Your response is very helpful. Out of
    curiosity, does my last post provide any more insight
    that would change your mind? Or do you still believe
    that using password encryption and letting the user
    choose/provide the password is the best solution?Well, as you noted, giving everyone two sets of keypairs is semantically equivalent to giving everyone a single symmetric key. And, as I've noted, it's completely INsecure - everyone who gets access to an install disk, either legitimately or no, can read every transmission your app makes forever after. Cryptographically speaking, this is Not A Good Thing.
    The advantage of PBE is that it's easy for your users to exchange keys when their machines can't see each other. The real key here is that your app, if you really want it to be secure, MUST allow/require that transmission between Alice and Bob use a different key than that between Alice and Carlos or Bob and Carlos - otherwise, if Eve compromises any user of your software, ALL users are compromised.
    I'd go with PBE, just because other alternatives are painful for your end users. You could use generated KeyPairs, for example, if you provide a means for users to exchange public keys. If you display Bob's public key in encoded, String-able form, then Bob can either email that to Alice or read it off to her over the phone. Into your app Alice loads/types in that public key, and the app now knows how to secure communications with Bob.
    Public keys are large, though, and people screw them up typing them in. And many users have TERRIBLE key discipline - if Bob loses access to his private key, he can't read anything Alice sends. And if his private key is readable on some public shared folder (which happens with a totally-frightening regularity), then we're back to no security at all.
    Use one of the triple-DES PBE Ciphers, and get on with making your app do what you really want it to do, would be my advice. (Free advice, of course, being worth every penny you pay!)
    Once again, thanks a bunch!Glad to help.
    Grant

  • Newbie needs help creating folder with different date buckets

    A simplification my scenario, I have a table, Invoice, which contains invoice amounts and invoice dates. I want to break up the invoices amounts into date buckets, such that my target report should look something like this:
    Invoices<30 Invoices<60 Invoices<90 Invoices>90
    $100 $250 $500 $1000
    I have created a folder from the Invoice table, and would like to know if it is possible to create new items within this folder to allow me to sum invoice amounts over the 0-30, 30-60, 60-90, 90+ invoice date ranges. In other words, can I create new items that each have their own condition?
    I have seen other solutions that use a custom folder backed by a SQL query using case statements to break a table down into its date range buckets. Is this considered the "right" approach to the problem?
    A simpler solution I've thought of is creating a folder for each date range (Invoices30, Invoices60, etc), and setting the condition of the folder to do the date filtering. The item "Invoice Amount" in each folder ends up being the bucket I want, and I would put them together in a complex folder, and build the report off the complex folder. Although inelegant and a bit redundant, would this solution work?
    Thanks everybody!

    Hi Newbie
    You can do this right inside Discoverer using a couple of calculations.
    Calc 1:
    =====
    Calculate the invoice date variance, let's say you will use TRUNC(SYSDATE) - TRUNC(INVOICE DATE). This gives you a number and let's call this new calculation VARIANCE.
    Calc 2:
    =====
    This second calculation created the buckets themself. Let's do it using a CASE statement and we'll call the calculation TIME BUCKET.
    CASE
    WHEN VARIANCE <= 30 THEN "0 to 30"
    WHEN VARIANCE <= 60 THEN "30 to 60"
    WHEN VARIANCE <= 90 THEN "60 to 90"
    ELSE "More than 90"
    END
    You now display only TIME BUCKET in your workbook. The other calculation, VARIANCE, will be used but not displayed on screen in the final answer.
    If you don't like CASE, here's the same answer using DECODE:
    DECODE(VARIANCE,
    LEAST(VARIANCE,30), "0 to 30",
    LEAST(VARIANCE,60), "30 to 60",
    LEAST(VARIANCE,90), "60 to 90","More than 90")
    By the way, when you do this you will find that Discoverer runs your report very fast. This is because it can handle these types of queries exceptionally well.
    I hope this helps
    Regards
    Michael

  • Newbie need help with Web BEx setup!

    Out of curiosity, I decided to install Netweaver so I can have a play with it. I am a complete newbie to Netweaver therefore I apologise if this is out of context...
    Here's my question:
    How do one go about getting Web BEx to work?
    Whenever I activate the link in the portal, I get an error about unknown "SWITCH_AXES" command and 0ANALYSIS type 4 error. I search the forum and the few passing mentions of the problem points to OSS notes that is only accessible through service marketplace (which I don't have an ID). I have check the object types in BI content and seems that 0ANALYSIS is already activated. There must be something I am missing. Tried blindly and randomly installed other BI content (mostly Web templates and objects) but to no avail (and encounted a few short dumps).
    Any help is greatly appreciated!
    So far, here're what I did:
    1) Install Netweaver 2004S ABAP and Java on the same machine. Instance 00, 01 and 02 respectively.
    2) Try to run BI-Java template installer, but met with error part way. So some of the steps are done manually.
    3) Set up SLD (both instance are in the landscape), and 'partially' set up SSO. Partially as while JAVA to ABAP seems to work, ABAP to JAVA is not working. Anoying but livable.
    4) Installed TREX (instance 03) and are seen by ABAP and JAVA.
    5) ABAP is seen in the portal and I can create transactional iviews and put them in the Portal (with working SSO).
    6) Did reverse-proxying with Apache, but I don't think it matters as it seems to be a backend module issue.
    7) Business planning/wizard is working (in ABAP and Portal) as is Broadcast. As you can see, Web BEx is the only thing that is not working

    The default link for Web Analyser in EP 7 seems to point to the new template. When opening the analysis template in the new BEx windows tool, the same error is being reported. Using 3.5.x WAD, I can't locate the template.
    More on this issue Although for that case, the meta data is not installed. Is there a way to trace missing component and reinstall the needed BI content in RSA1?
    BTW, these are on JAVA SP9 and ABAP SP11.

  • Oracle SQL Newbie need help with OE Demo Schema Installation

    Hello everybody !
    I'm hoping some kind soul can help out this SQL newbie.
    First of all i've installed 10g R2 database on a PC running XP SP2.
    Oracle is installed on the root C: drive
    I'm using the SQL Fundamentals I Exam Guide and DBA Handbook (Both Oracle Press)
    as my reference.
    My problem is this.
    I installed the DB and created the demo HR schema without too much problem
    but it's the demo OE schema i'm having problems getting running and cannot
    find anywhere on the net that outlines a step by step SQL process.
    I am using SQL Plus to execute these commands.
    My questions are these:
    -For the default tablespace i specify "users" ?
    -What do i specify for the temporary tablespace ? "temp" ?
    -what directory path do i put for the data files as parameter 6 ?
    I put down "C:\oracle\product\10.2.0\db_1\demo\schema\order_entry" but i suspect it's
    the wrong thing ?
    -What do i specify for the writable directory path for the log files ?
    Is it C:\oracle\product\10.2.0\RDBMS\log
    -And what is "Specify version as parameter 8:" line ?
    I assumed it was the db version but i believe it's wrong.
    Could somebody please help me ? I've already done my CCNA and i wanted to add oracle under my belt.
    I know if i had these few things cleared up for me it would pave the way to actually enjoying learning Oracle :)
    Thank you for any assistance :)

    I installed the DB products from the companion disk and there was no specific mention of the demo schemas. Regardless... They're all there within the demo subfolder and have already created the hr schema.. I just need somebody (I'll pay if necessary) to PLEASE just answer (what would be easy to you guys my questions so i can move on.
    this is a cap from my sql plus..
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jun 14 15:01:29 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> alter user oe account unlock identified by oe;
    User altered.
    SQL>
    specify password for OE as parameter 1:
    Enter value for 1: mewfymewf
    specify default tablespeace for OE as parameter 2:
    Enter value for 2: users
    specify temporary tablespace for OE as parameter 3:
    Enter value for 3: temp
    specify password for HR as parameter 4:
    Enter value for 4: mewfymewf
    specify password for SYS as parameter 5:
    Enter value for 5: mewfymewf
    specify directory path for the data files as parameter 6:
    Enter value for 6: C:\oracle\product\10.2.0\db_1\demo\schema\order_entry
    writeable directory path for the log files as parameter 7:
    Enter value for 7: C:\oracle\product\10.2.0\db_1\RDBMS\log
    specify version as parameter 8:
    Enter value for 8: 10.2.0
    User dropped.
    old 1: CREATE USER oe IDENTIFIED BY &pass
    new 1: CREATE USER oe IDENTIFIED BY mewfymewf
    User created.
    old 1: ALTER USER oe DEFAULT TABLESPACE &tbs QUOTA UNLIMITED ON &tbs
    new 1: ALTER USER oe DEFAULT TABLESPACE users QUOTA UNLIMITED ON users
    User altered.
    old 1: ALTER USER oe TEMPORARY TABLESPACE &ttbs
    new 1: ALTER USER oe TEMPORARY TABLESPACE temp
    User altered.
    Grant succeeded.
    Connected.
    Session altered.
    Session altered.
    SP2-0310: unable to open file "C:\oracle\product\10.2.0\db_1/demo/schema/order_entry/coe_10.2.0"
    SP2-0310: unable to open file "C:\oracle\product\10.2.0\db_1/demo/schema/order_entry/loe_10.2.0"
    SP2-0310: unable to open file "C:\oracle\product\10.2.0\db_1/demo/schema/order_entry/poe_10.2.0"
    Session altered.
    ...creating subschema OC in OE
    Type created.
    Type body created.
    Table created.
    FROM inventories i, warehouses w
    ERROR at line 6:
    ORA-00942: table or view does not exist
    FROM product_information p
    ERROR at line 10:
    ORA-00942: table or view does not exist
    FROM customers c
    ERROR at line 20:
    ORA-00942: table or view does not exist
    FROM customers c
    ERROR at line 20:
    ORA-00942: table or view does not exist
    FROM customers c
    ERROR at line 20:
    ORA-00942: table or view does not exist
    FROM orders o
    ERROR at line 9:
    ORA-00942: table or view does not exist
    ON oc_orders FOR EACH ROW
    ERROR at line 2:
    ORA-00942: table or view does not exist
    TABLE order_item_list OF oc_orders FOR EACH ROW
    ERROR at line 2:
    ORA-00942: table or view does not exist
    Commit complete.
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 5:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 5:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 5:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 5:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    1 row created.
    1 row created.
    1 row created.
    1 row created.
    Type altered.
    3 rows updated.
    0 rows updated.
    0 rows updated.
    0 rows updated.
    Commit complete.
    Type body altered.
    Type body altered.
    Type body altered.
    PL/SQL procedure successfully completed.
    SQL>
    Like i can figure out that the "version in parameter 8" has something to do with the coe, poe & loe files
    but i don't know what.
    If somebody can please help me with my questions then i know i can move on.
    Thanks
    Edited by: user11216992 on Jun 14, 2010 3:37 PM

  • Repost: Newbie needs help

    please help if you are willing and able.
    There are only 3 blocks, the long strait one and the 2 'S' Blocks the blocks are generated from methods within the class, the methodes simply change the variables of the 'x,y; coords of the smaller rectangle2D's that make up each block
    my teacher and I both realized too late that this was way out of my league so he scaled the project down to 3 blocks and all they have to do is stack, and then I need to make a sound happen somewhere in the program. I realize much of this is shotty code I am still learning.
    thanks in advance
    //This is the Block Class
    package newtetrisproject;
    import javax.swing.*;
    import java.awt.geom.*;
    import java.awt.*;
    import java.awt.Shape.*;
    * Title: a different (newbie) way to make a tetris game
    * Description:
    * Copyright:
    * Company: rcc
    * @author troy
    * @version 1.0
    public class Block extends Rectangle2D.Double
       Rectangle2D.Double sq0;//class variables
       Rectangle2D.Double sq1;//each square is
       Rectangle2D.Double sq2;//part of a block
       Rectangle2D.Double sq3;//an array of 4 squares
       Shape[] currentBlock;  //make one block
       int blockNumber = 0;//number to decide which block to make
       int rotateCount = 0;//number to decide wich rotation method to use
       int sq0X;//variables to hold
       int sq0Y;//the X and Y values
       int sq1X;//of each Square in the block
       int sq1Y;//by the name of the square
       int sq2X;//and X or Y, Note sq is short for square and the number
       int sq2Y;//pertains to which square in the block
       int sq3X;//
       int sq3Y;//
       final int  SQUARE_SIDES = 20;
       public Block()
          getRandomBlock();
       public void moveDown() //moves the blocks 20 units down left or right
          sq0.y += 20;
          sq1.y += 20;
          sq2.y += 20;
          sq3.y += 20;
       public void moveLeft()
          sq0.x -= 20;
          sq1.x -= 20;
          sq2.x -= 20;
          sq3.x -= 20;
       public void moveRight()
          sq0.x += 20;
          sq1.x += 20;
          sq2.x += 20;
          sq3.x += 20;
       public void rotateBlock(int blockNumber , boolean rotated)
          switch(blockNumber)
          case 1:
             rotate_Left_S_Block(rotated);
             break;
          case 2:
             rotate_Right_S_Block(rotated);
             break;
          case 3:
             rotate_Long_Block(rotated);
             break;
       public void rotate_Left_S_Block(boolean rotated)
          if(rotated == false)
             sq1.x = sq0.x;
             sq1.y = sq0.y +21;
             sq2.x = sq1.x -21;
             sq2.y = sq1.y;
             sq3.x = sq2.x;
             sq3.y = sq2.y + 21;
          if(rotated == true)
             sq1.x = sq0.x + 21;
             sq1.y = sq0.y;
             sq2.x = sq1.x ;
             sq2.y = sq1.y +21;
             sq3.x = sq2.x + 21;
             sq3.y = sq2.y;
       public void rotate_Right_S_Block(boolean rotated)
          if(rotated == false)
             sq1.x = sq0.x;
             sq1.y = sq0.y + 21;
             sq2.x = sq1.x + 21;
             sq2.y = sq1.y ;
             sq3.x = sq1.x + 21;
             sq3.y = sq2.y + 21;
          if(rotated == true)
             sq1.x = sq0.x - 21;
             sq1.y = sq0.y;
             sq2.x = sq1.x;
             sq2.y = sq1.y + 21;
             sq3.x = sq2.x - 21;
             sq3.y = sq2.y;
       public void rotate_Long_Block(boolean rotated)
          if(rotated == false)
             sq1.x = sq0.x;
             sq1.y = sq0.y + 21;
             sq2.x = sq0.x;
             sq2.y = sq1.y + 21;
             sq3.x = sq0.x;
             sq3.y = sq2.y + 21;
          if(rotated == true)
             sq1.x = sq0.x + 21;
             sq1.y = sq0.y;
             sq2.x = sq1.x + 21;
             sq2.y = sq0.y;
             sq3.x = sq2.x + 21;
             sq3.y = sq0.y;
            public Shape[] getLeftBlock()
               sq0X = 150;
               sq0Y = 10;
               sq1X = sq0X + 21;
               sq1Y = 10;
               sq2X = sq1X;
               sq2Y = sq1Y + 21;
               sq3X = sq2X + 21;
               sq3Y = sq2Y;
               sq0 = new Rectangle2D.Double(sq0X, sq0Y, SQUARE_SIDES, SQUARE_SIDES);
               sq1 = new Rectangle2D.Double(sq1X, sq1Y, SQUARE_SIDES, SQUARE_SIDES);
               sq2 = new Rectangle2D.Double(sq2X, sq2Y, SQUARE_SIDES, SQUARE_SIDES);
               sq3 = new Rectangle2D.Double(sq3X, sq3Y, SQUARE_SIDES, SQUARE_SIDES);
               currentBlock = new Rectangle2D.Double[] {sq0, sq1, sq2, sq3};
               return currentBlock;
            public Shape[] getLongBlock()
               sq0X = 150;
               sq0Y = 10;
               sq1X = sq0X + 21;
               sq1Y = 10;
               sq2X = sq1X + 21;
               sq2Y = 10;
               sq3X = sq2X + 21;
               sq3Y = 10;
               sq0 = new Rectangle2D.Double(sq0X, sq0Y, SQUARE_SIDES, SQUARE_SIDES);
               sq1 = new Rectangle2D.Double(sq1X, sq1Y, SQUARE_SIDES, SQUARE_SIDES);
               sq2 = new Rectangle2D.Double(sq2X, sq2Y, SQUARE_SIDES, SQUARE_SIDES);
               sq3 = new Rectangle2D.Double(sq3X, sq3Y, SQUARE_SIDES, SQUARE_SIDES);
               currentBlock = new Rectangle2D.Double[] {sq0, sq1, sq2, sq3};
               return currentBlock;
            public Shape[] getRightBlock()
               sq0X = 150;
               sq0Y = 10;
               sq1X = sq0X - 21;
               sq1Y = 10;
               sq2X = sq1X;
               sq2Y = sq1Y + 21;
               sq3X = sq2X - 21;
               sq3Y = sq2Y;
               sq0 = new Rectangle2D.Double(sq0X, sq0Y, SQUARE_SIDES, SQUARE_SIDES);
               sq1 = new Rectangle2D.Double(sq1X, sq1Y, SQUARE_SIDES, SQUARE_SIDES);
               sq2 = new Rectangle2D.Double(sq2X, sq2Y, SQUARE_SIDES, SQUARE_SIDES);
               sq3 = new Rectangle2D.Double(sq3X, sq3Y, SQUARE_SIDES, SQUARE_SIDES);
               currentBlock = new Rectangle2D.Double[] {sq0, sq1, sq2, sq3};
               return currentBlock;
            public Shape[] getRandomBlock(){//generates a random number
       //to decide witch block to instantiate
       int randomBlockType = (int) Math.floor( 1 + Math.random() * (int)Math.ceil(3));
       switch(randomBlockType)
          case 1:
             currentBlock = this.getLeftBlock();
             blockNumber = 1;
             break;
          case 2:
             currentBlock = this.getRightBlock();
             blockNumber = 2;
             break;
          case 3:
             currentBlock = this.getLongBlock();
             blockNumber = 3;
             break;
       System.out.println(randomBlockType);
       return currentBlock;
            public void rotate()
               boolean rotated = false;
               switch(rotateCount){
                  case 0:
                     rotateBlock(blockNumber , rotated);
                rotateCount ++;
                break;
             case 1:
                rotated = true;
                rotateBlock(blockNumber , rotated);
                rotateCount --;
                break;
    Here is my GamePanel class, most of my game logic is here
    note there are some things in here that are not being used they are experimental I tried to flag them or remove them before posting this but I am not sure I got everything, plus I thought it best to leave in some of my mistakes so whoever can help will see what my brain is doing(scary thought)*/
    package newtetrisproject;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.Shape.*;
    import java.awt.geom.*;
    import javax.swing.Timer;
    import java.util.ArrayList;
    import javax.sound.*;
    import java.lang.Object.*;
    import java.lang.*;
    * Title: gamePanel
    * Description:This is the eventhandler and painter of the game
    * Copyright:
    * Company: rcc
    * @author troy
    * @version 1.0
    public class GamePanel extends JPanel implements ActionListener,KeyListener,FocusListener{
       Color lineColor;
       Color fillColor;
       Block block;
    /**********EXPERIMENTAL VARIABLES******************/
    Shape[] stackedBlocks ;//to hold the previous blocks
    ArrayList blockList ;//this is along the same thinking as stackedBlocks[]
    Shape[] stackedShapes;//was going to try this to hold the
                                                  //individual squares of each block but
                                                  // I still can't get paintComponent to paint it
    Shape sq0;
    Shape sq1;
    Shape sq2;
    Shape sq3;
       int blockCount = 0;//to count the blocks
       int blockIndex = 0;//to index through the array or arrayList
                                       //(which ever gets used)
       int squareIndex = 0;//same as blockIndex only it would apply to
                                          //the squares instead of the whole block
    /********END EXPERIMENTAL VARIABLES*********************/
    Timer timer = new Timer(1000,this);//calls moveBlockDown()
    Line2D.Double bottomLine;
       public GamePanel()
         bottomLine = new Line2D.Double(0,400,400,400);
         setVisible(true);
         lineColor = Color.BLACK;
         fillColor = Color.YELLOW ;
         setBackground(Color.white);
         addKeyListener(this);
         addFocusListener(this);
         setFocusable(true);
        ArrayList blockList = new ArrayList();//
       }/**********END CONSTRUCTOR****************/
    //these next 2 methods are where I am having the most trouble
    //I am trying to make a method
    //to hold the blocks once they have
    //stopped moving and then repaint
    //them.
    public void stackBlock()
          int listIndex;
          blockList.add(blockCount,block.currentBlock);
          blockCount ++;
       public Shape[] getStackedBlock()
           Shape[] thisBlock;                       
          int sq0x = (int)block.sq0.x;
          int sq0y = (int)block.sq0.y;
          int sq1x = (int)block.sq1.x;
          int sq1y = (int)block.sq1.y;
          int sq2x = (int)block.sq2.x;
          int sq2y = (int)block.sq2.y;
          int sq3x = (int)block.sq3.x;
          int sq3y = (int)block.sq3.y;
          sq0 = new Rectangle2D.Double(sq0x, sq0y);
          sq1 = new Rectangle2D.Double(sq1x ,sq1y );
          sq2 = new Rectangle2D.Double(sq2x,sq2y);
          sq3 = new Rectangle2D.Double(sq3x,sq3y);
    thisBlock = new Rectangle2D.Double[] {sq0,sq1,sq2,sq3};
          thisBlock  = block.currentBlock;
          return thisBlock;
       public void checkBoard()
          if(block.sq0.getBounds2D().intersectsLine(bottomLine)
             ||block.sq1.getBounds2D().intersectsLine(bottomLine)
             ||block.sq2.getBounds2D().intersectsLine(bottomLine)
             ||block.sq3.getBounds2D().intersectsLine(bottomLine))
             timer.stop();
             //getStackedBlock();//this is commented out for now
             repaint();
            getNewBlock();
       public void getNewBlock()
        block = new Block();
        blockCount  ++;
        timer.start();
    public  void startGame()
       block = new Block();
       timer.start();
       repaint();
    public void paintComponent(Graphics g)
       try{
          Graphics2D g2D = (Graphics2D) g;
          super.paintComponent(g);
          g2D.setColor(lineColor);
          g2D.draw(block.currentBlock[0]);
          g2D.draw(block.currentBlock[1]);
          g2D.draw(block.currentBlock[2]);
          g2D.draw(block.currentBlock[3]);
          g2D.draw(bottomLine);
          g2D.setColor(fillColor);
          g2D.fill(block.currentBlock[0]);
          g2D.fill(block.currentBlock[1]);
          g2D.fill(block.currentBlock[2]);
          g2D.fill(block.currentBlock[3]);
          catch (NullPointerException e)
       public void keyPressed(KeyEvent k)
          if (k.getKeyCode() == k.VK_LEFT)
             block.moveLeft();
             repaint();
          if (k.getKeyCode() == k.VK_RIGHT)
             block.moveRight();
             repaint();
          if (k.getKeyCode() == k.VK_UP)
             block.rotate();
             repaint();
          if (k.getKeyCode()==k.VK_DOWN)
             block.moveDown();
             repaint();
       public void drop()
          block.moveDown();
          repaint();
       public void actionPerformed(ActionEvent e)
          drop();
          checkBoard();
    public void keyReleased(KeyEvent k)
       public void keyTyped(KeyEvent k)
       public void focusGained(FocusEvent fe)
       public void focusLost(FocusEvent fe)
       public void loop()
       public void play()
       public void stop()
    My last class is the Class containing my main method
    package newtetrisproject;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.Shape.*;
    * Title: a different way to make a tetris game
    * Description:
    * Copyright:
    * Company: rcc
    * @author troy
    * @version 1.0
    public class Game extends JFrame{
       Container contentPane;
       GamePanel gamePanel;
       public Game() {
          this.setLocation(400,100);
          this.setSize(400,600);
          this.setResizable(false);
          gamePanel = new GamePanel();
          contentPane = getContentPane();
          contentPane.setBackground(Color.red);
          contentPane.setLayout(new BorderLayout());
          contentPane.add(gamePanel,BorderLayout.CENTER);
          contentPane.add(new JPanel(),BorderLayout.NORTH);
          contentPane.add(new JPanel(),BorderLayout.EAST);
          contentPane.add(new JPanel(),BorderLayout.WEST);
          contentPane.add(new JPanel(),BorderLayout.SOUTH);
          setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          setVisible(true);
          JOptionPane.showMessageDialog(this,"Lets Play Tetris");
          gamePanel.startGame();
       public static void main(String[] args) {
          Game game = new Game();
    }

    these methods change the location variables of the
    smaller squares(eg.Rectagle2D.Double's)
    getLeftBlock,getRightBlock,getLongBlock, are methods that set
    the location variables of the smaller squares and thus create the block.
    example: getLongBlock sets all of the squares in a strait row, creating a long block.It sounds like what you're trying to build is a Block factory, but instead you're doing it by taking an existing Block and changing its values.
    I'd suggest:
    1) Creating a new class, BlockFactory
    2) putting get{Left,Right,Long}Block, and also getRandomBlock, in there, and rename them createLeftBlock, etc.
    3) Try to make Block as tiny as you possibly can. Remove anything duplicate. Don't just remove whitespace, but remove redundant data. I'm really serious about this.

Maybe you are looking for

  • Time machine keeps spinning my external drive up and down...

    What's the reason for this madness? It spins my external hard drive up and down continuously, even when I'm not using the machine! My computer is in my room it's waking me up because it clicks every time it spins up or down. I'm also concerned this w

  • Attempted to perform an unauthorized operation error on windows 8.1 while installing SQL server 2008

    Hi, I am getting the error "Attempted to perform an unauthorized operation" on windows 8.1 while installing SQL server 2008. The specific error is The error is Attempted to perform an unauthorized operation." at stepSqlBrowserConfigAction_install_Con

  • ATI Radeon HD 4870, support for quicktime using video card to decode h.264?

    Does anyone know if Apple decided to use some of the fancy hardware in the new ATI RADEON HD 4870 to allow quicktime to shunt the h.264 decoding off to the video card? I've got a 8 cores (and they don't seem all that busy). Even with the Perian quick

  • ERM: "Role not saved" ?

    Hi All, I've recently imported roles to ERM (SP11) and I've generated the role on the backend successfully. However, if I try to then change the role I'm unable to save the changes for the imported role. Instead a red error message is issued: "X Role

  • How to transfer data from BW to R/3

    Hi Sdn, Here is an urgent requirement for me. The issue is that I need to transfer the data from BW to R/3 system.please give some suggestion, how to do that. thanks & regards hemachandran