Logical DataGuard

Dear Support
I am trying to setup logical dataguard as we dont have licenses for active-active and need to gernerate reports online from the standby database .
always getting error like the primary database cannot connect to standby database ?
Please help.
Thanks
Ehab

user5307432 wrote:
Thankz Mahir
I will try this today..
want to ask u what os the disadvantage using logical datagaurd rather than using active dataguard?
ThanksHi,
Firstly, you can not use Active Data Guard with logical standby. Only can use physical standby.
As you know, transport service is don't support all datatypes (http://docs.oracle.com/cd/B19306_01/server.102/b14239/create_ls.htm#i76902).
But if you are using logical standby, then you can create additional indexes, also you can use logical database as other database
for other schema because logical standby database opening READ/WRITE mode.
Regards
Mahir M. Quluzade

Similar Messages

  • Logical dataguard problem

    Hi all,
    I have prepared a logical dataguard on two local systems. My oracle version is 9i and linux version is Entreprise Linux 3.0.
    Today when i tried to execute spcreate.sql on the primary database it had thrown some errors in my secondary database.
    Kindly look at the following output from my secondary database:-
    SQL> select applied_scn,newest_scn from dba_logstdby_progress;
    APPLIED_SCN NEWEST_SCN
    270084 272644
    SQL> SELECT XIDUSN, XIDSLT, XIDSQN FROM DBA_LOGSTDBY_EVENTS
    2 WHERE EVENT_TIME = (SELECT MAX(EVENT_TIME) FROM DBA_LOGSTDBY_EVENTS);
    XIDUSN XIDSLT XIDSQN
    6 1 114
    SQL> EXECUTE DBMS_LOGSTDBY.SKIP_TRANSACTION(6,1,114);
    PL/SQL procedure successfully completed.
    SQL> ALTER DATABASE START LOGICAL STANDBY APPLY;
    Database altered.
    SQL> select applied_scn,newest_scn from dba_logstdby_progress;
    APPLIED_SCN NEWEST_SCN
    270087 272644
    SQL> SELECT * FROM DBA_LOGSTDBY_EVENTS;
    EVENT_TIM CURRENT_SCN COMMIT_SCN XIDUSN XIDSLT XIDSQN
    EVENT
    STATUS_CODE
    STATUS
    grant select on STATS$V_$SQLXS to PERFSTAT
    942
    ORA-00942: table or view does not exist
    from the above errors i have found out that a particular transaction is unable to replicate in my standby database and i skipped the transaction. But still after skipping the transaction applied_scn in the dba_logstdby_progress is moving only by 3 each time I skip a transaction . So it won'' t be possible for me to skip each and every transaction.
    Kindly let me another way of skipping the rest of transactions which are causing halt in the replication.
    Also I am unable to find out how the script executed from the sys user can be replicated on logical database as sys comes in unsupported users in logical datagurad.
    Is there any way I can execute a script on primary database which won't reflect on secondary database.
    thanks in advance.

    Hi Yoann,
    Commands you provided for skipping perfstat schema worked on logical database .
    Now i m executing spcreate.sql on secondary database it gives following errors after i have specified the perfstat password,default tablespace for perfstat as 'perfstat' and temporary tablespace for perfstat as 'temp' and datafile contained in perfstat tablespace is 150 MB in size.
    spcreate worked fine on primary but is giving errors in the end in secondary.Any suggestions about this:-
    Specifying the SYSTEM tablespace will result in the installation
    FAILING, as using SYSTEM for performance data is not supported.
    TABLESPACE_NAME CONTENTS
    LOGMNRTS PERMANENT
    PERFSTAT PERMANENT
    TEMP TEMPORARY
    UNDOTBS1 UNDO
    Specify PERFSTAT user's default tablespace
    Enter value for default_tablespace: perfstat
    Using perfstat for the default tablespace
    PL/SQL procedure successfully completed.
    User altered.
    User altered.
    Choose the PERFSTAT user's temporary tablespace.
    Specifying the SYSTEM tablespace will result in the installation
    FAILING, as using SYSTEM for the temporary tablespace is not recommended.
    Specify PERFSTAT user's temporary tablespace.
    Enter value for temporary_tablespace: temp
    Using temp for the temporary tablespace
    PL/SQL procedure successfully completed.
    User altered.
    NOTE:
    SPCUSR complete. Please check spcusr.lis for any errors.
    SQL>
    SQL> --
    SQL> -- Build the tables and synonyms
    SQL> connect perfstat/&&perfstat_password
    Connected.
    SQL> @@spctab
    SQL> Rem
    SQL> Rem $Header: spctab.sql 16-apr-2002.14:54:46 vbarrier Exp $
    SQL> Rem
    SQL> Rem spctab.sql
    SQL> Rem
    SQL> Rem Copyright (c) 1999, 2002, Oracle Corporation. All rights reserved.
    SQL> Rem
    SQL> Rem NAME
    SQL> Rem spctab.sql
    SQL> Rem
    SQL> Rem DESCRIPTION
    SQL> Rem SQL*PLUS command file to create tables to hold
    SQL> Rem start and end "snapshot" statistical information
    SQL> Rem
    SQL> Rem NOTES
    SQL> Rem Should be run as STATSPACK user, PERFSTAT
    SQL> Rem
    SQL> Rem MODIFIED (MM/DD/YY)
    SQL> Rem vbarrier 03/20/02 - 2143634
    SQL> Rem vbarrier 03/05/02 - Segment Statistics
    SQL> Rem cdialeri 02/07/02 - 2218573
    SQL> Rem cdialeri 01/30/02 - 2184717
    SQL> Rem cdialeri 01/11/02 - 9.2 - features 2
    SQL> Rem cdialeri 11/30/01 - 9.2 - features 1
    SQL> Rem cdialeri 04/22/01 - Undostat changes
    SQL> Rem cdialeri 03/02/01 - 9.0
    SQL> Rem cdialeri 09/12/00 - sp_1404195
    SQL> Rem cdialeri 04/07/00 - 1261813
    SQL> Rem cdialeri 03/20/00 - Support for purge
    SQL> Rem cdialeri 02/16/00 - 1191805
    SQL> Rem cdialeri 01/26/00 - 1169401
    SQL> Rem cdialeri 11/01/99 - Enhance, 1059172
    SQL> Rem cmlim 07/17/97 - Added STATS$SQLAREA to store top sql stmts
    SQL> Rem gwood 10/16/95 - Version to run as sys without using many view s
    SQL> Rem cellis.uk 11/15/89 - Created
    SQL> Rem
    SQL>
    SQL> set showmode off echo off;
    If this script is automatically called from spcreate (which is
    the supported method), all STATSPACK segments will be created in
    the PERFSTAT user's default tablespace.
    Using perfstat tablespace to store Statspack objects
    ... Creating STATS$SNAPSHOT_ID Sequence
    create sequence STATS$SNAPSHOT_ID
    ERROR at line 1:
    ORA-01031: insufficient privileges
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production

  • Logical dataguard SQL apply fails during import on primary database

    I have created logical dataguard using GRID, initially every things works fine.
    One time we had to do import of new data on primary database, that is where the problem started.
    log apply is lagging big time, and i got this error
    StatusRedo apply services stopped due to failed transaction (1,33,8478)
    ReasonORA-16227: DDL skipped due to missing object
    Failed SQLDROP TABLE "USA"."SYS_IMPORT_SCHEMA_01" PURGE
    This table exists on logical dataguard...
    How do we deal with import on logical dataguard, since import generates a lot of redlogs

    Hello;
    These Oracle notes might help :
    Slow Performance In Logical Standby Database Due To Lots Of Activity On Sys.Aud$ [ID 862173.1]
    Oracle10g Data Guard SQL Apply Troubleshooting [ID 312434.1]
    Developer and DBA Tips to Optimize SQL Apply [ID 603361.1]
    Best Regards
    mseberg

  • Rac and logical dataguard Oracle9i

    CAn anyone help me regarding implimentation of RAC on logical dataguard . We are using Oracle 9i
    and our OS is redhat AS 3.
    I need some document explaining the same and also its implimentaion .
    Its urgent if someone can help
    THANKS

    Well,
    1)This book contains detailed information on preparing physical/logical standby database in a RAC environment.
    See more details on
    http://www.rampant-books.com/book_2004_2_dataguard.htm
    2) Architecture information
    http://www.dell.com/downloads/global/power/ps2q05-20040265-Rad.pdf
    3) and see if this adds any information in your case
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96653/concepts.htm
    Thanks

  • Import in logical dataguard oracle9i

    I need to know will import work in logical dataguard oracle 9i.
    If i import a tablespace or a table will that be reflected in the secondary database.
    Bcz i tried importing a table and that was not reflected in my secondary server.
    How can we check that a particular object is under dataguard and which object is not .
    thanks

    Well,
    1)This book contains detailed information on preparing physical/logical standby database in a RAC environment.
    See more details on
    http://www.rampant-books.com/book_2004_2_dataguard.htm
    2) Architecture information
    http://www.dell.com/downloads/global/power/ps2q05-20040265-Rad.pdf
    3) and see if this adds any information in your case
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96653/concepts.htm
    Thanks

  • Number of rows differences across 9i logical dataguard

    Hi,
    I have a wierd situation, and need help to investigate:
    We have a 9i primary database and a logical standby database for reporting purposes. In the logcial standby, apart from the main APPDBM schema from primary, we also have RPTDBM schema containing reporting objects. RPTDBM doesnot exist in primary.
    We maintain the guard_status to "STANDBY" level in logical standby database to allow modifications to the RPTDBM schema.
    But, today, we have observed difference in the number of rows for many tables (131 out of 2000) between the APPDBM schema in primary and standby database.
    How could this have happened? What safeguard we should implement to prevent?
    Any help is greatly appreciated.

    You have a customized solution. Without knowing all about the process of creating, populating, maintaining the reporting table, it's impossible to say.

  • About logical dataguard?

    I see the oracle document, it says logical standby can provide security, also database update. I am wondering, what the 'database update' mean?
    Does that mean, we can try update logical standby first when we update database, then,
    see if update is working or not. If it is working in logical standby, then, we can update primary database, is that right? thanks.

    Logical Standby provides the following advantages:
    <li> Logical Standby database structure does not have to match the schema structure of the source database [ we can create additional objects (tables, views, materialized views, indexes, etc) that do not exist in primary ].
    <li> Logical Standby tables can be used in read only SQLs, and all other [ additionally created ] tables can be used in updates [ perhaps this is what you are referring to ].
    So as per 2nd bullet above, your understanding is correct.

  • Error message while configuring logical standby in OEM

    Hi,
    I am trying to configure a logical dataguard using OEM. I am using the option use staging area option, I am receiving the error message the user does not have permission to create db files.
    Any suggestions on this please.

    Os versio red hat 5.6
    oracle - 11.1.7.0
    just an error message
    The following files or directories cannot be created due to the specified reasons: The specified user does not have the write permission required to create these files or directories /db/db01/oradata/sysaux01.dbf; ............
    The specified user does not have the write permission required to create these files or directories.
    Edited by: 794729 on Jun 16, 2011 10:28 AM

  • Oracle Active Dataguard 11g - Passwords

    Hi all
    Environment description: Production database, 11.2.0.3 version, standalone running on Solaris and an Oracle Active Dataguard database in read only mode, same version and operating system.
    Question: The users passwords and sys/system passwrod (orapw ) could be different in the ADG environment? I mean, could the orapwd file and user password be changed in the Dataguard database ?
    Thanks a lot.

    user1687821 wrote:
    Hi All,
    Please suggest a good step by step guide to implement Oracle Active Dataguard on Oracle 11g, OS : RHEL 5.4
    Have searched a couple of documents, but ending up with physical or logical dataguard setup guides...
    Please suggest end to end steps guide for Active Dataguard Implementation
    DB : Oracle 11g Release 2
    OS : RHEL 5.4
    ThanksHi,
    Active dataguard is option after configuring dataguard.
    You can put standby database in Open(read only) mode also you can enable Recover(MRP) while open so this can be used for reporting purpose too.
    Please refer below links for configuring them.
    http://www.oracle-class.com/wp-content/uploads/2011/01/dataguard/11gR2%20Physical%20Data%20Guard%20Setup%20%20project,%20with%20Active%20Data%20Guard%20option.pdf
    http://www.databasejournal.com/features/oracle/article.php/3834931/Using-Oracle-11gs-Active-Data-Guard-and-Snapshot-Standby-Features.htm
    http://www.oracle-base.com/articles/11g/DataGuardSetup_11gR2.php
    http://www.oracle.com/technology/deploy/availability/pdf/maa_wp_11gr1_activedataguard.pdf
    HTH.

  • Whats is diffrence between Dataguard and Stand by?

    Hi All
    I was asked for diffrence between Dataguard and StandBy Database in an interview.
    I answered that prior to 9I, (in 8i) It was called StandBy Database and from 9I onwards, It is called DataGuard.
    But interviewer doesnt seems to be satisfied with my answer. Not sure why?
    Then i was asked for Diffrence in Logical Dataguard and Physical Dataguard?
    I replied with "Logical DG" is one in which sql stements are applied onto standby whereas "Physical DG" is one in which redo logs are shipped from one server to other by itself (with services) and secondary upgrades itself from those. Again, interviewer didnt feel happy enough.
    This has made me think, was my answer incorrect because i answered whatever i know. which i feel like is correct.
    Please help me identify correct answer.
    Thanks
    aps

    aps wrote:
    Hi All
    I was asked for diffrence between Dataguard and StandBy Database in an interview.
    I answered that prior to 9I, (in 8i) It was called StandBy Database and from 9I onwards, It is called DataGuard.No - DataGuard is intimately involved with Standby Database, but it is NOT standby. A Data Guard 'configuration' actually includes the primary database and one or more standby databases as well as some additional processes and the connectivity between these things.
    In simplistic terms:
    Standby Database is an operating mode of the database in which it continuously applies redo logs that are shipped from another (primary) database. The mode of operation often stops the database from being accessible to users.
    Logical standby database uses a 'recieving process' (SQL Apply) that extracts from the log and creates SQL statements which are applied to keep the standyby database in step with the primary.
    Physical standby database uses a form of continuous database recovery by directly applying the redo logs received from the primary.
    Data Guard was originally a set of scripts, but now is the entire environment including a set of processes that control the extraction of redo (directly from log bugger, from redo logs or archive redo logs) from the primary, shipping to the standby, ensuring that the logs are applied. Data Guard processes also include the mechanics needed to make the standby database active automatically (failover) or manually (switchover) and also to re-sync and make the original database active again (switchback).
    You could (should) read more about this. Oracle has a fine set of documentation which you can access from http://tahiti.oracle.com - indeed selecting Database 10gR2, and switching to the Books tab you get to http://www.oracle.com/pls/db102/portal.portal_db?selected=3 . And by scrolling down a little to "Data Guard Concepts and Administration" you would get decent introduction in the first 2 pages of Chapter 1 "Introduction to Oracle Data Guard".
    But interviewer doesnt seems to be satisfied with my answer. Not sure why?I would not be satisfied either. Especially if I was looking for swomeone to be responsible for availability scenarios for my corporate data.
    Then i was asked for Diffrence in Logical Dataguard and Physical Dataguard?
    I replied with "Logical DG" is one in which sql stements are applied onto standby whereas "Physical DG" is one in which redo logs are shipped from one server to other by itself (with services) and secondary upgrades itself from those. Again, interviewer didnt feel happy enough.Well ... you are moderately close on this. However, you seem to be missing "how do we get data from the primary in the SQL Apply case". The implication is that you are not at all comfortable with the basic concepts.
    Again, I would not be terribly happy either. I would not be confident that you had read Chapter 1 of the Data Guard Concepts manual. And that could imply that you had not read Chapter 1 of ANY of the Concepts manuals. That chapter in each of the manuals is an easy read, complete with pictures, and it describes the basics of operating the big machine that the interviewer wants to entrust you with.
    All that said, Data Guard is only available on Enterprise Edition. Standby capability is available on Standard Edition. And there are commercial products around that provide capability similar to Data Guard for Standard Edition.

  • Archive logs not applied on logical database.

    I have 10.2.04 oracle logical dataguard on windows:
    The logs are trasported smoothly from primary to stanby;
    But they are not applied to the logical standby;
    There are no GAPS.
    This is the message i got from DG broker wehn i ran verify configuration
    Initializing
    Connected to instance I-AG1101:tito
    Starting alert log monitor...
    Updating Data Guard link on database homepage...
    Data Protection Settings:
    Protection mode : Maximum Performance
    Redo Transport Mode settings:
    hclistg: ASYNC
    hclidg: ASYNC
    Checking standby redo log files.....OK
    Checking Data Guard status
    hclistg : Normal
    hclidg : Normal
    Checking Inconsistent Properties
    Checking agent status
    hclistg ... OK
    hclidg ... WARNING: No credentials available for target. I-SAG1151
    Attempting agent ping ... OK
    Switching log file 420.Done
    Checking applied log on hclidg.......WARNING:
    Timed out after 60 seconds waiting for log to be applied.
    Processing completed.
    This is the results of query: SELECT SEQUENCE#, FIRST_TIME, APPLIED
    FROM DBA_LOGSTDBY_LOG
    ORDER BY SEQUENCE#;
    SEQUENCE#|FIRST_TIME|APPLIED
    391|3/31/2010 1:08:27 PM|CURRENT
    392|3/31/2010 3:10:19 PM|NO
    393|3/31/2010 3:47:05 PM|NO
    394|3/31/2010 3:47:13 PM|NO
    395|3/31/2010 3:47:40 PM|NO
    396|3/31/2010 3:47:46 PM|NO
    397|3/31/2010 3:50:14 PM|NO
    398|3/31/2010 3:50:20 PM|NO
    399|3/31/2010 3:54:01 PM|NO
    400|3/31/2010 3:54:36 PM|NO
    401|3/31/2010 3:54:43 PM|NO
    402|3/31/2010 3:56:24 PM|NO
    403|3/31/2010 3:56:30 PM|NO
    404|3/31/2010 4:00:46 PM|NO
    405|3/31/2010 4:34:03 PM|NO
    406|3/31/2010 4:35:31 PM|NO
    407|3/31/2010 5:38:57 PM|NO
    408|4/1/2010 7:30:25 AM|NO
    409|4/1/2010 11:45:23 AM|NO
    410|4/1/2010 11:47:06 AM|NO
    411|4/1/2010 2:26:25 PM|NO
    412|4/1/2010 2:26:43 PM|NO
    413|4/1/2010 2:26:44 PM|NO
    414|4/1/2010 2:28:13 PM|NO
    415|4/1/2010 5:08:12 PM|NO
    416|4/1/2010 5:08:19 PM|NO
    417|4/1/2010 5:08:52 PM|NO
    418|4/2/2010 10:31:19 AM|NO
    419|4/2/2010 10:35:06 AM|NO
    420|4/2/2010 11:24:27 AM|NO
    Please help,,,

    i am getting this error when i run alter database mount standby database
    SQL> shutdown immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup nomount;
    ORACLE instance started.
    Total System Global Area 1610612736 bytes
    Fixed Size 1299288 bytes
    Variable Size 545262760 bytes
    Database Buffers 1056964608 bytes
    Redo Buffers 7086080 bytes
    SQL> alter database mount standby database;
    alter database mount standby database
    ERROR at line 1:
    ORA-01665: control file is not a standby control file
    I configured my logical DG using Grid control

  • Triggers not Fire in Logical Standby

    Hi,
    I'still have this question even after reading some post in this forum concerning creating Triggers in a Logical Standby
    Let's see this Case.
    MY Primary
    Table A Trigger A1 Fire into > Table A1
    MY Logical - Just Created as New
    Table A Trigger A1 Fire into > Table A1 >>>> This Is a copy of the Primary Structire
    IF I want to add a new Trigger into Table A I get :
    Table A Trigger A2 Fire into > Table A2 >>>>> This is after
    My Logical Structure will become:
    Table A Trigger A1 Fire into > Table A1 >>>>> This belongs to the initail Strcuture
    Trigger A2 Fire into > Table A2 >>>>> This Added After
    My Question?
    When the log are being applied on the Logical and obviously inserts into TABLE A will occur ... will Trigger A2 Fire into Table A2 ?
    I hope I make myself understandable ...
    Thxs for your Help

    I know it's quite a long-time that anyone replied this post, but I just need to report our attempts to workaround that.
    Dropping function-based indexes in primary database, just before creation of Logical Dataguard hasn't solved our problem, neither dropping indexes in logical database.
    In my opinion and after some docs in metalink, I think there's no way to solve it.
    Or you drop them or you migrate to 10g.
    Regards.

  • Dataguard - Need Help

    Hi Gurus,
    1. Is it possible to use dataguard set different availability for different tables?
    and
    2. Is it possible to set availability of entire database at 99.7% with dataguard?
    Oracle Version-10g
    Please help...
    Regds
    Saby

    If you use logical dataguard you can set rules to skip certain objects (e.g don't run transactions for large temporary tables).
    If you are running physical dataguard, and you don't force logging at the database level, than a nologging transaction can cause block corruption on the standby.
    Not sure if this answers your question. Can you give more detail on what you are trying to do ?
    http://blog.ContractOracle.com

  • Step by Step guide to implement Active Dataguard 11g

    Hi All,
    Please suggest a good step by step guide to implement Oracle Active Dataguard on Oracle 11g, OS : RHEL 5.4
    Have searched a couple of documents, but ending up with physical or logical dataguard setup guides...
    Please suggest end to end steps guide for Active Dataguard Implementation
    DB : Oracle 11g Release 2
    OS : RHEL 5.4
    Thanks

    user1687821 wrote:
    Hi All,
    Please suggest a good step by step guide to implement Oracle Active Dataguard on Oracle 11g, OS : RHEL 5.4
    Have searched a couple of documents, but ending up with physical or logical dataguard setup guides...
    Please suggest end to end steps guide for Active Dataguard Implementation
    DB : Oracle 11g Release 2
    OS : RHEL 5.4
    ThanksHi,
    Active dataguard is option after configuring dataguard.
    You can put standby database in Open(read only) mode also you can enable Recover(MRP) while open so this can be used for reporting purpose too.
    Please refer below links for configuring them.
    http://www.oracle-class.com/wp-content/uploads/2011/01/dataguard/11gR2%20Physical%20Data%20Guard%20Setup%20%20project,%20with%20Active%20Data%20Guard%20option.pdf
    http://www.databasejournal.com/features/oracle/article.php/3834931/Using-Oracle-11gs-Active-Data-Guard-and-Snapshot-Standby-Features.htm
    http://www.oracle-base.com/articles/11g/DataGuardSetup_11gR2.php
    http://www.oracle.com/technology/deploy/availability/pdf/maa_wp_11gr1_activedataguard.pdf
    HTH.

  • Function-based index, NOT NULL bug?

    ALTER SESSION SET OPTIMIZER_MODE = FIRST_ROWS_10;
    ALTER SESSION SET QUERY_REWRITE_ENABLED = TRUE;
    CREATE TABLE xxx (code CHAR(6) NOT NULL);
    create index xxx_idx on xxx (upper(code));
    select * from xxx order by upper(code);
    -> ORA-03113: end-of-file on communication channel
    (Oracle 9.0.1, Windows 2000)

    I know it's quite a long-time that anyone replied this post, but I just need to report our attempts to workaround that.
    Dropping function-based indexes in primary database, just before creation of Logical Dataguard hasn't solved our problem, neither dropping indexes in logical database.
    In my opinion and after some docs in metalink, I think there's no way to solve it.
    Or you drop them or you migrate to 10g.
    Regards.

Maybe you are looking for

  • Help me with my survy

    I am doing this survy for my professor- I am at Bethedsa community college. (Currently, our JVM runs about 400% faster than commercial JVM, so this is definitely in research stage. ) I will appreciate your response- I need to get 20-30 responses- bef

  • GUI_DOWNLOAD Issues

    Hey All,      I am trying to use GUI_DOWNLOAD to download some HR data to an excel file and was running into some issues. 1] After downloading all the data to the excel file when I open the excel file the coulms are by default displayed in same colum

  • Whether to install CI in both the nodes in a cluster

    Hi, I am installing SAP ECC 6.0, details of the environment given below: OS - Windows 2003 Database - MS SQL 2005 SAP - ECC 6.0 installation in MS Cluster with two nodes. I have installed the following 1. ASCS 2. SCS 3. First MSCS Node 4. DB Instance

  • Ipod causes Itunes to not respond,unable to restore - another app running

    I am an original Ipod mini user.I have not had many previous problems.Now,I want to update my Ipod but I get into a very frustrating loop when I connect my Ipod to Itunes 7.0.29-latest version. My Ipod is recognized but the program freezes after a ve

  • Factory method usage, creating the correct Image subclass

    Hi, I created a factory method   public enum ImgType {     SINGLE, STRIP, SPRITE_SHEET public static Image createImage(ImgType imgType) {     switch (imgType) {       case SINGLE:         return new MyImage1(0, 0);       case SPRITE_SHEET:         re