Mapping for multiple EJBs and databases; HOW TO?

Hi,
I have 2 EJBs in one EAR. Each EJB connects to a database (therefore 2 databases).
How can I map their entities?
e.g.
@Entity
@Table(name = "FINANCE")
@NamedQueries({})
public class Finance implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id
    @GeneratedValue(strategy=GenerationType.IDENTITY)
    @Column(name = "FINANCE_ID", nullable = false)
    private Integer financeId;
    @Column(name = "FINANCE_CODE")
    private String financeCode;
    @OneToOne(cascade=CascadeType.MERGE)
    @JoinColumn(name="INDUSTRY_TYPE_ID")
    private IndustryType industryType;where IndustryType belongs to the other EJB that is connected to another database.
Is it possible to map them both?
When I deploy it to GlassFish, I get this error:
@OneToOne or @ManyToOne on com.ams.ejb.finance.entity.Finance.industryType references an unknown entity: com.ams.ejb.entity.IndustryTypeEdited by: jmaddox22 on Feb 25, 2009 8:31 PM
Edited by: jmaddox22 on Feb 25, 2009 8:32 PM

Deauthorize all as described here:
iTunes Store: About authorization and deauthorization

Similar Messages

  • Submitting site maps for multiple sites to Google

    I sort of glommed on to the end of the thread "meta and google-ing...i give up," but I'll start a fresh post here with this:
    I have three sites in iWeb, all of which have their own registered Go Daddy domain names and are forwarded to .mac without masking. I followed James Tseng's instructions and successfully submitted to Google and verified my "www.mac.com/user/iWeb" url.
    I also successfully uploaded a site map for one of my sites (let's just call it Site 1), which is in my iWeb folder (not the Site 1 folder).
    My question: I assume I can create separate site maps for Sites 2 and 3. Do they also go in the same iWeb folder as the first one? Is that possible if they're all named "sitemap.xml" or do they have to be given different names?
    Also... if I want to submit these three sites to other engines like MSN and Yahoo, can I submit the forwarded domain names, or will these engines not follow the forwarding to my .mac url?
    If that's the case, is it best to submit the single "www.mac.com/user/iWeb url" as I did with Google, or should I submit each site's .mac url separately?
    Thanks in advance for your help!
    Mitch

    <As posted in the the other thread...>
    Hi Mitch....
    I hope you've been finding all this helpful so far! It's always fun to see just how much feedback you can get from Google. Sort of gives you a feeling that "you've arrived". haha.
    Regarding your question about sitemaps and multiple sites.... My strategy is this... I like to give Google sort of the broadest catch that I can. That's why I really suggest to people that they register the most general URL... http://web.mac.com/username/iWeb/ . You see how that really leaves the door open for the possibility of multiple sites, without having to register multiple sites. Google really doesn't care that you call them separate sites...to Google they appear as part of the same site...with the same base verified URL.
    So with that registered URL, there really is only one place where the verification file and sitemap.xml file can go. And that place is in the iDisk/Web/Sites/iWeb/ folder. And there is really only a need for a single verification file and a single sitemap.xml file, no matter how many sites you have. The point here isn't telling Google that you have more sites...it's just about telling Google that you have more LINKS in the site that it already knows about.
    So how do you do this? Just spider your new site or gather the links in your own way and then copy and paste the links (just the links section...not the first two lines or the last line of the code) into the sitemap.xml file that you have already submitted before. Then resubmit it to Google.
    Does this make sense? Let me know what you think.

  • Problem accessing /config_general/null/Default.action   Reason:There is no Action mapped for namespace/ config_general and action name default

    in use:
    vRO 5.1
    eclipse 3.7.2
    vRo plug-sdk 5.1
    steps:
    1.create a plug-in project from samples(choose solar system)
    2.find the dar package and upload it by vRo configuration
    3.vRo configuration said upload successfully,but the solar system configuration is not properly configued..
    problem:
    Problem accessing /config_general/null/Default.action   Reason:There is no Action mapped for namespace/ config_general and action name default
    How to solve it??
    Thanks so much!!

    There was problem from crm side...its working now..

  • Can one create a smart playlist for multiple podcasts and to...

    Can one create a smart playlist for multiple podcasts and to play one after the other on your iPod? I want to combine podcasts of the same topic in a smart playlist. When I tried to do this I chose smart playlist, album starts with, and then did it again for each podcast I wanted. That didn't work. If it can be done how do you do it?
    I have a fifth generation iPod which is always updated to the latest as well as the itunes.

    Say for example I want to put different car related podcasts in one smart playlist. Car related podcasts such as Wall Street Journal Car Cast and NPR Car Talk. Can it be done and if so how?

  • Can I use one itunes account for multiple users and multiple devices

    Can I use one itunes account for multiple users and multiple devices?

    The iTunes EULA, as I understand it (I'm not an attorney )for Apps is basically that one person can use an App multiple devices, or multiple people can use an App one device..so one to many or many to one, but not many to many....

  • I have different apple ids for my ipad and iphone - how do i sync so that the apps appear on both devices, e.g errands

    I have different apple ids for my ipad and iphone - how do i sync so that the apps appear on both devices, e.g errands

    If both accounts are authorised on the computer's iTunes that you sync them to, and the relevant apps are on that computer, then you should be able to sync them to both devices. The apps will be tied to the account that originally bought/downloaded them, so only that account will be able to download updates to them.
    If you log into the other account on a device and re-download its apps onto them then you risk tying the device to that account for 90 days (and similarly redownloading on a computer's iTunes) : http://support.apple.com/kb/HT4627

  • My phone displays numbers instead of contact names for incoming calls and text - how do I fix?

    My phone displays numbers instead of contact names for incoming calls and text - how do I fix?  It used to display the names if there was a contact listed, now it just shows numbers regardless of whether or not the number corresponds to a contact name in the contact list.  Can anyone help?  I googled this problem and lots of folks have experienced it, however there is not a consensus for a resolution.

    Alexandribill, I have been having the exact same issue.  I got a new phone and restored my contacts.  If the # doesn't have the area code first then the name isn't shown.  I just added my husbands area code to my phone and called my phone from his and now his name shows up...Ugh, I have to go through and manually add the area code to all my contacts....
    I'd say Verizon needs to rewrite their program to include the area code in the restoring from backup process!

  • Can we Exceucte campaign for multiple countries and Regions?

    Hi Experts,
    can we execute the campaign for multiple countries and Regiong at time? or
    Aany standard functinality for this type of requirement?
    thanks in advance,
    Regards,
    Prameela

    We don't support merging of multiple responses at this time. You could export your data and use an application like Excel to do this type of merging for you.

  • Why does siri only have business and maps for U.S and not Ausstralia?

    why does siri only have business and maps for U.S and not Ausstralia?

    what does this mean ?
    Beta means it is unfinished, not fully featured and may have bugs.
    so is it not possible for siri to tell me the weather, and maps and businesses for Australia?
    That's correct. Nor will it do it for me in the UK. As it say's in the Siri FAQ I linked to:
    "Maps and local search support will be available in additional countries in 2012."

  • Download maps for North America and China to my 61...

    Please help -
    Where could I download maps for North America and China
    to my 6110.

    @Tunisianbob
    As the smallest country in North Africa you would probably either need to download entire continent of Africa or set Nokia Maps application "Online" and sweep across area in horizontal "zigzag" and force it to download any available data:
    As I have the entire World Maps downloaded from merging the five continents there is no further available data.
    Happy to have helped forum with a Support Ratio = 42.5

  • How to work with EJBs and database for a simple login application

    Hi all :)
    I am new in JSP,EJB and Servlets. I just wanted to develop a simple login application, using JSP+EJBand servlets. In some tutorial I found that the beans are already populatesd with database records. But will it be good logic to retrive all records into a bean and then search for a perticuler users data for authentication.
    Can any one tell me me what is the best logic for doing so. :(
    Thanx in advance.

    Himanshu.Shekhar wrote:
    Hi all :)
    I am new in JSP,EJB and Servlets. I just wanted to develop a simple login application, using JSP+EJBand servlets. In some tutorial I found that the beans are already populatesd with database records. But will it be good logic to retrive all records into a bean and then search for a perticuler users data for authentication.No. Let the database do the search. It's far more efficient.
    %

  • How to design interactive pdf. for multiple additions and saves???

    Using LiveCycle designer -  Can anyone clarify how we can let others make multiple additions and saves to an interactive pdf. I created in Live Cycle Designer 8.2.1...
    I have created an interactive pdf. with LiveCycle designer and sent to client.
    Is there any way I can give them ability to save the pdf. make  multiple additions and saves and send back when they have completed it?
    or even pull up the file make changes and resend at some point in the future without having to fill in all form field again?
    Thxz much,
    JR

    Sorry but this is the wrong forum (this is for the Collaboration Services). You may want to try the LiveCycle Designer forum:
    http://forums.adobe.com/community/livecycle/livecycle_es/livecycle_designer_es

  • How to create template for multiple users and proper variables for DesktopDNA

    Here's the scenario:
    25 WXPSP2 laptops with only ZENworks Desktop Management agent installed.
    Laptops have at least 4 user profiles each. All laptops have same
    configuration. I want to create just one image for all laptops and am
    using personality migration to handle the different user profiles on each
    laptop.
    We are using ZENworks 7 on a NetWare server.
    Using the DNA Template Editor, I create a template by selecting All local
    user profiles on source machine, selecting User Accounts Settings under
    System, and name the template DNAusers.dtf.
    I then create an application object, CollectDNA, to collect the
    personality following the instructions in guide. I associate CollectDNA
    with a workstation and select Force Run and App Launcher. This is the
    parameter setting: (There is no VOL1 on this server)
    /D \\Server1\SYS\ddna\data\%CN%\X-REMOTE1 /T \\Server1
    \SYS\ddna\templates\DNAusers.dtf /X
    I go to X-REMOTE1 laptop and login as an administrator but nothing
    happens. I then click on Application Explorer and double-click on
    CollectDNA object and get: could not launch CollectDNA. The network
    path was not found. Checking My Network Places, I see no NetWare
    Services listed. And, although the ZENworks Desktop Management Agent
    policy says to display the ZENworks authentication dialog, the login
    screen never appears.
    Any suggestions?

    OK so I changed %CN% to "Admin" in the application object and restarted
    laptop and logged in as Admin in the ZENworks Desktop Management
    authentication screen. Nothing happened until I clicked on the
    application windows and then it tried to launch CollectDNA but then I get
    the Application Launcher status: the network path was not found.
    I saw an earlier response you gave to someone else who had the same
    message and did the same but still get this error message.
    Do you see anything else that I'm doing incorrectly?
    > On Mon, 17 Jul 2006 22:59:30 GMT, [email protected] wrote:
    >
    > > /D \\Server1\SYS\ddna\data\%CN%\X-REMOTE1
    >
    > if you do a force run with wks associatione (perhaps even selected)
    secure
    > system the %CN% can not be resolved..
    > --
    >
    >
    > Marcus Breiden
    >
    > If you are asked to email me information please change -- to - in my e-
    mail
    > address.
    > The content of this mail is my private and personal opinion.
    > http://www.edu-magic.net

  • How to maintain One product cost collector for multiple materials and configuration setting

    Hi experts,
    my requirement is that i want to maintain one product cost collector for multiple materials ans also i want to know the configuration setting for the same.
    I have used KKF6N but it is not working in my case. I went through KKF6M also but there i found multiple cost collectors.
    please guide me in the same.
    Thanks in advance.

    Hi Shripad,
    you cannot assign same  Product cost collector to different material.
    Because you creating cost collector for material combination of material /production version,material /Bom Routing.
    so please create individual cost collector for every material.
    if you have any query kindly revert back.
    Please mark the answer as helpful if it is helpful to you.
    Because march 5 onwards scn has stopped awarding points to liked content.
    Starting now: No more points for likes on comments/replies
    Thanks & Regards
    Sandeep Kumar Praharaj

  • Tips needed for multiple iPods and users with one PC...

    We are a family of four, with four iPods and one PC. We have two (Windows) user accounts set up. My husband and son share one, and my daughter and I use the other. My husband's and son's music does not show up in my user library and visa-versa. There are some songs that my husband has purchased that I would like on my iPod, but there are songs that my daughter has that I DON'T want on my iPod. Is there a way to set up 4 separate librarys that can choose to share (or not share) songs?
      Windows XP  

    When the iPods belong to different people, there are basically two ways of using multiple iPods on a computer and these involve:
    a) Sharing a single iTunes library and or user account or
    b) Creating multiple user accounts.
    Note: When you are sharing an iTunes library, you don't have to set each iPod to update in the same manner, you can mix and match from the options below as each iPod has it's own update settings
    Sharing a Library and/or User Account
    If you want to share the one library, you can set either or all of the iPods so that they only get updated with only certain playlists (you can update from more than one if you wish): Loading songs onto iPod automatically - Windows
    Choosing the update option "Sync Music - Selected playlists" allows you to create a playlist specifically for the iPod and drag the tracks you want into it. If you tire of the list and want to change it, you just add or remove the songs you don't want. The ones you take out out remain in the library to be used some other time if you choose. You can read more about playlists at these links:
    iTunes: Creating playlists of your favorite songs
    How to create a Smart Playlist with iTunes
    Or you can choose to update any or all of the iPods manually and just drag whatever content you want to them: Managing content manually on iPod
    Loading the iPod shuffle differs slightly but it can still be used with the others, for details have a look at this page:
    Loading songs onto iPod shuffle - Windows
    It's also possible to have multiple libraries in a single account. To create or access a second (or more) library, hold down the Option key (or Shift key in Windows) when launching iTunes 7. In the resulting dialogue you will get the option to create a new library or navigate to the other Library.
    Note: You can only have one Library open at a time and iTunes will default to the last library opened if you don't use the keyboard command to choose one. This can prove tricky when using multiple iPods, if you don't use the keyboard command you can risk syncing to the wrong library:
    Using multiple iTunes libraries -Windows
    Separate User Accounts
    Another option (which you've already tried) is to create a separate User account for each person on your PC or Mac. Different accounts by definition would give you completely separate libraries. Each account has it's own iTunes folder, Library and iTunes Music folder and you load it with CDs etc just as you did with your original one. The iPod can be set to update however the owner chooses, sync all, manual or sync specific playlists

Maybe you are looking for

  • MP4 H.264 video won't play in Flash Player

    I am using a Mac Book, OS X 10.8.5; FireFox 32.0.1; Flash Player 16.0.0.305.  I am trying to play video (MP4 H.264 format) that works on VLC, Quicktime Player & Real Player but won't play through Flash Player.  Why?

  • Process ID in the MEssage Mapping

    Hi Guru. I need help from you. I want to send an email from a java function with the Proccess ID that I see in the Monitor. It's possible that? Thanks. Manuel

  • Better reliability on the latest Retina MacBook Pro (GT 750m)?

    Pretty sure the discrete GPU on my late 2012 rMBP (10,1) just bit the dust...again.  I'm expecting to have to shell out a few hundred for a new logic board, but I use this computer to run a small e-commerce business and our youtube channel, and I jus

  • Does the built-in 2.1 speaker system have a subwoofer?

    The spec page claims "Built-in 2.1 speaker system" but doesn't the .1 denote a subwoofer? If so where is such a typically large speaker reside? Thanks ... Ken

  • Dnp3 deployment on Windows PC

    I'm using DNP3 driver to test our slave. It is working well. But it looks it can't be deployed on other Windows PC for test.  So my question is if we want to deploy on Win PC, what do we need to do? Thanks!