Confusion over removable drive mounts? [Solved]

I've installed Arch with the XFCE DE and i'm more then pleased with it! :-D
However, i'm baffled by where my mounts are located? I have nothing in /mnt/ or /media/, which is where i would usually start looking for my removable drives.
I followed the 'beginners guide' to the letter, i'm assuming things have changed somewhat.
#!/bin/bash
# /etc/rc.local: Local multi-user startup script.
# create optical drive symlinks
ln -s /dev/sr0 /dev/cdrom
ln -s /dev/sr0 /dev/cdrw
ln -s /dev/sr0 /dev/dvd
ln -s /dev/sr0 /dev/dvdrw
This is the section that is new to me, i'm just trying to find out where i can navigate to in the CLI to my removable media?
I have managed to get XFCE to mount everything after following the XFCE wiki.
Last edited by ashlee84 (2011-09-19 17:15:39)

Arch specific cd symlinks are now no longer created.
On 2011-05-19 udev 169-1 removed cdsymlinks.sh (among other things)
http://projects.archlinux.org/svntogit/ … 60ccd3d56e
You need to mount your optical discs somewhere (unless they're AudioCds or blank discs) so you go to the mounpoint of your choice. The symlinks allow you to use other device names, not just /dev/sr0, e.g. both
mount -o ro /dev/sr0 /media/cd
mount -o ro /dev/cdrom /media/cd
should work. Now just
cd /media/cd/
Last edited by karol (2011-09-19 16:57:48)

Similar Messages

  • Floppy drive mounting *SOLVED*

    So I have a floppy drive, which I rarely use but I need it now.  I can mount it just fine as root, but not as a regular user.  I added /dev/fd0 to /etc/fstab with a known working configuration, yet it still doesn't mount.  Also, I've been a KDE 4 user for over a year now and I remember when I was still using debian that there was an automatic floppy mount under "Places" in dolphin, but it isn't there anymore and I'm not sure how to re-create it.
    Also, the drive will only unmount if it ISNT in fstab.  Otherwise umount complains that the drive doesn't exist in mtab.
    Last edited by schmidtbag (2011-04-06 16:26:13)

    thisoldman wrote:
    Listen to this shot going off in the dark: check that /dev/fd0 exists.
    Under /dev/, I have no fd0.  But I have a plain /dev/fd/.  Under /dev/fd/ are four symlinks labeled 0, 1, 2 and 3.  The symlinks all point to /dev/pts/0.  Of course, I have no floppy drive installed so I'm really uncertain about this.
    Another shot in the gloom: in the options, try user instead of users.    See man mount for the difference.
    Does the option order in fstab make a difference?  I don't think it does.  But try putting the order as:
    noauto,user,sync,nosuid,nodev
    i do have an fd0.  the floppy drive WILL mount if i get rid of it from fstab and if i mount it as root.  i did originally try doing "user" instead of "users" but that makes no difference.  btw, "users" is better because it allows everyone access.  for "user", i believe it restricts everyone who isn't in the same group but i might be wrong about that.  perhaps i could add both?

  • How to remove a mounted drive at startup in a mobile account, using netinfo

    How does one remove an mounted drive at startup in a mobile account, using netinfo?
    One of the user automatically mounts a network drive on her new intel Macbook in her portable account. Trouble is that the network drive is only available on the intranet. So when she is on the road, it take the Macbook very long 3-4 minutes before it let's her log in.
    Simply I thought to remove the drive on her macbook through the system preferences -> account -> login items. However the "login Item" GUI is very slow to respond and if it respond it does not let me remove the network drive. I tried this both on the intranet and off the network.
    I tried to remove the mounted drive at start up through the workgroup manager, but it does not show up there.
    So I thought that I try to use netinfo on the local machine. But I can't find where mounting info is stored in a mobile account. I thought it would be in the local @ localhost or should I connect to an other DB?

    The login items are not stored in Netinfo, they are stored in loginwindow.plist in the users Library/Preferences. You can either remove the entries for the server or simply trash that file and let a default one get recreated.

  • RAID Mounting in Thunar like a removable drive.

    Hey everybody, i've just setup a RAID 10 and i really want it to display in thunar like my filesystem and removable drives do.
    i've already mounted the raid /dev/md0 under a self created folder in /media but it does'nt show up.
    the weird thing is if a program wants me to select a folder or something and pops up a filebrowser it does show, but i think it's a gtk thing it shows me.
    does anybody have any ideas?
    i'm on arch 64 running xfce4.6

    gtkam while nice is overkill for my needs.
    With help from another thread (https://bbs.archlinux.org/viewtopic.php … 3#p1035033)
    Turns out Thunar will see the camera but not mount it through gvfs
    I ended up having thunar run this script when it sees the camera was connected
    #!/bin/bash
    CAMPORT=`gphoto2 --auto-detect | grep '2000 IS' | cut -c 36- | sed 's/ //g'`
    thunar "gphoto2://[usb:$CAMPORT]/"
    gvfs-mount --unmount-scheme gphoto2

  • Auto-detect & mount disk partitions and removable drives

    I use ubuntu in addition to my current wip of installing arch linux.Now i have installed lxde desktop. But i am not able to see any of my partitions of my disk and other hdd. Besides removable drives also dont get mounted.
    Similarly if a new partition is created the same also gets autodetected in ubuntu. eg my arch linux partition. I need not go to do any fiddling in the system to recognize the same.
    So is it possible to achieve the same under archlinux?So want to know how to get  the same done.
    what i want is to have the partitions[ext & ntfs] detected when the filemanager is opened and mount/unmount at my will, just as i do now in ubuntu.
    So far what i have done is based on the lxde wiki, i installed the polkit-gnome gvfs package but nothing is mounted.
    i would like to have specific instructions to how to work out and get the above  done.
    pls guide to the same.
    Last edited by beopen (2012-08-12 12:55:15)

    cfr wrote :
    What do you mean when you say that pcmanfm is not displaying *any* partitions? You see no files at all? Or do you mean: it is not showing partitions not listed in /etc/fstab?
    I mean it is not showing partitions not listed in /etc/fstab. As of now pcmanfm shows only the arch systems partitions which I created while installation : root, and home. Balance of partitions of other systems of the same drive and second hard drive is not shown.
    When you say that in Ubuntu, newly created partitions show up automatically, do you mean that if you change the partitioning on your internal drive, the changes are automatically reflected in /etc/fstab?
    Yes the changes are automatically reflected in the filemanager of ubuntu, ie. Nautilius. However Ubuntu fstab as you see in the previous post of mine contains no entry to other partitions other than just ubuntus.In the fstab I posted above you can very well see it just shows 4 partitions of hdd1  [similar to the way the arch fstab shows only its own] where it is installed :boot,root,home, swap. Whereas there is two more partitions there viz windows and a ntfs. You don’t see them in fstab, but when you open the nautilius filemanager you can see the drives. See the image link of my filemanger posted below at the end. In that shared data and windows are two ntfs partition of hdd1 where ubuntu is installed. Arch is installed on 2nd hdd alongwith a Ubuntu.289gb partition is a ubuntu LVM along with arch root and arch home you can see.
    If you mean that Ubuntu automatically adds, mounts and unmounts partitions on removable drives when e.g. a USB stick is inserted or when you change the partitioning on one and create a file system, that you can configure to work automatically in arch.
    Yes ubuntu automatically adds, mounts and unmounts partitions on internal drives and also removable drives when e.g. a USB stick is inserted  . As you can see in the image i have posted, it shows all my internal drive partitions automatically. No fstab editing nothing. No fiddling with system files so far i have done in ubuntu. For eg i installed arch a month back, the same you can see is automatically seen in the image. All i required was to   update grub  to recognise árch'. Post that when you boot, automatically the new arch partitions are seen. No fstab fiddling anything. Thus tomorrow morning if i create a new partition on my hdd via ubuntu all i require is to reboot post the creation and i will see the new partition asap.
    As you can see in the image all my partitions are seen, the one i want i click it and it gets mounted, if i dont want it stays/gets unmounted. And its not just ubuntu i saw the same in some other distros also like suse,centos,fedora.
    As far as the lxde wiki is concerned, there it is mentioned to install polkit gnome gvfs for mounting and i did the same but nothing still happens.
    So this is what exactly i am asking how to do the same on my arch system. So if i am guided i wil go ahead and work to achieve the same.
    image link of file manager : NautiliusFileManager
    Last edited by beopen (2012-08-15 13:00:26)

  • Firewire removable drive eject problem

    Hi
    I have one of those intermittent failures which is driving me crazy. I've got a Granite Digital removable FW-800 drive hooked up to my Quad (10.4.7). Also have a SATA removable drive bay. Most of the time, external drives work just great, and there's no problem.
    However... often enough to make me ask it here, I'll eject the drive, via drag to the trash in the dock, or via contextual menu "eject" and, after a bit longer pause than usual, the icon will disappear from the finder's desktop. Everything looks good, but...
    ... when I go to turn off the drive, or remove it, I get an "improperly put away...may damage drive" message.
    And then... it's totally impossible to restart or shut down the machine. A power off is needed.
    Leaving aside comments on how long the software should be looking for an obviously missing drive before simply giving up (hint: infinity is too long) there's this.
    What's happening? (don't say that something is open on the drive... nothing is) and two, is there something I can do once I get this message to prevent the infinite look? Terminal command? Anything?
    OK: one more thing - am I the only person this happens to?
    TIA
    Tracy
    ex-programmer and Mac user since 1984...

    Gleaned from a string of several painful experiences...
    When "OFF" isn't really "off."
    When it's a switch on the back of some, and certainly firewire boxes fall into the "some" category, peripheral boxes. I spent I don't know how many hours chasing this down because I forgot something I'd learned a few years ago: it's OK to switch off the power to an external firewire box using the switch on the back of the box, but it's NOT OK to switch it off by turning off (unplugging) the "brick" or using a master controller that turns off the AC power.
    Why? Because "off" isn't really "off"... keeping the "brick" alive keeps the system informed about the firewire device's presence; turn it off "at the wall" and you're going to seriously confuse the system. In my system, it would work this way: if I left the box switch in the "on" position, then when I turned on the wall power, the hard drive would show up on my desktop.
    Now, I was always religious about ejecting the drive before I powered down, but my mistake was powering down "at the wall" instead of using the switch on the back of the box. I figured I'd save the power drained by the brick when I wasn't using the drive.
    Bad mistake. About 50% of the time, when I'd eject the -next- drive I mounted externally, I'd get a message saying "improper device removal"... and my system would -seriously- choak up. Nothing would run; nothing would quit and I'd be faced with a forced hard power-off of my whole system.
    Once I recalled what the heck I was doing wrong, and reverted to "once powered on, leave it on" the problems went away.
    The problem seems to affect external SATA drives as well (although I'm not as positive of that as I am of the firewire issue.) So: leave the boxes plugged into the wall, and only use the switches on the back to turn them on and off. If the wall-wart bricks are eating up extra power, I'm afraid that's the price you pay for the modern age.
    hth
    Tracy

  • Elements 12 "Copy/Move to Removable Drive"

    Reference case # 185684196, phone support given last year, the problem persists.  In Elements 12, on my desktop PC (Windows 7, 64 bit) - I import photo files into the organizer, from camera card (RAW files, Nikon), THEN use the "Copy/Move to Removable Drive" function to move these files to a external hard drive (RAID 1 configuration) for permanent storage.  When I run this process, it initially moves the files to the destination drive -- then a dialogue asks (approximately):  are you sure you want to delete these files? (from the desktop drive) -- I click "yes" -- a progress bar runs -- and near completion, the process fails "Elements Organizer - An error occurred while reading files or writing files to disc.  The disc may be full or there may be a problem with the source media."  In fact, there is a great amount of disc space available at the destination drive.  My wife and I use (for many years) this program for semi-professional purpose.  It is CRITICAL to avoid any corruption -- the indexing / connection between the organizer thumbnail reference images and the externally stored image files MUST be properly maintained.  What is causing this error message, what must be done to resolve the issue?  I couple of times, when this has occurred, I went to the storage drive, manually deleted the just-imported files, ran the process again -- and, on this 2nd attempt, the process completed successfully.  Obviously, this is not a long-term solution, nor a proper procedure -- and I always worry some sort of corruption may be introduced -- so, please advise the correct solution.  Also -- I have been advised, and do practice, not allowing the catalogue to grow beyond 5,000 images (I then start a new catalogue).  With the current, large batch of photos I'm importing (over 300 images), I'm also getting an "advice" message to back up the catalogue -- something I think I will do, to a different external drive, to have redundancy beyond even the present RAID 1 storage - however, this in no way solves the problem I'm asking you to help

    I don't know how you managed to write in such a tiny font, but I managed to read your post and here is my take about your problems.
    1 - What's the purpose of uploading from your card to your internal drive and not directly in your external NAS drive, since you don't keep them on your internal drive? You can use Windows to copy from your card to the NAS. You can even set the default location where the photo downloader in the Organizer sends your pictures. I don't have a NAS, but that works perfectly on an external USB drive.
    2 - Reminder: the Organizer does not store picture files, only links to their real location (drive and path, that can be on an external drive). The catalog itself by default is on your boot drive, but it can be used on an external drive (not on a NAS for Macs).
    3 - If you want to move files from your internal drive to the external one, you can simply use the drag and drop method in the left Folders panel. You can also 'export' selected files in the organizer to another drive.
    4 - The advice to limit the catalog size to 5,000 items and split catalogs is stupid. There are happy users of 100,000 pictures, and splitting catalogs only creates organizing problems without any real advantage.
    5 - About storing catalogs and photos on a network drive: http://www.johnrellis.com/psedbtool/photoshop-elements-faq.htm#_Storing_the_catalog
    6 - What about your backup procedures? Do you use the built-in backup/restore feature in Elements? If you use another external backup, how do you backup catalogs?
    Photoshop Elements 6/7/8 Frequently Asked Questions (FAQ)

  • I have 1 gb of memory with10.6.8 and want to upgrade my OS can i use an external hard drive to solve this

    I am running 10.6.8 and have 1gb of memory and want to upgrade can i use an external hard drive to solve this problem

    You are confusing RAM (Ramdom Access Memory) with hard drive storage space.
    You need to install more RAM, not an additonal hard drive.
    You can purchase an external hard drive, if you like, if you want to install the new OS X upgrade onto an external drive. If you want to run the new OS X Mavericks from the external drive, depending on your Mac model, you need a fast protocol external hard drive.
    Either a USB 3.0, Thunderbolt or FireWire 800 connected external hard drive.
    To start, if you are running your Mac on 10.6.8 Snow Leopard, this is the barest of RAM to run Snow Leopard.
    Without knowing any of your Macs specs, you realistically should be running your current OS with, at least 4 GBs of RAM.
    Newer versions of OS X need, at least, 4 GBs of RAM or more as these newer OS X versions use more Mac computer resources than earlier OS X versions.
    What year, screen size, CPU speed and amount of RAM installed in your Mac?
    Be aware, if your Mac is running any older software that used to run under older PowerPC model Macs, those software apps will no longer will work under newer versions of OS X.
    The emulation software that allows older PowerPC apps to run under OS X 10.6 Snow Leopard, called, Rosetta, no longer exists in newer versions of OS X and is long dead.
    Correct and reliable Mac RAM can be purchased from online Mac RAM sources Crucial memory or OWC (macsales.com).
    Good Luck!

  • Hard drive mounting until I try to move a file

    Hi. I have a Western Digital MyBook with some data that I need to remove for a user. The drive mounts fine until I try to copy data from it. It moves a small amount of data (from 50 mb to about 200 mb). The disk then unmounts on me.
    1. I tried moving the disk to a new external enclosure. No change.
    2. I tried Disk Utility. It says the disk is fine.
    3. I tried Disk Warrior. It says the disk is fine, but if I try to check the files then the disk unmounts.
    4. Other disk utilities give me the same result.
    5. dd actually got the most data off the disk, but the results were the same in the end.
    Any suggestions? Thanks!

    My slots are all full. I'm trying the freezer route this morning and (knock on wood) it's working better than previous attempts. Unfortunately the files are large, so I hope the drive stays cool enough for the duration. Thanks for the help. I'll keep you posted on how it goes.

  • Is it possible to use an internal optical drive/ZIP drive mount from a PowerMac G4 Graphite in a PowerMac G4 Quicksilver?

    Hello, All. Is it possible to use an internal optical drive/ZIP drive mount from a Power Mac G4 Graphite (Sawtooth) in a Power Mac G4 Quicksilver? Obviously, the two computers use physicly different mounts, but does anyone have any tips or hints to make this possible? I appreciate any advice.

    "I may be persistent and attempt to drill holes in the correct position in the front of the Quicksilver chassis."
    Unfortunately, it's more than a case of drilling a couple of holes.  The modification isn't really feasible, and after you remove the front panel from the Quicksilver case, you'll see what I mean.  In the Optical/Zip drive area, the Quicksilver's front chassis wall isn't cut out the same way as previous models were.  Prior to the Quicksilver models, the front plastic bezel (with the hinged Optical drive door and a blank or Zip-slotted bezel) was snapped in from the front, after the front panel was installed.  The chassis wall had a large opening to accommodate installation/removal of the Optical and Zip drive carrier.  As I indicated before, in the Quicksilver model, the Optical and Zip drive carrier is mounted internally.  This is necessary because the front chassis wall has two separate openings cut in it.  The upper opening is for the oval-shaped, hinged Optical drive door (snaps into place from the interior of the chassis) and the lower opening is a narrow slot for Zip disk insertion and the eject button.  To use the Optical and Zip drive carrier from a Sawtooth G4 would require cutting the Quicksilver's front chassis wall, to create an opening large enough for the carrier.  In doing this, you'd cut away the metal which has (7) small holes in it, through which the hinged door assembly's plastic mounting pins are inserted to properly position and secure it in place.  If you don't want to lose the use of the hinged optical drive door, including the appearance of a seamless front panel, you can't cut away that metal.  If you don't care about having a permanent oval opening in the front panel in front of the optical drive, you could attempt your modification.  Because the Quicksilver's optical drive typically needs to have the trim piece unsnapped from the front of its tray, I'd want to retain the front panel's hinged door bezel to prevent excessive dust from entering the drive.  As I recommended before, check ebay for a pulled carrier.

  • After installing Mountain Lion doesn't external hard drives mount or stay mounted. Anybody else with this major problem?

    After installing Mountain Lion doesn't external hard drives mount or stay mounted.
    I have tried resetting my Mac's PRAM but the problem still remains.
    Even USB memory sticks are unmounted efter a few seconds.
    Anybody else with this major problem?

    I have the same problem, although mine has not been solved by ESET update, finder settings, PRAM & SMC resets or anything else.
    Don't get it, my external hard drive still works on both my housemates computers - one macbook pro (with snow leopard) and one dell, just not on mine with mountain lion.
    Any ideas for me guys?

  • USB pen drive mounts not seen in system.log. Why?

    Any idea why USB pen drive mounts are not loogged in system.log? A WD Paasport drive mount shows up in system.log. Any idea why this is the case and how it can tracked/logged?
    It would be nice to have a record of any externals that are being mounted on an OS X client by a user.
    MacMini   Mac OS X (10.4.9)  

    Ok, that's it. I read a few posts in the "...SuperDrive won't accept my CD.." section. and it seems some people are just swapping optical drives like mad, ready to accept that the kit is crap, and "...oh, well, I sure hope this one works better...".
    But one guy had the brains to have a look inside. Turns out dust had accumulated in the drive and on the connectors, and when he cleaned them, and unplugged and replugged them, it worked fine. So that's what I did. Took it out and put it back in. Amazing the stuff I cleared out! I also un- and re-plugged the power cable and the data ribbon at the mutha board and bingo!. We have disk, and I can breathe again.
    Recommend to others they pretend they've bought a new drive, do a remove and reinstall and be very fastidious. You may not need a new one after all. I just love it that stuff can still be FIXED!
    Thanks to Lou and all of you who share your experiences. It's like my brain is suddenly soooo huge...

  • Get Bridge to store Previews of removable drives

    Hi All,
    when working with removable drives with many images I find that Bridge always needs to redo the catalog and preview-images.
    This can get tedious, especially when one goes on photographing and would like to have access to the newly created shots.
    Bridge however needs its time to go through everything, although 95% of the contents had already been there when the disk
    was plugged in the last time.
    Now I could imagine that one could solve that problem mostly by telling Bridge to create all thumbnails in the respective folder.
    But this of course is at the expense of disk-space on the flash-card. I wonder if there was no alternative way?
    Bridge would create permantent thumbnails in the one dedicated location, where all Bridge stores all its preview-images.
    That folder got accessed as soon as this drive got plugged in. Henceforth only thumbnails for newly created content was created.
    Thumbnails of no more found images on the Flash-Card got purged.
    Is there a way to make it work like this?

    If you highlight a drive, and click Tools > Cache > Build and Export Cache..., you are given the option of  "Export Cache to Folder". I guess if you tick that and let the entire drive be cached (subdirectories should be included), Bridge will use the folder caches in preference to its internal cache.

  • How can I find/reactivate a removable drive after I've ejected it?

    How can I find/reactivate a removable drive after I've "ejected" it (without simply plugging it back in)?

    Applications->Utilities->Disk Utility
    Choose your drive and click "Mount"

  • Confusion over Native Query Result List

    I have this confusion over the field object of a resultList of a Native query. This is because it has contradicted the idea of the books for me.
    This is a pure example
    @SqlResultSetMapping(name="LoanCapitalization.reportMapping",
    columns={
        @ColumnResult(name="policy_number"),
        @ColumnResult(name="policy_holder"),
        @ColumnResult(name="amount"),
        @ColumnResult(name="outstanding_loan"),
        @ColumnResult(name="interest"),
        @ColumnResult(name="amount_to_date"),
        @ColumnResult(name="effective_date"),
        @ColumnResult(name="sub_system_code")
    @NamedNativeQuery(name="LoanCapitalization.aggregateStatement", query="SELECT   l.policy_number, l.last_name || ' ' || l.first_name as " +
            "policy_holder, l.amount, c.out_principal_bf as outstanding_loan, c.out_interest_bf as interest, " +
            "SUM (r.repayment_amount) as amount_to_date, c.effective_date, l.sub_system_code FROM loan l JOIN v_latest_capitalization c " +
            "ON l.loan_id = c.loan_id JOIN loan_repayment r ON l.loan_id = r.loan_id WHERE " +
            "c.effective_date BETWEEN ?1 AND ?2 GROUP BY l.policy_number, l.last_name, l.first_name, l.amount, " +
            "c.out_principal_bf, c.out_interest_bf, c.effective_date, l.sub_system_code order by l.sub_system_code, l.last_name",
            resultSetMapping="LoanCapitalization.reportMapping")and
    Query query = entityManager.createNamedQuery("LoanCapitalization.aggregateStatement");
            AggregateStatementLoanBalanceReportData data = null;
            List<AggregateStatementLoanBalanceReportData> returnList = new ArrayList<AggregateStatementLoanBalanceReportData>();
            query.setParameter(1, reportCriteria.getFromDate());
            query.setParameter(2, reportCriteria.getToDate());
            List<Object[]> resultList = query.getResultList();
            System.out.println("resultList.size() >>>>>>>>>> " + resultList.size());
            for (Object[] obj : resultList){
                data = new AggregateStatementLoanBalanceReportData();
                System.out.println("(String)obj[1] >>>>>>>>>> " + (String)obj[1]);
                System.out.println("(String)obj[2] >>>>>>>>>> " + (String)obj[2]);
                System.out.println("(String)obj[3] >>>>>>>>>> " + (String)obj[3]);
                System.out.println("(String)obj[4] >>>>>>>>>> " + (String)obj[4]);
                System.out.println("(String)obj[5] >>>>>>>>>> " + (String)obj[5]);
                System.out.println("(String)obj[6] >>>>>>>>>> " + (String)obj[6]);
                data.setPolicyNumber((String)obj[0]);
                data.setName((String)obj[1]);
    .......My first shocking surpise is that all the System.out.println() return nulls but
    System.out.println("resultList.size() >>>>>>>>>> " + resultList.size()); returned 1.
    so can anyone suggest what the problem may be.
    Regards,
    Michael

    I came across your post as I experienced the same problem. As I found no answers I tried different let's say stupid solutions.
    The one that solved my problem was to write the name for the @ColumnResult in capitals as I noticed that Oracle transforms the alias column names into capitals. I guess otherwise the mapping doesn't occur correctly.
    My example:
    @SqlResultSetMappings({
    @SqlResultSetMapping(
    name = "Customers.searchCustomers",
    entities =
    @EntityResult(entityClass = Customers.class)
    columns =
    @ColumnResult(name = "CONTACTDATE"),
    @ColumnResult(name = "CONTRACTDATE")
    String queryString =
    "SELECT c.CUSTOMER_ID, c.LAST_NAME, c.FIRST_NAME, c.OPU, c.CUSTOMER_CORE_ID, " +
    "to_char(con.CONTACT_DATE, 'yyyy-dd-mm') AS CONTACTDATE, to_char(contr.CONTRACT_DATE, 'yyyy-dd-mm') AS CONTRACTDATE " +
    "FROM CUSTOMERS c " +
    "LEFT JOIN CONTACTS con ON con.CUSTOMER_ID = c.CUSTOMER_ID AND con.ACTIVE = '1' " +
    "LEFT JOIN CONTRACTS contr ON contr.CUSTOMER_ID = c.CUSTOMER_ID AND contr.ACTIVE = '1' " +
    "WHERE c.CAMPAIGN_ID = ?1 AND upper(c.LAST_NAME) LIKE ?2 AND upper(c.FIRST_NAME) LIKE ?3";
    query = em.createNativeQuery(queryString,
    "Customers.searchCustomers");

Maybe you are looking for

  • How do I find out what key a song is in?

    Is there a plug-in that will tell me what key a pre-recorded song is in? Sometimes i can play around with a keyboard until i figure out what notes go well with the song, and therefore what key it's in. That doesn't always work however. Is there softw

  • Problem with Database_App_Tables_9.1.0.5.0 Connector

    Hi All, I am using Oracle Identity and Access Management 11g (11.1.1.5.0) and have configured the Database App Tables GTC for Trust Source Reconciliation. I am trying to implement the example configuration as specified in Appendix A of Connector Guid

  • HT1414 my ipad wont switch back on

    hi i have just tried to restore my ipad...pressed the main menu button and power button for 10 sec ...held the menu button for a further 10 secs...and my itunes wont pick up  the device.... in order to restore it. help...i have a lifeless ipad.

  • Custom Tools panels - designed for vertical screens?  [in interface jungle]

    Hi! (hi Rufus Deuchler ) This is a really cool feature. But why can not I stick the toolbar vertically on the bottom or top? So as the control bar? Why all this Ai interface is not intended for displays and vertical work? I have a wide monitors but s

  • Exclude a table from time-based reduction

    Hi, Iu2019d like to exclude a table from time-based reduction. How can I do this ? Is there any manual how to do customizing in TDMS ? Regards p121848