Typo in inheritance docs

Hi all,
I found a typo in the document
http://www.oracle.com/technology/products/ias/toplink/jpa/howto/use-inheritance.html
There is an erroneous @Id annotation in the Joined Table Inheritance example in the LargeProject class.

fommil,
Thanks for reviewing this. My mistake, I tried compiling these in May and asked to change the nested non-compiling @Entity annotation on budget to @Id. There should be no annotation on budget at all. The primary key for LargeProject should be picked up on its Project superclass @Id.
A fix is in the documentation queue.
thank you
/michael

Similar Messages

  • Now you see it, you don't -

    Another surprise from my inherited doc set, though in general my predecessor didn't do a bad job: a paragraph style specifies a background colour (CMYK, process) to give white text on a blue background on the cover page. No problems on screen, otherwise I would of course have noticed earlier – but creating a .pdf unhelpfully drops the background so I end up with discreet/confidential white on white.  What's going on, and how I sort it?  N  FM 10.0.2.419 Acrobat X Pro 10.1.2 Windows 7

    <snip> Patient: but the user interface says I can …</snip> 
    Fair enough!
    So, does the color print when applied to a frame background, or when applied as the color (not the background color) of text?

  • Hibernate child cascade delete child???

    i am facing a problem on the cascade delete of a parent object, i try to explain the problem by example.
    Parent object C
    Child object D,E,F
    i want to delete the parent object "delete(c) ".
    before the parent can be deleted the child D,E and F has to be deleted.
    My relations are defined with cascade="all-delete-orphan" in the parent
    object. In my child no cascade is defined.
    When i check the logging on deletion of the object i see that hibernate
    tries to update reference in the child to the parent by setting the value to
    null. But since the the reference is obligated (NOT NULL in database)
    i get a not null constraint violation.
    My first question is why does hibernate not delete the child record instead of updating the reference (since my child object is remove
    from my collection in the parent object)?
    Could some one tell me what i am doing wrong? or does there not exist a solution.
    thnx

    First, is that a typo? The docs for 3.1 that I'm looking at say "all,delete-orphan", but you have "all-delete-orphan".
    Second, I thought (and it's been a long time since I've needed to do this) that you defined the cascading in the child. I could be wrong though.
    What kind of relationship is this? The docs say that delete-orphan only applies to one-to-many.
    You might want to go through the pertinent sections of these if you haven't already:
    http://www.hibernate.org/hib_docs/v3/reference/en/html/mapping.html
    http://www.hibernate.org/hib_docs/v3/reference/en/html/collections.html
    [url http://www.hibernate.org/hib_docs/v3/reference/en/html/objectstate.html#objectstate-transitive]http://www.hibernate.org/hib_docs/v3/reference/en/html/objectstate.html#objectstate-transitive

  • ZAC installation with a WL6.x server

    I would like to use ZAC with a WL6.0 or 6.1 server, the documentation is reffering to a zac.war file, but after installation i only got a zac.jar file in the lib folder.If i try to deploy this one, the zac application doesn't appear on the "web applications" but only on the "applications", so i don't know where to put a web.xml file.Also, once deployed, how to start the appication, the jar file only contains class files.Thanks to any help.Pascal.

    Hi.
    the reference to zac.war is a typo on our docs.
    the web.xml referred to in our docs is the web.xml file of the application you are deploying with zac.
    I recommend you consider using javawebstart from sun (http://java.sun.com/products/javawebstart/). Zac will not be around much longer as it is deprecated with WLS 6.x.
    Thanks
    Michael
    Pascal wrote:
    I would like to use ZAC with a WL6.0 or 6.1 server, the documentation is reffering to a zac.war file, but after installation i only got a zac.jar file in the lib folder.If i try to deploy this one, the zac application doesn't appear on the "web applications" but only on the "applications", so i don't know where to put a web.xml file.Also, once deployed, how to start the appication, the jar file only contains class files.Thanks to any help.Pascal.--
    Developer Relations Engineer
    BEA Support

  • About the ADC full scale??

    Hi, this is sunny again.
    I got two new questions here:
    1. At the beginning of each project, the FPGA
    resources (I/O, clock, etc)are added to the project in the project
    explorer and I clicked the property of DAC IQ clock, its frequency is
    fixed(e.g. 25MHz). Later when various interpolation values are applied
    to the DAC, the DAC IQ clock shall be changed. But, when I clicked the
    property of DAC IQ clock again, its frequency is still the original
    one. So I guess the user doesn't have to care about the clock in the
    property, it will be changed automatically. Am I right?
    2.  what is the full scale voltage of the ADC? I looked at the analog input/output example code, it said that 1.68Vpk-pk is the full scale for I16, so the resolution shall be 0.86/32768. But I looked another example the burst OOK  demodulate VI, it said that "Threshold which is 300 (signed 16 bit fixed point representation for 0.02)" , how come this 0.02 ? I am very confused . So, what is the relationship between the Analog signal and its digital representation? I looked up the datasheet of the ADC but failed to find out it.
    Thanks!!

    Sunny,
    1. You are right. The user need not worry about the clock propery. This property is only required for compilation. The Host VI configures the clock at run time.
    2. a. IF-RIO has a 14 bit ADC and not 16 bit. Only 14 bits are of use out of the 16 bits of the IQ data. Hence the use of I14.1 representation for I and Q.
        b. (I^2 + Q^2) needs to be  > threshold, to detect the burst. Threshold=300 (I16)= 0.0046 (signed 16.0 format). This is a typo in the doc.
    Your approach is right. If you know that your signal amplitude is 0.86, then you can calculate the threshold value and use its I16 equivalent representation to detect the burst.
    But if you do not know, 300 seems to work fine. Good question!!
    Regarding the follow-up question, you can now represent fractions using fixed point data type in LV 8.5!
    Cheers,
    --Vinay
    Message Edited by Vinay Kumar on 05-22-2008 08:20 AM
    Message Edited by Vinay Kumar on 05-22-2008 08:22 AM

  • Oracle authetication and proxy authetication

    Hello,
    I am using 10g, thin driver and using oracle proxy authetication.
    We have an 'appuser' which is used to setup the connection pool, and the atual user gets the connection from the pool and uses proxy authetication to do the job.
    Currently proxyauthetication do not autheticate oracle user, all it needs is oracle username and NOT user password.
    Anybody who knows, appuser, username and passowrd, can logon on to oracle, and proxy over to anyuser (since it needs only username) and perform any operation onbehalf of that user. This is a serious security issue for us.
    Is there is clean work around for this situation?
    Thanks,
    SL

    Hello,
    I'm Mark Wilcox, the Product Manager for Oracle Virtual Directory.
    First- the plug-in is "subschemaentry". That is a typo in the docs which we will fix.
    Second - The primary purpose of Enterprise User Security is to centralize the management of database users and roles. To address an earlier question in the thread - "Do I need to map every user in AD to every user in the database" - the answer is "depends". Most applications do not actually use local database accounts - they instead do all actions at the middle-tier (though there are mechanisms such as Proxy Users that can be used to pass the context to the database). So these days primarily the only direct users are normally DBAs and some Business Intellegence reporting applications. Additionally EUS supports the notion of "shared schema" where you can map 1 DB user to multiple LDAP entries, but most organizations use a 1 to 1 mapping. And there are a variety of means to do this. I would recommend Oracle Identity Manager and make this as one of your elements of your enterprise provisioning process. However, you can of course use another 3rd party provisioning system.
    You can learn more about what Enterprise User Security here:
    http://www.oracle.com/webapps/dialogue/dlgpage.jsp?p_ext=Y&p_dlg_id=6917346&src=6642146&Act=40
    Regards,
    Mark

  • FolderAccess still working, how?

    Hello,
    running Reports 11g under linux (11.1.1 if I remeber correctly), we have reports that create text files when run.
    This works fine and they always create the file in the same directory.
    The strange thing is that I found that <folderAccess> was commented out in rwserver.conf.
    If I let it "back in" I get an error that the element is unexpected.
    The docs seem to be clear on the ordering of elements (should be according to the .xsd, same as in the doc) but experience says that's not right...
    On folderAccess I think there are typos in the docs. The example closes the element with <\folderAccess>, I would have guessed </folderAccess>...
    So, I comment it away again, restart everything and the reports start working and still create their files.
    Fine, but I would like to know how thay can do that without explicit permission? In case I need to install a new server.
    So instead of "why doesn't it work?" it's "how can it work?" :)
    Any suggestions?
    Kind regards
    Tomas

    The behavior makes sense if without any folderAccess defined, everything is allowed (the bad old way).
    That is, without any folderAccess given a report can read/create files whereever.
    With folderAccess given a report can only read/write those directories.
    This is not stated in the docs. Can anyone confirm?
    Tomas

  • Typos in Oracle Spatial Best Practices doc by Dan Geringer

    Hi there,
    I was looking through Dan Geringer's notes setting up SDO_JOIN to run in parallel here:
    http://download.oracle.com/otndocs/products/spatial/pdf/oow2010/spatial/spatialoow10_bestpractices.pdf
    Anyhow, noticed few boo-boos all having to do with table aliases in the examples. They are not too hard to catch but still might trip up folks.
    On page 37, the example is missing a table alias of "a". E.g. it should say
    CREATE TABLE result1 NOLOGGING PARALLEL 4 AS
    SELECT a.rowid1 AS risk_zones_rowid,
    a.rowid2 AS parcels_rowid
    FROM TABLE (SDO_JOIN ('RISK_ZONES', 'GEOM',
    ' PARCELS', 'GEOM')) a;but its missing that final "a".
    On page 38, the table aliases are incorrect in the relate statement. E.g. it should be
    CREATE TABLE result2 NOLOGGING PARALLEL 4 AS
    SELECT /*+ ordered use_nl (a,b) use_nl (a,c) */
    sdo_geom.relate (b.geom, 'DETERMINE', c.geom, .05) relation,
    b.risk_zone_id, c.parcel_id
    FROM result1 a, risk_zones b, parcels c
    WHERE a.risk_zones_rowid = b.rowid
    AND a.parcels_rowid = c.rowid;Nothing too serious but thought I'd point it out.
    Cheers,
    Paul

    Hi Paul,
    Thanks for pointing out the typos. Will forward them to Oracle Technical Doc group to have them corrected.
    jack

  • Typo in Oracle 9i Docs?  SUNW2x?

    "Oracle 9i Release notes Release 1 (9.0.1) Release notes for Sun SPARC Solaris" (A90355_02) includes in the list of required OS packages a package SUNW2x that my system didn't have. I checked with Sun and couldn't find it. Sun support found for me a bunch of queries on the subject however. Many before me have been trying to figure out what SUNW2x is. There is, however, a standard Solaris package SUNWtoox. Do you think that the reference to SUNW2x in the Oracle documentation is a typo?

    Hi Paul - did you ever find out if this was a typo? Thanks in advance.

  • ** Typo in j2se/1.4/docs/api

    I just found a documentation error in the api
    not a biggie,
    in Class DecimalFormat under the method summary
    setNegativeSuffix(String newValue)
    Set the positive suffix.
    I guess the set the positive suffix should be changed to negative suffix.
    Does Sun even care? =)

    Yes, I think SUN cares. Report it using the Bug Database.
    The funny thing is that it seems to be a Javadoc bug. It is only in the index over the methods of the class that this error shows. In fact, the method is duplicated in the index. The first has the correct text, the second the wrong text.

  • Small typo in docs

    e13079 - SQL refereence.pdf
    Pages 227,228 MILLISECOND must be used instead of MILLESECOND

    Thank-you Validimir, I have logged a bug on this.
    Doug

  • Question about documentation & interface inheritance

    If I have interface Foo that extends interface Bar, I'm wondering if there's a way for Foo to add more documentation to one of Bar's methods.
    For example, if I have:
    public interface Foo {
      * The "stuff" that gets done by this method should be more properly defined in the implementing class.
      void doStuff();
    public interface Bar extends Foo {
    }Is there any way for me to specify for Bar to override the doc on the doStuff() method inherited from Foo (such that it might read something like "The doStuff() method of all implementers of Bar should [behave in x manner]")?
    I realize I'm probably not articulating myself totally clearly, so let me know if I need to shed light on anything.
    Thanks!
    Edited by: Caryy on Nov 30, 2010 4:06 PM

    jverd wrote:
    I think you're allowed to declare an identical doStuff() method in Bar and give it its own documentation. It won't just get concatenated on to the supertype's doc, but the javadoc tool might generate a link to the parent method like it does when a class overrides or implement a method.Wow... >_< I thought I tried that and failed before asking this question, but it appears that you are correct (I must have typo'd or something)! Thanks for the fast reply and sorry for the n00b question....

  • Open Word Doc from form in web setting not client/server

    Hello, I am new to form. I need to open a word doc (on client PC )from Oracle Form by a button click. I did some research online and looks like Client_Ole2 is the package I need. But when I looked into my Build-in Package (in forms builder), I only see OLE2, TEXT_IO etc. So when I try to declare a variable which is CLIENT_OLE2 like some post suggest, I got error message "identifier CLIENT_OLE2.OBJ_TYPE must be declared".
    So is that means that I need to install/setup WebUtil on my env to get this Client_Ole2 to show up on Form Builder?
    Thanks for help, please advise.

    I found the way to add webutil.pll to attached Libraries.This is the wrong way. Open the webutil.olb in the Forms Builder. Then open your form you want to add the Object Library too. In the Object Libraries node of the Object Navigator - double-click on the WEBUTIL node. This will open the Object Library properties window. Click on and drag the WEBUTIL entry to the Object Groups node of your Form. You will be prompted "Do you want to copy the object or subclass it?" Click on the Subclass button.
    Subclassing is a Forms method that allows you to share a single source of an object/code between multiple Forms. It is Forms' way of implementing inheritance.
    I also copied them to /forms/java directory too.This is not necessary. I recommend you delete the files you copied to the /forms/java directory. Forms will find the libraries if the .../forms directory is listed in your FORMS_PATH environment variable (see the default.env file). The /DevSuiteHome/forms directory should be the first directory listed in the FORMS_PATH variable.
    Remove path?". So I selected Yes. But when I run form, I got FRM_40039: Cannot attach library webutil while opening form ......".The fact that you are getting this error indicates that the /forms directory is NOT part of the FORMS_PATH.
    If I choose No to keep the hard code path, then if I deploy the form to testing server or production server, it will become problem! Right? How to solve this?Double-check to ensure it is listed. The variable entry should look something like:
    FORMS_PATH=D:\DevSuiteHome_1\forms;<any other directories you want to be part of your path seperated by ";">Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Doc Save As and Trusted Function

    I have been reading over the forum and the adobe help files regarding this. I think I am close but since I need to get my IT department to assist in placing the js files where they have to go, I thought I might ask the forum if I am on the right track
    I still have to make sure the field values will not include an illegal characters. They wont be empty as the forms will be coming directly from our system -prefilled
    Currently these forms automatically email (although staff still have to hit the actual send button) when staff go to print the document.  The people who get these forms are just finding it a bit hard to keep up with the emails and have asked to just have the files save to a folder so they can look at when they have time
    This is what I have for my trust propagator function.  I assume this is the only js file I will need as it incoporates the trusted function?
    mySaveAs = app.trustPropagatorFunction(function(doc,path)
      app.beginPriv();
       doc.saveAs(path);
      app.endPriv(); })
    myTrustedSpecialTaskFunc = app.trustedFunction(function(doc,path)
      // Privileged and/or non-privileged code above
      app.beginPriv();
       mySaveAs(doc,path);
      app.endPriv();
      // Privileged and/or non-privileged code below });
    I got this code from the Adobe Help
    then I want to have this code in the Document Did Print area
    var name = this.getField("FormValues.accountNames_0").value
    var folio =this.getField("FormValues.folioNumber_0").value
    myTrustedSpecialTaskFunc(this, "/w/Public/AccountOpening/" + name + " " + folio,pdf);
    I have to read where to put the js file as I have seen some comments on the forum that where you place the js file has changed for those with Adobe X and Windows 7
    Would anyone be be able to let me know if I am on the right path before I get IT involved.  I suppose I could test the code on my own laptop to see if it would allow me to save the form.....
    Thank you

    Read this: The Acrobat Ninja: Acrobat 10.1.1 JavaScript changes
    You have to manually create the folders that aren't present, and they must be named correctly.
    It's a good idea to use the valueAsString property instead of the value property to get the field values, since you're using the results as strings. It probably won't make a difference here, but it's a good habit to get into. You also have a typo in that last line of code. It should be:
    myTrustedSpecialTaskFunc(this, "/w/Public/AccountOpening/" + name + " " + folio + ".pdf");
    It would be a good idea to make sure those field value aren't blank if there's a chance that they could be.
    Also, consider using a try/catch block for the doc.saveAs call, and look at the return value so you can give the users a more helpful error message than what the default will be if something goes wrong.
    If you need help with any of this, post again.

  • EJB 3.0 Inheritance problem

    I have to persist classes Cat, BullDog and StBernard:
    class Animal {
    private int animalId;
    private String name;
    private String dtype;
    class Dog extends Animal {
    private int dogId;
    private String furColor;
    class BullDog extends Dog {
    private int bullDogId;
    private int fightCount;
    class StBernard extends Dog {
    private int stbernardId;
    private int livesSaved;
    class Cat extends Animal {
    private int catId;
    private String preferredCatFood;
    }Planned inheritance strategy is joined table strategy. There is no problem mapping and persisting Cat and Dog tables into database, but I cannot find a way how to annotate StBernard and BullDog classes to persist them. Is it possible at all?

    do you know any official doc or reference where I can find statement, that such inheritance is not possible? i.e. only one level inheritance is allowed in JPA? Will check @SecondaryTable to see if it is helpful or not.
    @SecondaryTable This annotation is used to specify a secondary table for the annotated entity class. Specifying one or more secondary tables indicates that the data for the entity class is stored across multiple tables.@SecondaryTable is not for me :(
    Edited by: marekst on Feb 7, 2008 6:36 AM

Maybe you are looking for