Confused about 'provides'

Check this PKGBUILD: http://aur.archlinux.org/packages.php?ID=21002
I've seen this style in a few PKGBUILDs now. Is it really necessary to use =$pkgver in the provides array?
Also, http://www.archlinux.org/packages/extra/x86_64/mpg123/
This package provides, conflicts, and replaces itself. Is that really necessary? Especially the last is a little worrisome.
I'm _not_ criticizing! I don't know enough about PKGBUILDs, and I'd like to learn

Allan wrote:
Ranguvar wrote:Check this PKGBUILD: http://aur.archlinux.org/packages.php?ID=21002
I've seen this style in a few PKGBUILDs now. Is it really necessary to use =$pkgver in the provides array?
You do not need to use "foo=$pkgver" with provides but if a package has "depends=("foo>$ver"), the provide will not work without it
So if another package wants to depend on a specific or >/< version of me (me being the main package), I need to 'provide' myself (or whatever other name I'm using in provides) with a specific version? So would it just be good practice to always use =$pkgver in case of someone else's package later needing a specific version of me? Actually, in which case perhaps that should be the default for pacman/makepkg, as I don't think there's a reason _not_ to do =$pkgver?
Allan wrote:
Ranguvar wrote:Also, http://www.archlinux.org/packages/extra/x86_64/mpg123/
This package provides, conflicts, and replaces itself. Is that really necessary? Especially the last is a little worrisome.
Check it again... 
Ah, durr I had just read up on the history of the two as well. Makes sense now. Damn 123/321.

Similar Messages

  • I'm confused about the apple ID transition from my aol screen name. Does it continue to use my aol email as my apple ID, converting it somehow or do I need to provide a new email address or just create a new username for the apple ID?

    I'm confused about the transition to an apple ID that doesn't use my aol email to sign in. The instructions are vague and ambiguous. Any help would be appreciated.

    OK, so if your current Apple ID using your AOL Username (like johndoe), then you need to log onto Manage your Apple ID and EDIT that AOL Username to a valid email address: Apple - My Apple ID
    If you have an AOL email address (like [email protected]), and you are not using that as another Apple ID, you can change the AOL Username Apple ID to that. Otherwise, you can change it to any valid email address (which you will have to verify when you change to it).
    Hope that clears it up. Post back if it doesn't!
    Cheers,
    GB

  • Confuse about Configuring Oracle Warehouse Builder

    newbie here... i am abit confuse on how to configure the Oracle Warehouse builder...
    I have 2 database... 1 source and 1 new one...
    I understand that i have to install the Runtime Repository in the database computer and the Target Schema through the client's computer...
    so all this while... i am just confuse about what to install into the source database and what to install into the new database...
    Please help...

    Location is a logical entity in your OWB design that can be either a database schema, a flat file location, an SAP application location etc. Once you complete your design and are ready to deploy the design into the runtime environment, you will have to 'register' the locations by providing the physical details of your location to OWB (user name/password, database, hostname etc.).
    I am a bit confused by your configuration - are the source and the target in two separate schemas or in the same schema? Your posts are somewhat contradictory.
    If they are in two different schemas, you should:
    1. Create a source module pointing to a source schema (you can then import data object structures from the source schema - i.e. you don't have to create source tables manually in OWB, but you can import them into the module automatically). This module will have a source location (for example SRC_LOC).
    2. Create a target module where all your target objects will be (i.e. where the data will be loaded). This module will have a different location (TGT_LOC). In your target module you will also create the mappings.
    3. When deploying, you will register SRC_LOC with the physical details of your source schema, while the target location will be registered with the physical details of the target schema. The code generated by OWB during deployment will make sure that the data is extracted from the source schema and inserted into the target schema (either by generating and using DB links or by qualifying the schemas in the extraction queries if source and target are in the same database instance).
    On the other hand, if both source and target objects are in the same db schema, you can have all your objects in the same target module and you will only have to register the location of this target module when deploying (LOC_TGT).
    That said, there can be a variety of reasons why there is no data in the target after you run the extract mapping that have nothing to do with locations, such as logical errors in the mapping (an inappropriate filter or a wrong join), insufficient privileges etc. I suggest you take a look in the runtime audit browser that should contain the error messages relative to your mapping.
    Regards:
    Igor

  • Confusion about recovery

    Hi ,
    I am new to the DBA field and I have a confusion about recovery.
    The confusion is if a database is in noarchivelog mode can a database be recovered from commited changes that were there in the redo log files ?
    If I provide the path name of the redo log files while using recover database using cancel will it work at all given that the database is in noarchivelog mode ?
    Please help to clear my doubts..

    Oracle can use the Online Redo Logs for Recovery. Normally this happens in the case of Instance Recovery (e.g. from a server crash or shutdown abort) -- where the datafiles are not restored from a prior backup.
    If you restore datafiles from a prior backup, you are doing a media recovery. In NOARCHIVELOG mode, you could not have run a backup with the database OPEN, so the backup would have been run with the database SHUTDOWN or MOUNTed. At the subsequent startup, transactions would be in the online redo logs only until LGWR does a "wrap around" and overwrites the first redo log used after the startup. It is only within this window that transactions are in the redo logs.+
    Remember that LGWR uses a "round-robin" algorithm to cycle through the online redo logs. So, if the Online Redo Log that was CURRENT at the time of the backup has been overwritten, you cannot use the Online Redo Logs for a RECOVERy+._
    You must also ensure that there are no NOLOGGING operations !!
    One thing that you might trip up on is the behaviour of CTAS. A "CREATE TABLE AS SELECT" is, by default LOGGING in an ARCHIVELOG database. However, it is automatically a Direct Path operation in a NOARCHIVELOG database ! So the blocks for such a table would be "corrupt" if you attempt a recovery from the Online Redo Log as the row inserts are not captured.
    Hemant K Chitale
    Edited by: Hemant K Chitale on Oct 10, 2011 11:43 AM
    Edited by: Hemant K Chitale on Oct 10, 2011 11:44 AM
    Edited by: Hemant K Chitale on Oct 10, 2011 4:33 PM
    Edited by: Hemant K Chitale on Oct 10, 2011 4:34 PM

  • Confusion about Kodo and JCA

    Hi,
    I'm a bit confused about Kodo's Connection Architecture strategy. It is my understanding that
    PMF's can be built to use the connection architecture. Along this line, one would configure the
    ConnectionFactory or ConnectionFactoryName, and possibly the ConnectionFactory2 and
    ConnectionFactory2Name properties in a PMF. The result of the PMF implementation supporting the
    connection architecture is nice integration with the application servers in terms of security,
    transaction, and connection management. One can lookup in JNDI a reference to a Kodo PMF that
    supports datastore transactions or to another one that supports optimistic transactions or to
    another one that supports NTR, and with proper settings of the transactional properties and suitable
    application code, one's sesson bean will work.
    But from what I can see of Kodo's JDOPersistenceManagerFactory class, it, itself, implements the
    ManagedConnectionFactory interface, meaning, I think, that this class is resource adaptor. And that
    the part that confuses me. Why would Kodo be a resource adaptor? I thought it used a resource
    adaptor, which I think is the same thing as a connection factory.
    Anyway, I'm puzzled, and I'm hoping that someone could straighten me out.
    David Ezzio

    David-
    The fact that Kodo can integrate into an application server as a
    Resource Adaptor, and section 3.2.2 of the specification that says that
    the PersistentManagerFactory should be able to utilize a Resource
    Adaptor to obtain connections to the data store are two separate issues.
    We implement Kodo itself as a Resource Adaptor in order to provide ease
    of integration into recent application servers. Your confusion is
    understandable, since we do not actually yet support the use of Resource
    Adaptors as the Connection Factories as per section 3.2.2.
    Does that make sense?
    David Ezzio <[email protected]> wrote:
    Hi,
    I'm a bit confused about Kodo's Connection Architecture strategy. It is my understanding that
    PMF's can be built to use the connection architecture. Along this line, one would configure the
    ConnectionFactory or ConnectionFactoryName, and possibly the ConnectionFactory2 and
    ConnectionFactory2Name properties in a PMF. The result of the PMF implementation supporting the
    connection architecture is nice integration with the application servers in terms of security,
    transaction, and connection management. One can lookup in JNDI a reference to a Kodo PMF that
    supports datastore transactions or to another one that supports optimistic transactions or to
    another one that supports NTR, and with proper settings of the transactional properties and suitable
    application code, one's sesson bean will work.
    But from what I can see of Kodo's JDOPersistenceManagerFactory class, it, itself, implements the
    ManagedConnectionFactory interface, meaning, I think, that this class is resource adaptor. And that
    the part that confuses me. Why would Kodo be a resource adaptor? I thought it used a resource
    adaptor, which I think is the same thing as a connection factory.
    Anyway, I'm puzzled, and I'm hoping that someone could straighten me out.
    David Ezzio--
    Marc Prud'hommeaux [email protected]
    SolarMetric Inc. http://www.solarmetric.com
    Kodo Java Data Objects Full featured JDO: eliminate the SQL from your code

  • Swamped and confused about products

    Hi guys,
    I am new to Oracle middleware products. After looking at a few articles, I am swamped and confused about those products, WebCenter (WC), Content Server (CS), Universal Content Management (UCM).
    1. WC has a built-in content database, part of Oracle database. CS also stores contents into Oracle database. Then what are differences between two types of content storage? Can I build WebCenter with Content Server as the content storage?
    2. WebCenter provides management functions on content. So does UCM. Users could contribute, review and release contents to web via both. Then what are differences between two types of content management? What more does UMC provide than the built-in content management in WC.
    3. Content Server needs a third-party web server (port:80) to publish its content. WebCenter Suite seems use Oracle HTTP Server (port:7777) to render web pages. Is it possible to integrate those two on one web server? Why is Oracle HTTP Server using a weird port?
    4. JDeveloper has the built-in OC4J container. But how can JDeveloper access or interact with Content Server or WC content database? Site Studio can access Content Server directly but only provides very limited portlet or ajax components. If I want to store web pages, static or dynamic, into WC and/or CS, which tool should I use?
    Can anybody help me with them? Or please point me to the right direction. I really appreciate it.
    thanks,
    Chen

    Plug it in and use the Transfer Purchases function, either from the resulting dialog box or from the File menu. If you need to authorize the computer, choose it from the Store menu.
    (65603)

  • I'm new and confused about "connection" things

    I'm new to BlackBerry--I have an 8320 Curve, I'm a small business owner and I'm not connected to a BES. I use the BB Desktop Manager to synchronize with Outlook and to back up my BB and I've done pretty well on most things, but I still have a few things I'm confused about. In this forum, I'll ask my "confusion questions" concerning data options.
    I have a "pay as you go" data plan with AT&T, my provider, because there is virtually no cell reception at my home where I also work. (I'm not using my BB for email since I'm in front of my computer most of the time). I have a home network set up and I've incorporated a router that supports wireless. I've connected a netbook to the wireless network and used it to surf the Internet, so, I know my wireless connection works. I've also managed to create a wireless connection on my BB to this network and on the Home screen, it will display my wireless network's name when I'm here at home, so, I know the device is connected to my network.
    BUT, I don't think I'm actually using my home wireless network...I tried the other day by browsing the Internet and then AT&T told me I incurred data charges--which I thought I shouldn't have if I wasn't using their network. Either I'm wrong about assuming they won't charge me if I use my network or I have something set up incorrectly on my BB...can anyone provide some guidance?
    Next, I don't truly understand what BIS is...I searched through the KB and couldn't find anything that actually defines BIS...could somebody please explain what BIS is?
    Finally, can somebody please explain the difference between "mobile network" and "wi-fi"? It seems, if I turn off "mobile network" I have no connection at all, including wi-fi. Is that the way things should be? But, I can turn off wi-fi and still get a connection (if I go outside as far from my house as possible and face south <g>).
    Thanks...and now I'm off to the BB Desktop Manager forum to ask a few questions there!
    Solved!
    Go to Solution.

    Hi and Welcome to the forums!
    I can help you with one or two of your questions:
    ejm1 wrote:
    Next, I don't truly understand what BIS is...I searched through the KB and couldn't find anything that actually defines BIS...could somebody please explain what BIS is?
    BIS is Blackberry Internet Service...a service, hosted by your carrier, that provides a conduit between internet facing email systems (e.g., Yahoo, GMail, etc.) and your BB. Inside of BIS, you create conduits for each of your email providers that you desire to receive OTA email for on your BB. BIS will check your provider on a periodic basis (documented to be every 15 minutes) and only when there is something that needs to come to your BB does it generate any traffic over the carrier network with your BB. BIS is an add-service, only available to those who, from their carrier, contract for The Blackberry Data Plan (as it is usually called) -- a generic data plan is not usually adequate to have access to BIS.
    ejm1 wrote:
    Finally, can somebody please explain the difference between "mobile network" and "wi-fi"? It seems, if I turn off "mobile network" I have no connection at all, including wi-fi. Is that the way things should be? But, I can turn off wi-fi and still get a connection (if I go outside as far from my house as possible and face south <g>).
    Mobile Network is your carriers network...data and/or voice services provided OTA for your BB. WiFi is wireless networking (802.11a/b/g/n) through your home WAP, hotspots, etc. I don't know if turning off Mobile Networ should or should not affect your ability to continue to use WiFi...I would think they are separate, but I don't have a BB model with WiFi.
    I know nothing about the pay-as-you-go programs, but from all you describe, it seems that you may well be using your carrier network at times. You will need to find out (and there are others here who know) how to shut off your carrier network yet leave WiFi running so that you don't incurr the costs of surfing via the carrier network.
    Hope that helps a little!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Just bought a Nikon d750 and confused about adobe LR4 and PS6 support for the RAW files. I have DNG 8.7 but wondering if LR and PS will import direct soon Thanks for any advice

    Just bought a Nikon d750 and confused about adobe LR4 and PS6 support for the RAW files. I have DNG 8.7 but wondering if LR and PS will import direct soon Thanks for any advice

    Support for the Nikon D750 was introduced in the latest version of LR 5.7 and ACR 8.7 on Novemder 18th 2014.
    Further updates to LR 4 were stopped when LR 5 was released on June 9th 2013. No further updates for bug fixes and new camera support.
    Nada, LR 4 will never support Nikon D750. The Nikon D750 was introduced into the market in September 2014 some 15 months after further development of LR 4 was discontinued.
    You can use the Adobe DNG program (free download for the package) to convert the Nef (raw) files from your Nikon D750 to the Adobe DNG format which will permit you to import those into LR 4. This is the crutch provided by Adobe to allow for the processing of raw files with outdated versions of LR and ACR.
    You can also update the ACR plugin for PS CS6 to version 8.7 which can also work with the raw files from the D750. For direct support in Lightroom you will need to upgrade (paid) to version 5.7.

  • A little Confused About Apps...

    Hi Everyone,
    I've been looking at the iPod Touch and it seems like the best-designed player on the market. I'm a journalist and I want to use the Touch to play my interviews, which are voice recordings in WMA format (converted to MP3).
    OK, I'd love to do some basic things, and I'm confused about what the June update will offer.
    Please tell me if the June apps will allow these capabilities:
    1. Play voice recordings with the speaker instead of headphones
    2. Allow me to create a folder on the home page to go directly to my voice recordings
    3. Drag-and-drop files in Windows explorer directly into a folder on the home page
    Yes, I know, I'm trying to use the Touch for an unusual thing, but I think there are a lot of other journalists and bloggers out there who would also use the Touch if it could provide these capabilities!
    I'm not interested in fancy games for the Touch. I'm much more interested in expanding basic capabilities.
    If I know the Touch will be able to do these things, I'd buy one today!
    Thanks,
    Matt

    neuroanatomist,
    Thanks for the response. This is all very interesting...
    I understand it's not a real speaker, but I have heard some demos where it was used to play rudimentary sounds. That's why I wonder if it would be good enough for simple voice playback.
    I know some people like this, but I don't like is having to always drill down several "layers" to get to my actual recordings. Instead of having to do Music > Album > Playlist, I'd really like to just have folders on the home page. To my mind, this does not sound like a difficult thing to be able to do, though maybe I'm missing something here.
    On the drag-and-drop thing: of course, I understand Apple's need to force us to use iTunes. I like iTunes, and use it for music all the time, even though I don't have an iPod at the moment. But it just seems to me that Apple would not suffer if you could drag and drop your valid music files (or voice recordings) directly into folders on the iPod. You'd still have to own legal music files, bought from iTunes.
    Anyway, if these hurdles could be overcome, I'd buy an iPod Touch today. At the moment, it's a tough choice. Several other players do some of the things I am asking for, though none of them has the elegance of the iPod.
    I just wish Apple would put their elegance together with the capabilities of other players.
    Matthew

  • I'm confused about 'downloading' options via iTunes

    When updating via iTunes, you get two options: (1) Download & Install NOW or (2) Download only [to install later]. I chose the 2nd option, as I wasn't quite ready to update my iPod touch to iOS 5. The download went surprisingly quick... took only 5 minutes. I thought it was strange, considering that people were Tweeting left and right that it was going to take 5-7 hours for their downloads to complete. When I finally went to update my iPod several hours later, instead of the update being there and ready to install... iTunes connected to the Apple Servers and started downloading the entire iOS 5 from the BEGINNING! Now, I'm also getting the estimated 7 hours to complete mantra. What gives? What the h*** is the purpose of giving me an option to download and install at a later time, if that's now what actually takes place? What am I confused about? Can anyone provide some insight? I'm highly upset right now.

    "I just upgraded a song but i checked back a few hours later to see that the song i just upgraded was available for an upgrade that i already purchased.
    What sense does that make? "
    Er, none at all actually.
    Wanna re-post the question?

  • Confused about the default schema

    Hi,
    I am a little bit confused about the schema concept.
    I want to create a new schema called APP and then create several users and roles based on the schema APP. The default schema for the users should be APP achema.
    How can I make the schema APP the default schema for the new users that I am creating?
    I feel that there are some schema design concepts that I have to learn. Is there any resource on the internet that I can read and learn more about oracle schema design best practices?
    Any help would be appreciated,
    Ali

    A schema holds object definitions, and in the case of table & index objects the schema also holds the data.
    A user owns the schema.
    Therefore the user 'owns the definitions (including any functions, procedures, sequences, tabels, etc.)
    Other users may be granted access to some, or all, of the objects in a schema. This is done through the 'GRANT ...' command. For example, consider the following steps:
    1) create user app_owner
    2) create table object test owned by the app_owwner
    3) create user app_user
    4) grant select, update, insert and delete on app_owner's test table to app_user
    5) add synonyms to avoid needing to qualify the table's schema name.
    done as follows:
    oracle@fuzzy:~> sqlplus system
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Apr 3 20:07:32 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Create the app owner userid. Note there is no need to ever log in to that user, even to create tables.
    SQL> create user app_owner
      2  identified by xyz
      3  account lock
      4  quota unlimited on users
      5  default tablespace users
      6  temporary tablespace temp;
    User created.
    Creating objects in a schema can be done by providing the schema name, or by switching schema in newer versions of Oracle
    SQL> create table app_owner.test ( t number );
    Table created.
    Create a userid that will access the table. Set that userid up to access the database and (for future) give it the capability to create it's own synonyms
    SQL> create user app_user
      2  identified by xyz
      3  temporary tablespace temp;
    User created.
    SQL> grant create session to app_user;
    Grant succeeded.
    SQL> grant create synonym to app_user;
    Grant succeeded.
    Now give the user access to the objects
    SQL> grant select, update, insert, delete on app_owner.test to app_user;
    Grant succeeded.
    Let's test it out. Insert by qualifying the schema name on the object, then create a synonym to avoid using schema, and try it all using the synonym
    SQL> connect app_user/xyz
    Connected.
    SQL> insert into app_owner.test values (4);
    1 row created.
    SQL> create synonym test for app_owner.test;
    Synonym created.
    SQL> insert into test values (3);
    1 row created.
    SQL> select * from test;
             T
             4
             3
    SQL>  Note that some people want to use PUBLIC grants and PUBLIC synonyms. This is a real bad idea if you want to ensure long term security of the data and want to host several different applications in the same Oracle instance.
    This, and a whole lot more, is in the 'Concepts' manual for your version of the database at http://docs.oracle.com

  • [MSI Z97 Xpower AC] Confusion about about BIOS updating...

    So I am a newb who has just finished his first build, using the "MSI Z97 Xpower AC" motherboard (purchased last month).
    The first thing I want to do is update the BIOS.
    But I am a little confused about how I should proceed.
    In the manual, it describes the "M-Flash" method for updating BIOS.
    But as I was reading reviews of this motherboard, there was some talk about the manual being "out-dated" in regards to BIOS update instructions. Some people suggested using some "forum method" for updating. I also see this topic which provides an alternative method for updating the BIOS:
    https://forum-en.msi.com/index.php?topic=172772.0
    So how do you think I should proceed with updating the BIOS?
    Really, what is the safest method?

    Quote from: JLio01 on 31-March-15, 07:54:03
    Forum tool is safer, M-Flash is easier. (my pov..)
    I agree with that. Although for this motherboard (any with Dual BIOS), it should not matter whether it's safer or not, as you can always restore bricked BIOS by using secondary one
    As you are using very first version of BIOS (v1.0) you can either use >>This One<< for MFlash which is latest official available v1.7 from MSI's product website OR for latest official/BETA BIOS to be used with Forum flash tool, you have to ask Svet to prepare a file for you (simply ask for it on current topic)
    But the real question is: do you have any issues with your system that BIOS will fix it?? Because if your reason to flash is "I want latest", then forgive me, but that's the worst "reason" you might ever have.

  • I am confused about something.  How do I read a book on my MacBook Pro?  I can't find the iBook app anywhere, which is what I use on my iPad.  The book I want to read is in my iTunes but I can't click on it.  My iBook library does not show up in iTunes.

    I am confused about something.  How do I read a book on my MacBook Pro?  I can't find the iBook app anywhere, which is what I use on my iPad.  The book I want to read is in my iTunes but I can't click on it.  Some of my iBooks show up in my iTunes but they are "grayed" out.  The only books that respond in iTunes are audiobooks and that's not what I'm looking for.  Is this a stupid question?

    Nevermind - I answered my own question, which is I CAN"T READ ANY BOOKS I purchased in iBooks on my MacBook Pro.  If I want to read on my mac I have to use Kindle or Nook.  Which means any book I've already purchased through iBooks has to be read on my iPad.  Kind of a drag because there are times when it's more convenient for me to read while I'm sitting with my Mac.

  • Confuse about the injecting entity in EJB 3.0?

    Hi all,
    I have an customersBean which is inherit from customersRemote and my problem is i' am little confuse about injecting the entity(customer).
    Where can you apply the EntityManagerFactory is it outside on EJB or Inside the EJB? means outside EJB is use the web application or java application. i have and example.
    this is inside on EJB...............
    public class CustomersBean implements com.savingsaccount.session.CustomersRemote {
    @PersistenceContext(unitName="SavingAccounts")
    EntityManagerFactory emf;
    EntityManager em;
    /** Creates a new instance of CustomersBean */
    public CustomersBean() {
    public void create(int id, String name, String address, String telno, String mobileno)
    try{
    //This is the entity.
    Customer _customer = new Customer();
    _customer.setId(id);
    _customer.setName(name.toString());
    _customer.setAddress(address.toString());
    _customer.setTelno(telno.toString());
    _customer.setMobileno(mobileno.toString());
    em = emf.createEntityManager();
    em.persist(_customer);
    emf.close();
    }catch(Exception ex){
    throw new EJBException(ex.toString());
    in web application, i'm using the @EJB in customer servlets.
    public class CustomerProcessServlet extends HttpServlet {
    @EJB
    private CustomersRemote customerBean;
    blah blah inject directly coming request field from jsp.
    }

    Hi all,
    I have an customersBean which is inherit from customersRemote and my problem is i' am little confuse about injecting the entity(customer).
    Where can you apply the EntityManagerFactory is it outside on EJB or Inside the EJB? means outside EJB is use the web application or java application. i have and example.
    this is inside on EJB...............
    public class CustomersBean implements com.savingsaccount.session.CustomersRemote {
    @PersistenceContext(unitName="SavingAccounts")
    EntityManagerFactory emf;
    EntityManager em;
    /** Creates a new instance of CustomersBean */
    public CustomersBean() {
    public void create(int id, String name, String address, String telno, String mobileno)
    try{
    //This is the entity.
    Customer _customer = new Customer();
    _customer.setId(id);
    _customer.setName(name.toString());
    _customer.setAddress(address.toString());
    _customer.setTelno(telno.toString());
    _customer.setMobileno(mobileno.toString());
    em = emf.createEntityManager();
    em.persist(_customer);
    emf.close();
    }catch(Exception ex){
    throw new EJBException(ex.toString());
    in web application, i'm using the @EJB in customer servlets.
    public class CustomerProcessServlet extends HttpServlet {
    @EJB
    private CustomersRemote customerBean;
    blah blah inject directly coming request field from jsp.
    }

  • Confused about logical table source

    Hi,
    I'm confused about logical table source(LTS), there are 'General', 'Column Mapping', 'Content' tabs in
    LTS, in General tab ,there are some information,like 'Map to there tables' and 'joins',
    just here, we have created relationships in physical layer and BMM layer, so I would like to ask what's the use of the 'joins' here?

    Hi Alpha,
    Valid query, when you establish a complex join it is always between a logical fact and dimension table.Consider a scenario,
    Example:w_person_dx is an extension table not directly joined to a fact but joins to a dimension w_person_d.
    When you model the person_d tables in BMM, you ll have a single logical table with w_person_d as source.If you have to pull columns from both w_person_d and w_person_dx tables in a report, you add dx table as inner join to persond table in the general tab.Now when you check your physical query, you can see the inner join fired between the two dimensions.
    Rgds,
    Dpka

Maybe you are looking for