Enhancing a class after changing its JDO mapping file.

Hi -
Once I enhance a class to make it persistence-capable, do I need to re-enhance it after I make
changes to its JDO mapping file (for example, adding a default-fetch-group attribute)?
Are there certain JDO mapping file changes for which I can forgo enhancement, or is it recommeneded
to always re-enhance?
Thanks,
Les

That depends on the nature of the change.
In general, a good rule of thumb is that changing any extensions does not
require re-enhancement.
On the other hand, most meaningful changes that you make to the standard
metadata tags require re-enhancement. This includes default-fetch-group
settings.
-Patrick
On Thu, 16 Jan 2003 16:32:59 -0500, Les Selecky wrote:
Hi -
Once I enhance a class to make it persistence-capable, do I need to
re-enhance it after I make changes to its JDO mapping file (for example,
adding a default-fetch-group attribute)?
Are there certain JDO mapping file changes for which I can forgo
enhancement, or is it recommeneded to always re-enhance?
Thanks,
Les--
Patrick Linskey
SolarMetric Inc.

Similar Messages

  • No effect after changing the message mapping

    Hi everybody,
    i'm using PI 7.1. After changing the attributes in my message mapping i can no see any effect in my result.
    Should it be a cache problem? Where can i delete the caches?
    regards,
    Sid

    Hi,
    I guess there can be two things.
    before going to the tcode sxi_cache...
    Please go to the IR, Click Environment, Cache Notification and then select author as your id.
    Now see if any are in red status. if so click on the change and click Repeat Cache Notification.
    Now press refresh.
    I guess this will resolve your problem

  • Could not ping and access a server after changing its ip

    I could not ping and access a (destination) machine from another (source) machine after changing destination machine ip although I modified hosts file and hosts map in the source machine
    I can access the destionation using IP. This problem happened in case of using hostname not IP
    My source machine is omcsp4 (192.6.6.40) and destination machine is omcsp8 (10.57.217.80).
    Here is the host file for two machines:
    omcsp4
    hosts:
    10.57.217.80     omcsp8
    127.0.0.1     localhost     
    192.6.6.40     omcsp4     omcsp4.localdomain omc_splat omc_4gl omc_pm loghost
    #Firewall
    192.6.6.200 FIREWALL
    hosts.equiv
    omcsp4
    omcsp8
    omcsp8
    hosts:
    # Internet host table
    127.0.0.1     localhost     
    10.57.217.80     omcsp8     omcsp8.localdomain omc_splat omc_4gl omc_pm loghost
    192.6.6.40 omcsp4
    hosts.equiv:
    omcsp8
    omcsp4
    Here's logfile when I try to ssh on both machine
    hostname
    omcsp4
    bash-3.00# grep omcsp8 h /etc/hosts
    10.57.217.80 omcsp8
    bash-3.00# ypcat hosts | grep omcsp8
    10.57.217.80 omcsp8
    bash-3.00# ping -a omcsp8
    no answer from omcsp8(192.6.6.180)
    bash-3.00# ping 10.57.217.80
    10.57.217.80 is alive
    bash-3.00# ssh 10.57.217.80
    The authenticity of host '10.57.217.80 (10.57.217.80)' can't be established.
    RSA key fingerprint is c7:d6:32:81:bb:6e:b5:f0:d0:5f:9f:05:f4:6e:be:3f.
    Are you sure you want to continue connecting (yes/no)? yes
    Warning: Permanently added '10.57.217.80' (RSA) to the list of known hosts.
    Password:
    Last login: Thu Feb 21 19:42:08 2013 from omcsp1
    Sun Microsystems Inc. SunOS 5.10 Generic January 2005
    You have new mail.
    # hostname
    omcsp8
    # ping omcsp4
    omcsp4 is alive
    # ifconfig -a
    lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
    inet 127.0.0.1 netmask ff000000
    ce0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
    inet 10.57.217.80 netmask ffffff00 broadcast 10.57.217.255
    ether 0:14:4f:67:32:cb
    # exit
    Connection to 10.57.217.80 closed.
    bash-3.00# hostnae me
    omcsp4
    bash-3.00# id
    uid=0(root) gid=0(root)
    bash-3.00# cd /var/yp
    bash-3.00# make hsost osts
    updated hosts
    pushed hosts
    bash-3.00# ping -a omcsp8
    no answer from omcsp8(192.6.6.180)
    bash-3.00# grep omcsp8 /etc/hosts
    10.57.217.80 omcsp8
    bash-3.00# ypcat hosts | grep omcsp8
    10.57.217.80 omcsp8
    Edited by: 990091 on Feb 25, 2013 6:10 PM
    I've change from "server" to "machine" to avoid misunderstand

    Update for this situation
    omcsp4
    IP: 192.6.6.40
    omcsp8
    old IP: 192.6.6.180
    new IP: 10.57.217.80
    When I ping from omcsp4 to omcsp8, there's no answer and the hostname is resolved as *192.6.6.180* which is the old IP. But in hosts file, the IP is the new one.
    omcsp4:omcadmin > ping -a omcsp8
    no answer from omcsp8(192.6.6.180)
    omcsp4:omcadmin > grep omcsp8 /etc/hosts
    10.57.217.80 omcsp8
    omcsp4:omcadmin > ypcat hosts | grep omcsp8
    10.57.217.80 omcsp8     
    omcsp4:omcadmin > ping 10.57.217.80
    10.57.217.80 is alive
    These above operations show that the hosts file and NIS are both updated with the new IP address of omcsp8. But when i ping omcsp8 (by name) it returns the old IP address. So the question is from where the system omcsp4 resolve the hostname omcsp8???

  • AP 2600 asks for User Credentials after changing its mode

    Hello experts,
    I just converted my AP 2600 sereis from Autonomous-mode into LWAPP-mode,  The conversion was done successfully, but after i reloaded my AP, it now asks for Username and pass.
    I tried using Cisco/Cisco,    admin/admin      ,  but none of them works. i dont know why it is asking for user credintials even i didnt set one
    please help me

    HI IMRAN;
    Frist try to join the AP to WLC.
    Then u can change the username and password.
    When the ap has already joined the wlc you can change the default username and password and also enable telnet or ssh:
    config ap username password all
    config ap telnet enable
    config ap ssh enable
    Regards
    Dont forget to rate helpful posts

  • How to unlock sales order number after changing its line item statuses.

    hi all,
            my requirement is i am changing the status of the double
           clicked sales order which is showing in ALV grid display
           before that i am locking that sales order using FM
           CALL FUNCTION 'ENQUEUE_EVVBAKE' and for
           changing the status i am using FM
            CALL FUNCTION 'STATUS_CHANGE_EXTERN'
            which doesnt have commit statement inside this FM so
           i have explictly written this commit statement if this FM
           gives SY-SUBRC = 0 but with this statement it unlock my
           sales order because of the commit functionality.
    also this FM is in loop for all line items for that sales order
    please help me with that!!!!

    Hi,
    I have created delivery against sales order.
    While picking (during delivery PGI), I selected two batches to suffice the delivery qty. Please refer the example quoted below.
    Sales order (SO1) - Material (Mat1) - qty (15 ea)
    Delivery against sales order (Del1) - batch split: batch1 - 10 ea
                                                                         batch2 - 5 ea
    In table LIPS: when I enter delivery number as "Del1" and execute, I get 2 records:
       del no.     Item No.      Material   Qty       Batch no       Sales Order no     Sales Order Item no
    1. DEL1       10              Mat1        10 ea    batch1          SO1                    10
    2. DEL1       20              Mat1         5 ea     batch2         ______                 ____
    Thus in the 2nd record, the Sales order no.(LIPS-VGBEL) and sales order item no. (LIPS-VGPOS) does not get updated.
    I have to develop a report to display the Sales Order number and sales order line item number for each batch of the Delivery for the same item number. Please guide me to know how I can get the same.
    Hope this clarifies the issue faced.
    Regards,
    Ankush

  • Booting Windows after changing its partition

    Hey all,
    Before installing Arch I backed up my windows partition (NTFS) with partimage. After installing arch I created a new NTFS partition (/dev/sda6) with gparted and restored the image on this partition.
    I added the following to menu.lst
    # (2) Windows
    title Windows
    rootnoverify (hd0,5)
    makeactive
    chainloader +1
    my partitiontable looks as follows:
    Disk /dev/sda: 640.1 GB, 640135028736 bytes
    255 heads, 63 sectors/track, 77825 cylinders, total 1250263728 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x000b15cc
    Device Boot Start End Blocks Id System
    /dev/sda1 * 63 208844 104391 83 Linux
    /dev/sda2 551135232 1250263039 349563904 5 Extended
    /dev/sda3 8401995 39134339 15366172+ 83 Linux
    /dev/sda4 39134340 551135231 256000446 83 Linux
    /dev/sda5 551137280 559329279 4096000 82 Linux swap / Solaris
    /dev/sda6 559331328 1250263039 345465856 7 HPFS/NTFS/exFAT
    I when trying to boot the windows partition it I get the following message:
    Error 12: invalid device requested
    Any ideas?
    Thanks!

    Windows must be on a primary partition to boot, it will not boot from a logical partition.

  • Pictures in iWeb albums disappeared after change location of original files

    I created many albums in iWeb by dragging albums from iPhoto. But then I noticed some pictures from my iWeb albums disappeared after the original pictures got removed to another location (or deleted). How can I tell iWeb to make a copy of the pictures in iWeb itself so my iWeb albums can stay the same even when i need to reorganize the original files on the hard drive?
    Any suggestions on how to restoring my albums in iWeb? I am having a bit headache now. Thank you very much!

    That is not normal behavior. The photos should stay in iWeb even if you delete them from iPhoto. Are you running a "referenced" library or a "managed" one?
    Click to view full size
    Managed is the default option. If you're running a reference library that may be the reason. If so contact Apple via http://www.apple.com/feedback/iweb.html and http://www.apple.com/feedback/iphoto.html.
    Unless you have a backup of your domain file predating the loss of the photos I don't know how you will recover the photos.
    OT

  • Can't rename files/folders after changing extension of a file

    This has gone on for a while and is quite the pain.
    So I need to change the extension of a file. I change it, it asks me do I really want to do this, and I do. Sometimes immediately, and sometimes in a while, I lose the ability to rename a file/folder - I highlight it but can't type anything. Only a restart cures it, until the next round. Really annoying.
    I've seen this syndrome posted here and there, but no real solutions. Any ideas welcome, I'm using 10.4.11 btw.
    Thanks

    Very Important, how much Free Space is on your Hard Drive first of all? Click on the Macintosh HD on the Desktop, then do a Get Info on it.
    First, Safe Boot , (holding Shift key down at bootup), use Disk Utility from there to Repair Permissions, test if things work OK in Safe Mode.
    Then move these files to the Desktop...
    /Users/YourUserName/Library/Preferences/com.apple.finder.plist
    /Users/YourUserName/Library/Preferences/com.apple.systempreferences.plist
    /Users/YourUserName/Library/Preferences/com.apple.desktop.plist
    /Users/YourUserName/Library/Preferences/com.apple.recentitems.plist
    Reboot & test.

  • Desktop 4.1.4 does not show calendar event after changing category

    Palm Desktop 4.1.4 does not show (properly) a calendar event after changing its category and does not allow me editing it (on PC). 
    The event  is seen as "grayed" region (no boarder and no 3D elevation shadow) although with different colors reminding the category ones.
    Synchronization with my Tungsten E goes normally: I can see the event on the handheld, edit it, etc. 
    I use Win XP Pro  5.1.2600 SP3 build 2600 installed on Lenovo X61S (x86 based).
    Thanks for any help. 
    Post relates to: Tungsten E

    Make sure Category is set to all. Also try switching to a different category view then back to all.
    Post relates to: None

  • Using map file from Mercator in ECXpert

    Hi all,
    I am using the Mercator map file in the Mercator example (<Mercator install dir>\Examples\XML\XML2EDI\ XML2EDI.mms) and convert the map file to Solaris platform map file (XML2EDI.sun) using Mercator Map Designer.
    After that the .sun map file is used in ECXpert. The input file is poin.xml. The transaction is not succesful and error occurs as the require stylesheet base directory not found.
    The stylesheet directory can be set in the /<install dir>/NS-apps/ECXpert/data/stylesheet/ecxstylesheet.xml, but the problem is for this map file (.sun), the stylesheet is not used.
    Question:
    1.Does map file (.sun) need a stylesheet?
    2.Does this stylesheet need to be created?
    3.What are the requirements to use the .sun map file (that is converted from.mms for xml input file)?
    Do appreciate your response. Thanks.
    Regards,
    Mei Ling

    Mei Ling,
    See inline for comments...
    Regards,
    Saket
    Hi Saket,
    Thanks for ur reply.
    I have change the partnership type to normal type
    (Application to Apllication), but still having the
    same problem which it always looking for a
    stylesheet.
    Seems like i am using the ECXpert XML capabilities as
    well even though i have change to Application to
    Application in the partnership.You probably need to describe what you are doing in greater detail here. Looks like a configuration issue to me. Also, what version of ECX are you using? And what is the version of the Mercator Design Studio (including the patch number/build number)?
    If you can provide me with more details of the steps you are doing to set this up, I may be able to help you better.
    >
    Question:
    How do i use Mercator in ECXpert? Is this the right
    way by simply convert a Mercator map file to (.sun)
    and put it into the map file path of ECXpert and
    creating partnership and services for it?That is correct. Don't see anything obviously wrong here. You have to watch out for the version of your Design Studio and the Mercator runtime though. Have you opened a case with Sun Tech Support for this? If not, I suggest you do so.
    >
    Appreaciate for ur response.
    Regards,
    Mei Ling

  • I am having a problem with enhancing a .class for JDO

    Hi
    i am having a rpoblem with JDO . please help me for this.
    Buildfile: build.xml
    compile:
    xdoclet:
    [ojbdoclet] May 26, 2005 11:08:55 AM xdoclet.XDocletMain start
    [ojbdoclet] INFO: Running <ojbrepository/>
    [ojbdoclet] May 26, 2005 11:08:56 AM xdoclet.XDocletMain start
    [ojbdoclet] INFO: Running <torqueschema/>
    build:
    build_if_with_mainclass:
    enhance-jdori:
    [java] Enhancer: options:
    [java] verbose = true
    [java] quiet = false
    [java] forceWrite = true
    [java] noWrite = false
    [java] sourcePath = null
    [java] destinationDirectory = build/classes
    [java] propertiesFileName = null
    [java] doTiming = false
    [java] classNames = {
    [java] }
    [java] jdoFileNames = {
    [java] src/java/org/apache/ojb/tutorial5/Product.jdo
    [java] }
    [java] classFileNames = {
    [java] build/org/apache/ojb/tutorial5/Product.class
    [java] }
    [java] zipFileNames = {
    [java] }
    [java] dumpClass = false
    [java] noAugment = false
    [java] noAnnotate = false
    [java] JDO ENHANCER: using file: file:/D:/ojb-blank/ojb-blank/build/org/ap
    che/ojb/tutorial5/Product.class
    [java] Class Locator: using class files: {
    [java] build/org/apache/ojb/tutorial5/Product.class
    [java] }
    [java] JDO ENHANCER: using file: file:/D:/ojb-blank/ojb-blank/src/java/org
    apache/ojb/tutorial5/Product.jdo
    [java] -------------------------------------------------------------------
    [java] JDO ENHANCER: Enhancer: enhancing classfile ...
    [java] JDO ENHANCER: scanning class org.apache.ojb.tutorial5.Product
    [java] JDO ENHANCER: not found resource: META-INF/package.jdo
    [java] JDO ENHANCER: not found resource: WEB-INF/package.jdo
    [java] JDO ENHANCER: not found resource: package.jdo
    [java] JDO ENHANCER: not found resource: org/package.jdo
    [java] JDO ENHANCER: not found resource: org/apache/package.jdo
    [java] JDO ENHANCER: not found resource: org/apache/ojb/package.jdo
    [java] JDO ENHANCER: not found resource: org/apache/ojb/tutorial5/package.
    do
    [java] JDO ENHANCER: found resource: org/apache/ojb/tutorial5/Product.jdo
    [java] com.sun.jdori.enhancer.util.InternalError: assertion failed: cannot
    find class file for class: org/apache/ojb/tutorial5/Product
    [java] at com.sun.jdori.enhancer.util.Assertion.affirm(Unknown Source)
    [java] at com.sun.jdori.enhancer.meta.model.EnhancerMetaDataJDOModelIm
    l.declareField(Unknown Source)
    [java] at com.sun.jdori.enhancer.core.Analyzer.scanFields(Unknown Sour
    e)
    [java] at com.sun.jdori.enhancer.core.Analyzer.scan(Unknown Source)
    [java] at com.sun.jdori.enhancer.core.Controller.scan(Unknown Source)
    [java] at com.sun.jdori.enhancer.core.Controller.enhanceClass(Unknown
    ource)
    [java] at com.sun.jdori.enhancer.filter.Enhancer.enhanceClassFile1(Unk
    own Source)
    [java] at com.sun.jdori.enhancer.filter.Enhancer.enhanceClassFile(Unkn
    wn Source)
    [java] at com.sun.jdori.enhancer.Main.enhanceClassFile(Unknown Source)
    [java] at com.sun.jdori.enhancer.Main.enhanceInputFiles(Unknown Source
    [java] at com.sun.jdori.enhancer.Main.process(Unknown Source)
    [java] at com.sun.jdori.enhancer.Main.main(Unknown Source)
    [java] Fatal error while enhancing: JDO ENHANCER: An internal error occurr
    d while enhancing input class; detailed message: assertion failed: cannot find
    lass file for class: org/apache/ojb/tutorial5/Product
    [java] com.sun.jdori.enhancer.EnhancerFatalError: JDO ENHANCER: An interna
    error occurred while enhancing input class; detailed message: assertion failed
    cannot find class file for class: org/apache/ojb/tutorial5/Product
    [java] at com.sun.jdori.enhancer.filter.Enhancer.enhanceClassFile(Unkn
    wn Source)
    [java] at com.sun.jdori.enhancer.Main.enhanceClassFile(Unknown Source)
    [java] at com.sun.jdori.enhancer.Main.enhanceInputFiles(Unknown Source
    [java] at com.sun.jdori.enhancer.Main.process(Unknown Source)
    [java] at com.sun.jdori.enhancer.Main.main(Unknown Source)
    [java] aborted with errors.
    BUILD FAILED
    D:\ojb-blank\ojb-blank\build.xml:226: Java returned: 1
    Please help me asap
    bye
    Rahul S
    Senior Software Eng.
    Lionbridge Tech Pvt Ltd.

    Thanks for the suggestion. I have my iphone in an Otter Box and am not aware of getting any water in the phone. I tried cleaning out the docking opening with a toothbrush, no help. I will take your suggestion about going to Apple. Thanks again

  • In Office for Mac 2011 After creating a Button how do I change its shape without triggering its assigned macro?

    In Office for Mac 2011, after creating a button how do I change its shape without triggering its assigned macro?

    For questions about Microsoft's tools, it would be best to ask in the Microsoft Support Forums. They would likely have more experience than people here.

  • After power down iPad 4 with current iOS changes its sounds

    After power down iPad 4 with current iOS changes its sounds. It has happened twice so far.

    Describe "changes its sounds".
    To solve some sound problems, just follow these simple steps
    1. Go to Settings
    2. Tap on General
    3. Tap on Reset
    4. Tap on Reset All Settings
     Cheers, Tom

  • After changing deprecated methods in Thread Class

    I have changed the deprecated methods suspend() and stop() with JDK1.2.2 methods wait() and thread = null respectively. I wanted to know the affects after changing when I actually run the application.

    For one thing, "thread = null" won't stop the thread. In fact it will have no effect on the thread at all.

  • Some, but not all, podcasts existing on the iPod no longer appear in iTunes. Different podcasts have been affected at different times, after changes in the state of the iPod. Only podcasts are affected.

    I have not seen this precise issue addressed anywhere. I don’t know if it’s an iTunes or an iPod problem:
    - Some, but not all, podcasts existing on the iPod no longer appear in iTunes;
      this, after normal behavior for more than a year since purchase of the iPod.
    - Different podcasts have been affected at different times, after changes in the state of the iPod.
    - Only podcasts are affected.
    - This concerns an iPod nano 6th gen. and iTunes 11.0.2 (26) on System 10.6.8
    - The only change to iTunes, the Mac, or the iPod is that just before this condition began
      I’d begun syncing an iPhone via iTunes.
    I sync manually (“manually manage music and videos”). The first time this happened, I wanted to delete seventeen podcast episodes (all belonging to one podcast) existing on the iPod — but they didn’t show up in iTunes. I tried re-downloading them and re-syncing, to see if the new versions would somehow “re-link” to iTunes. They didn’t. Only one — new — episode appeared in iTunes.
    I ultimately reset the iPod and manually resynced all the podcasts I currently had on iTunes. That worked, though I had to painstakingly add in all the other content deleted by the reset.
    So: after that reset and manual sync, all podcasts and episodes on the iPod were visible to iTunes and I was able to delete the podcast and its — now 18 — episodes I’d wanted to get rid of to begin with. But the next time I connected the iPod, only 8 podcast episodes out of 21 episodes total existing on the iPod were visible to iTunes. These are different podcasts; I’d deleted the original “invisible” ones.
    By “visible,” I mean in the “Podcasts” list view under “[name]’s iPod” in the iTunes sidebar. If I select “[name]’s” iPod in the iTunes sidebar and the “Podcasts” tab, all podcasts and episodes are visible, though greyed out because I’m set to sync manually. It’s unclear to me if these are the podcasts on the iPod or those currently in iTunes, as they are currently the same. If I switch to syncing automatically, all content on the iPod will be lost again, so I’m not up to trying it at the moment.
    As I said,  this involves only podcasts. All other content on the iPod does appear in iTunes.

    I have the same problem- i see my movies in the ipod section in itunes and they even show as mpeg4 in the 'kind' section but they dont have that small TV icon next to them. if i play these in itunes, they play fine- but try playing them on the ipod and all you hear is the sound and no picture. All videos that i manually transfer work fine in the beginning- its when i hook up the ipod to the comp again and start itunes- they start showing up without the 'tv' icon!! i have to again transfer them from the itunes library to activate them as videos.
    Need Help!!!

Maybe you are looking for

  • My ipod touch no longer responds to touch.

    Is there any hope for it working again?

  • Get previous and latest salary from IT0008 Record

    Hey guys, i am trying to develop a letter that needs to show an increment, i.e. grab the current and previous records from IT0008.. I have tried a few things:       CALL FUNCTION 'HR_READ_INFOTYPE' >> this does not get the salary i need.. but gives m

  • Help needed with Flash web template

    I am working on a flash website for our Boy Scout Troop. It is based on a template purchased on-line. I am using Adobe Flash CS4. Here is a preview link to the template that I am working with... http://www.easytemplates.com/templates/flash/boy-scout/

  • Calling Events in ALV

    hi friends, i have developed ALV and blocked ALV report, in that i want to use at line-selection event . if any body knows please let me know. thanks and regards.

  • Cannot create user defined report

    Guys, For an unknown reason, I'm unable to create new reports in some subfolder inside the "User defined report". When I rigth-click on the subfolder, the contextual menu contains only "Copy" and "Paste". But If I'm going to the root folder (User def