Switch propertie from a JPA persistent unit at runtime

Hi,
I have a mysql database mapped through JPA (using oracle toplink bundled in Netbeans6.1) an I want to change the "toplink.jdbc.url" propertie of the persistence unit declaration at runtime of my app, is this possible? Getting more into the problem: my app will run in different networks and I cannot leave the propertie "toplink.jdbc.url" static, so in my app I have a swing dialog to change the database server IP and I store it in my own properties file (file_name.properties), so I want my java code to read that properties file and set the correct "toplink.jdbc.url".

Hello,
I am using Hibernate and Here are some of the properties in the PersistenceUnit.
I have used your way of Overriding the properties by passing the Map into createEntityManagerFactory method.
<property name="hibernate.connection.username" value="root"/>
<property name="hibernate.connection.driver_class" value="com.mysql.jdbc.Driver"/>
<property name="hibernate.connection.password" value="r3dm0u53"/>
propertiesMap.put("hibernate.connection.password", "password");
entityManager = javax.persistence.Persistence.createEntityManagerFactory("persistencePU", propertiesMap).createEntityManager();
But it is not working the application is still running on the values that it has in the PU file.
What to do now? any idea?

Similar Messages

  • New Persistent Unit Jdeveloper 11.1.2.3.0

    Hello friends,
    I am trying to add another persistent unit to my EJB project I have already mapped the tables from DB1 I would like to map tables to entities from another DB to the same EJB project
    I've seen in the persistent.xml the icon to add another persistent, I add it (it asks me to set an offline DB connection, well I do it) then I go to the create entities from tables wizard I choose an online DB connection to another DB and try to map the tables to entities
    but no sucess, the persisent.xml the <class>siedocejb.entidades.ACAulaXCurso</class> are duplicated in all of the entities
    It creates the new persistent but not the new entities
    [code]
    <persistence-unit name="evaaa2">
        <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
        <properties>
          <property name="eclipselink.target-server" value="WebLogic_10"/>
        </properties>
      </persistence-unit>
    [code]
    How can I add the new entities?

    Hi,
    sounds like an IDE bug to me if this doesn't work for entities of different names (note that in the end its the entity manager that determines the connection, which means that the IDE probably doesn't distinguish the entity names if they are the same). If you have a support contract I suggest you follow up with Oracle support to have a service request filed. Alternatively, you manually create the entities for the information to read from the second database.
    Frank

  • Why not jdeveloper creates the persistance unit and the session client and

    why you do not create the persistance unit (outside) and the session client and ...the interface and other required opjects automatically when I create the application or the project?
    why you are using symbols like AFD, JSF, JSP, JPA,.JEE...and tens more, why you do not use a meaningfull names of these process symbols.
    Thanks
    Ali

    Asalman,
    I'm quite happy the JDeveloper behaves the way it does. Why? Because in most of my scenarios I don't want to be driven in a particular direction of development. This my choice of development and I don't like tools that dictate this to me.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Start a JPA persistent cache server but it is hanging

    I create a JPA persistence project and online EJB object HR.EMPLOYEES according to the guide of Chapter 6 of
    Tutorial for Oracle Coherence (3.5). But when I tried to start a JPA persistent cache server, it is hanging and report
    the following message:
    I don't know what is the problem.
    C:\coherence\bin>jpa-cache-server.cmd
    java version "1.6.0_16"
    Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
    Java HotSpot(TM) Server VM (build 14.2-b01, mixed mode)
    2009-11-04 15:11:37.767/0.532 Oracle Coherence 3.5.2/463 <Info> (thread=main, member=n/a):
    Loaded operational configuration from resource "jar:file:/C:/coherence/lib/coherence.jar!/tangosol-
    coherence.xml"
    2009-11-04 15:11:37.767/0.532 Oracle Coherence 3.5.2/463 <Info> (thread=main, member=n/a):
    Loaded operational overrides from resource "jar:file:/C:/coherence/lib/coherence.jar!/tangosol-
    coherence-override-dev.xml"
    2009-11-04 15:11:37.782/0.547 Oracle Coherence 3.5.2/463 <D5> (thread=main, member=n/a):
    Optional configuration override "/tangosol-coherence-override.xml" is not specified
    2009-11-04 15:11:37.782/0.547 Oracle Coherence 3.5.2/463 <D5> (thread=main, member=n/a):
    Optional configuration override "/custom-mbeans.xml" is not specified
    Oracle Coherence Version 3.5.2/463
    Grid Edition: Development mode
    Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved.
    2009-11-04 15:11:38.157/0.922 Oracle Coherence GE 3.5.2/463 <Info> (thread=main, member=n/a):
    Loaded cache configuration from "file:/C:/home/oracle/coherence/JPA/jpa-cache-config.xml"
    2009-11-04 15:11:38.188/0.953 Oracle Coherence GE 3.5.2/463 <Info> (thread=main, member=n/a):
    Started DefaultCacheServer
    SafeCluster: nullThe contents of jpa-cache-server.cmd file is shown here under:
    setlocal
    :config
    @rem specify the Coherence installation directory
    set coherence_home=C:\coherence
    @rem specify the JVM heap size
    set memory=512m
    :start
    if not exist "%coherence_home%\lib\coherence.jar" goto instructions
    if "%java_home%"=="" (set java_exec=java) else (set java_exec=%java_home%\bin\java)
    :launch
    set java_opts="-Xms%memory% -Xmx%memory% -Dtangosol.coherence.cacheconfig=
    C:\home\oracle\coherence\JPA\jpa-cache-config.xml"
    "%java_exec%" -server -showversion "%java_opts%" -cp "%coherence_home%\lib\coherence.jar;
    C:\home\oracle\coherence\JPA\classes;C:\coherence\lib\coherence-jpa.jar;C:\Oracle\Middleware\
    wlserver_10.3\server\lib\ojdbc6.jar;C:\Oracle\Middleware\modules\javax.persistence_1.0.0.0_1-0-2.jar;
    D:\toplink_11\jlib\eclipselink.jar" com.tangosol.net.DefaultCacheServer %1
    goto exit
    :instructions
    echo Usage:
    echo   ^<coherence_home^>\bin\cache-server.cmd
    goto exit
    :exit
    endlocal
    @echo onEdited by: junez on 04-Nov-2009 12:31

    Now report the following message:
    C:\coherence\bin>jpa-cache-server.cmd
    java version "1.6.0_16"
    Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
    Java HotSpot(TM) Server VM (build 14.2-b01, mixed mode)
    2009-11-04 16:03:54.320/0.563 Oracle Coherence 3.5.2/463 <Info> (thread=main, member=n/a): Loaded operational configurat
    ion from resource "jar:file:/C:/coherence/lib/coherence.jar!/tangosol-coherence.xml"
    2009-11-04 16:03:54.320/0.563 Oracle Coherence 3.5.2/463 <Info> (thread=main, member=n/a): Loaded operational overrides
    from resource "jar:file:/C:/coherence/lib/coherence.jar!/tangosol-coherence-override-dev.xml"
    2009-11-04 16:03:54.335/0.578 Oracle Coherence 3.5.2/463 <D5> (thread=main, member=n/a): Optional configuration override
    "/tangosol-coherence-override.xml" is not specified
    2009-11-04 16:03:54.335/0.578 Oracle Coherence 3.5.2/463 <D5> (thread=main, member=n/a): Optional configuration override
    "/custom-mbeans.xml" is not specified
    Oracle Coherence Version 3.5.2/463
    Grid Edition: Development mode
    Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved.
    Exception in thread "main" (Wrapped: Failed to load the factory) java.lang.reflect.InvocationTargetException
            at com.tangosol.util.Base.ensureRuntimeException(Base.java:293)
            at com.tangosol.net.DefaultCacheFactoryBuilder.getDefaultFactory(DefaultCacheFactoryBuilder.java:419)
            at com.tangosol.net.DefaultCacheFactoryBuilder.getSingletonFactory(DefaultCacheFactoryBuilder.java:113)
            at com.tangosol.net.DefaultCacheFactoryBuilder.getFactory(DefaultCacheFactoryBuilder.java:173)
            at com.tangosol.net.DefaultCacheFactoryBuilder.getConfigurableCacheFactory(DefaultCacheFactoryBuilder.java:149)
            at com.tangosol.net.CacheFactory.getConfigurableCacheFactory(CacheFactory.java:657)
            at com.tangosol.net.DefaultCacheServer.main(DefaultCacheServer.java:49)
    Caused by: java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
            at com.tangosol.util.ClassHelper.newInstance(ClassHelper.java:662)
            at com.tangosol.net.DefaultCacheFactoryBuilder.getDefaultFactory(DefaultCacheFactoryBuilder.java:381)
            ... 5 more
    Caused by: (Wrapped: Failed to load configuration: C:\home\oracle\coherence\JPA\jpa-cache-config.xml) (Wrapped) java.io.
    IOException: Exception occurred during parsing: looking for id=9, found id=3((0,0,0) Character Data Literal xml version=
    "1.0" encoding="windows-1252" ?>
            at com.tangosol.util.Base.ensureRuntimeException(Base.java:293)
            at com.tangosol.net.DefaultConfigurableCacheFactory.loadConfig(DefaultConfigurableCacheFactory.java:403)
            at com.tangosol.net.DefaultConfigurableCacheFactory.loadConfig(DefaultConfigurableCacheFactory.java:372)
            at com.tangosol.net.DefaultConfigurableCacheFactory.<init>(DefaultConfigurableCacheFactory.java:141)
            ... 11 more
    Caused by: (Wrapped) java.io.IOException: Exception occurred during parsing: looking for id=9, found id=3((0,0,0) Charac
    ter Data Literal xml version="1.0" encoding="windows-1252" ?>
            at com.tangosol.run.xml.XmlHelper.loadXml(XmlHelper.java:137)
            at com.tangosol.run.xml.XmlHelper.loadXml(XmlHelper.java:152)
            at com.tangosol.net.DefaultConfigurableCacheFactory.loadConfig(DefaultConfigurableCacheFactory.java:395)
            ... 13 more
    Caused by: java.io.IOException: Exception occurred during parsing: looking for id=9, found id=3((0,0,0) Character Data L
    iteral xml version="1.0" encoding="windows-1252" ?>
            at com.tangosol.run.xml.SimpleParser.parseXml(SimpleParser.java:134)
            at com.tangosol.run.xml.SimpleParser.parseXml(SimpleParser.java:71)
            at com.tangosol.run.xml.SimpleParser.parseXml(SimpleParser.java:99)
            at com.tangosol.run.xml.XmlHelper.loadXml(XmlHelper.java:133)
            ... 15 more

  • NullPointerException while accessing .Properties from JAR

    Hi,
    I have created a JAR file which contains the .class as well as .properties in my application. Similarly when generating the JAR i have included the respective JAR's as well as the Main class of the app. in the Manifest.MF file.
    Below is the code i am using to load the properties from the LoggerConstants.
    if (properties == null) {
                   try {
                        properties = new Properties();
                        properties.load(Thread.currentThread().getContextClassLoader()
                                  .getResourceAsStream (LoggerConstants.LOGGER_PROPERTIES_PATH));
                        PropertyConfigurator.configure(properties);
                   } catch (IOException ioe) {
                        throw new LoggerException("unable to load file="
                                  + LOGGER_PROPERTIES_PATH, ioe);
    When i access the JAR in other app. by putting that in the build path, i am getting the following exception:-
    Exception in thread "main" java.lang.NullPointerException
         at java.util.Properties$LineReader.readLine(Properties.java:418)
    It seems that it is not able to pick the .properties which is there in the JAR file? But it is able identify the .class file?
    I tried by copying the same in the ANT Class path in eclipse, but still the problem persists. What i need to make sure that the .properties will be identified by the other app (App. 2)? Please shed some light into this.
    Thanks,
    Rithu

    Thanks Guys, the logger.properties will be under the classpath in the eclipse which will be under " src/com/example/logger.properties" directory. To brief , i am going to give this logger app. by compressing it in the JAR and will send to another machine , they need to use this JAR in their application and make use of the LogLevels i have created. The same will be done for other app. as well. So a Single Logger comp. which is build independently will be used by other standalone app. which needs to log the information.
    1) So, when i give the "LoggerComponent" JAR to other application. they should not modify any code (or create any classes) to use the .class or the .properties of the JAR?
    2) .class may not be a problem, but with .properties which may be a problem, hence are you saying that we need to load the logger.properties again in the referenced app. explictly, like wise do it for other app. which is going to use it? Because from my side i will give the Logger Comp. JAR to the other machines, just they need to use it as it is, without any modification in their code.
    3) Moreover when i create a JAR whether i need to package log4j.jar as well as other dependent JAR for the logger app.? So that the other reference app. dont have their own log4j.jar in their system to make use of it? Whether that makes sense or we should package a JAR with other JAR's(dependent JAR of the app.)?
    4) Ok. say if i am going to access the properties in my JAR in the reference app., like:-
    String sConfigFile = "src/com/example/logger.properties";
    InputStream in = LoggerTest.class.getClassLoader().getResourceAsStream(sConfigFile);
    if (in == null) {
         //File not found! (Manage the problem)
    Properties props = new java.util.Properties();
    props.load(in);
    LogManager logManager = new LogManager(); // Main class in the LoggerApplication JAR used in the reference app.
    logManager.logMessage("Test log msg");
    I will load properties and invoke the main class in JAR like above? Please clarify these queries. Thanks for the support
    Thanks,
    rithu

  • I want to switch stores from Japan to USA. I used to have an iTunes card, and there's 15 YEN left in my account, how can I get rid of that so I can start purchasing in the US store using my new credit card?

    I want to switch stores from Japan to USA. I used to have an iTunes card, and there's 15 YEN left in my account, how can I get rid of that so I can start purchasing in the US store using my new credit card?

    I can't seem to find an app that costs my available balance. iTunes said I need to spend it ALL before I can change stores. This means I cannot totally change stores.... Hopeless.

  • HT5824 I switched over from an iPhone to a Samsung Galaxy S3 & I haven't been able to receive any text messages from iPhones. Please help with turning my iMessage completely off..

    I switched over from an iPhone to a Samsung Galaxy S3 & I haven't been able to receive any text messages from iPhones. I have no problem sending the text messages but I'm not receivng any from iPhones at all. It has been about a week now that I'm having this problem. I've already tried fixing it myself and I also went into the sprint store, they tried everything as well. My last option was to contact Apple directly. Please help with turning my iMessage completely off so that I can receive my texts.

    If you registered your iPhone with Apple using a support profile, try going to https://supportprofile.apple.com/MySupportProfile.do and unregistering it.  Also, try changing the password associated with the Apple ID that you were using for iMessage.

  • Problem Printing document properties from Word to PDF

    Hello all,
    This is wierd, I need to print from MS Word doc 2002 SP2 to PDF version 9.3.4.  When I do so, I need to pass the document properties from the word file to the PDF such as author, subject, title, etc.  What is strainge is when i click the pdf button in word they do pass over but when I go to >>File>>print and select PDF they do not, and yes I did select the "Add document information" check box in the Adobe PDF settings dialog.  I need to print this because I am doing a batch print process that requires it to be printed.
    HELP.

    Hello all,
    This is wierd, I need to print from MS Word doc 2002 SP2 to PDF version 9.3.4.  When I do so, I need to pass the document properties from the word file to the PDF such as author, subject, title, etc.  What is strainge is when i click the pdf button in word they do pass over but when I go to >>File>>print and select PDF they do not, and yes I did select the "Add document information" check box in the Adobe PDF settings dialog.  I need to print this because I am doing a batch print process that requires it to be printed.
    HELP.

  • How to load a properties from path that is relative to the classpath

    Hello;
    I need to load a set of properties from a propertie file from inside and EJB. I need to do so that I don't set the full absoulte path of the property file. In brief I don't want to be dependent on the file system struture instead I want to read the property file relatively to the package path name.
    Here is my code:
    package packagename.com;
    import packagename.com.*;
    import java.util.*;
    import java.io.*;
    public class PropDemo {
    public static void main(String[] args) {
    public static final String PROP_FILE_NAME
    = "configuration.properties";
    File inputFile = new File(PROP_FILE_NAME);
    Properties prop = new Properties();
    try {
    FileInputStream fis = new FileInputStream(inputFile);
    prop.load(fis);
    } catch (Exception e) {
    Any body have an idea how to so.
    Regards
    mal

    I realize that you are trying to be a pain in the arseNot really. I know that I spent about a day figuring it out and that was after skirting around the issue for a about a year.
    with that reply, but we can look here:
    public void load(InputStream inStream) throws
    IOExceptionReads a property list (key and element pairs) from the
    input stream. The stream is assumed to be using the
    ISO 8859-1 character encoding.
    The original post suggests the author already knows how to load from a file. So this doesn't help at all.
    And possibly GASP cross reference this entry in
    Class:
    public InputStream getResourceAsStream(String name)Finds a resource with a given name. This method
    returns null if no resource with this name is found.
    The rules for searching resources associated with a
    given class are implemented by the defining class
    loader of the class.
    Now you may equivocate that the docs don't
    specifically state that the classpath is where
    resources are searched for, but I would maintain that
    any Java developer worth anything should know this.Really? So where, in the above entry, does it explain the impact of the "/" character at the beginning of the string?
    I know how classes are searched for. I know the impact of the class path. How that impacts a 'resource' is less clear. Particularily since the "/" character has nothing to do with loading classes.
    >
    This should be Java 101. Advanced Topics should be
    something that affect people who have programmed Java
    for years. (This is usually something that first year
    programmers work out). If this is representitive of
    the kinds of questions that qualify as "Advanced" then
    this forum will become basically useless.So an opposing opinion...this is an advanced topic. Nothing in the java docs makes it clear. And it is even less clear the context of a container.

  • Pass entire list of XY graph properties from Main vi to Subvi XY Graph

    Hello Everyone,
    I have an XY graph in my main vi that allows users to review data.  They have control over how they want to display the data on this graph(scale,color,line style, etc).  I have a subvi that excepts and array of XY graph plots (multi-plot) and prints the graph as the user has set it up.  As of right now I am passing only certain properties from the main XY graph to the subvi XY graph using property nodes.  Using this method only the important items are being passed (scale, flipped, xy scale name label) mainly because I have been to lazy to sit down and make a cluster containing all the property values.  I have to beleive that there is a way for me to pass a reference from the main XY graph to the subvi XY graph that will set all the properties in the Subvi graph to the same settings that the Main XY graph has.
    Thank you in advance,
    Steve

    Passing a reference to the subvi seems to be half of the solution that I am looking for.  This allows me full access to all propertys of the main graph.  The problem is that once I am inside the subvi I still have to select what properties I want to pass to the subvi graph. (see attached image).  My goal is to pass the reference to the subvi and then have every property of the main graph be assinged to every property of the subvi graph.  This way no matter what the user changes on the main graph (line style, width, color, scales, precision, etc) the subvi graph will reflect this.  With the method displayed in the image I have to manually select the properties that I think will most likely be edited.  And if I miss one the user will not get an exact match of the main graph.  I am hoping there is a way to do this, if not then I will just have to sit down and pass all the property values from the reference to the subvi graph but this seems like the hard way of doing it. 
    Attachments:
    Refnum.JPG ‏19 KB

  • My Verizon wireless service at my house has begun to degrade over the last 6 Month.  It has begun to be very frustrating seeing how we switched over from Satellite to Verizon 4GLTE wireless device.  How do I contact someone to see what the issue may be. Z

    My Verizon wireless service at my house has begun to degrade over the last 6 Month.  It has begun to be very frustrating seeing how we switched over from Satellite to Verizon 4GLTE wireless device.  How do I contact someone to see what the issue may be. Zip Code 22580.

    Out of curiosity how much data per month are you using?  Another factor could be if neighbors have all done the same thing as you and the node is being overloaded on home internet use.

  • Mdm uwl iview [(Item) Item is missing from the UWL persistent cache ]

    Hi All,
    we have a custom MDM repository, so I created the xml configuration file and uploaded into SAP system and clicked on "Register Item types" button and I am able to see that my items has been sucesfully registered.
    Now I am using the UWL iview and when I view the connection status, it says that it is sucessfull for the backend MDM system. but i couldnt get the task that i created in the backend system for my user id. I checked the Uwl Log file, The error in the log file is
    "com.sap.netweaver.bc.uwl.UWLException: (Item) Item is missing from the UWL persistent cache #"
    Also the views that I mentioned in the XML configuration are not appearing in the UWL.
    Could you please help me in resloving this issue.? any help?
    Thank You
    RKR
    P.S: Posted this question already in Portal Implementation forum, but thought that the MDM experts might have already worked on this type of problem..
    Edited by: RKR on Jan 6, 2008 12:15 AM
    Edited by: RKR on Jan 7, 2008 8:27 PM

    Hi,
    I have the same problem, have you found any solution?
    Are you also running MDM 5.5 SP6?
    BR
    Michael

  • Switch over from active to passive in the cluster

    If online EMS Sun Server goes off line , the client looses the connectivity with EMS till the IP address of the other online server is updated in client PC.
    When the servers switch over from active to passive in the cluster, we have to change the server IP settings at the client PC manually. Since both the active as well as the passive servers will be pinging, we are not in a position to identify the active/passive servers, so automatic server setting is not possible at the client.
    How to find out the solution for which server is active when the swich over is happend.

    Hi Kristoffer,
    remember to click on enable schedule when you schedule a package.
    To know if a scheduled package is ok you can see first if present in the tblschedule of your appset and also if present in the windows task schedulerif with status "ready".
    After you just have to check the view status if you found the package execution completed you're sure it's running. " version at the same time can cause issues also with different packages better to schedule with a sufficient delay to be sure that the first has ended, in your case 1 package is ok.
    I would delete the 2 packages from bpc, checking also the windows scheduler to be sure that no packages are running and rebuild one from scratch setting repeat every 4 hours and checking "enable schedule".
    Regards
         Roberto

  • I recently switched over from Apple to Sony and I would like to know how I can change my settings so that all my iCloud emails are forwarded to my Gmail account?

    I recently switched over from Apple to Sony and I would like to know how I can change my settings so that all my iCloud emails are forwarded to my Gmail account?

    Log in on iCloud.com and go to Mail. In Mail, at the bottom left you should see a gear icon. Click on it, go to Settings (or Preferences, I'm doing this from memory), and in there you'll find an option to forward your iCloud email to another service.

  • Switch over from taxinj to taxinn

    how to switch over from taxinj 4.7 version to eec6.0, to switch over from taxinj to taxinn, from business data point of view before cutover strategy , what are the things take into consideration , if taxcodes will overlap, with taxinn .
    what are the thigs take as precautions.
    waiting for ur response. thank you

    When you are switching fron TAXINJ to TAXINN, WRT Tax Codes, it is recommended to maintain new Tax Codes for TAXINN, as TAXINJ follows formula based calculation & TAXINN follows Condirtion based calculation.
    Regards,
    Rajesh Banka
    Reward points if helpful.

Maybe you are looking for

  • Why can I no longer connect to our home Wi-Fi?

    I love my tablet, but with the problems I have been having, I am thinking that it is time to buy a lap top!  It started with my having to reboot my tablet to connect to our home Wi-Fi.  I was thinking that maybe ti was just slow Time Warner internet.

  • Can't get tree to work right

    i have written an sql to create a tree but i am now getting the error: ORA-20001: read_meta_data error: ORA-01436: CONNECT BY loop in user data below is my sql select case when connect_by_isleaf = 1 then 0             when level = 1             then

  • Problem in BAPI_ACTIVITYCRM_CREATEMULTI

    Hi Experts! I am uploading activity in crm throu BAPI_ACTIVITYCRM_CREATEMULTI. When I am inserting data in structures BAPIBUS2000110_HEADER_INS BAPIBUS20001_HEADER_INS BAPIBUS2000110_HEADER_INSX than it is not updating the ACTIVITY . Msg r  shown ie

  • How to transfer songs from old i pod(not stored in itunes) to new i pod?

    i just got the new ipod touch! i love it... my old ipod is stuck on hold i can only access the data through my computer... much of the music on my old i pod is from my old computer and ive never backed it up... how can i get all my songs back...

  • Transmit iPad to apple tv

    Can I transmit my iPad 2 display to apple tv?