Hibernate - Spring - problem with mapping (many-to-many)

Hello,
I want to map the following situation. I have a table called EDUCATION and a table called SCHOOLS. Between those tables I have an associative table called EDUCATION_SCHOOLS. The (usefull) fields:
EDUCATION:
id (long) - PK
name (varchar)
versionNr (long)
SCHOOLS:
id (long) - PK
name (varchar)
versionNr (long)
EDUCATION_SCHOOLS:
id (long) - PK
education_id (long) (FK to EDUCATION.id)
school_id (long) (FK to SCHOOLS.id)
name (varchar)
versionNr (long)
Their is a Unique Constraint between EDUCATION_SCHOOLS.education_id and EDUCATION_SCHOOLS.school_id.
What I want to be able to do:
EDUCATION: select, update, insert
SCHOOLS: select, update, insert
EDUCATION_SCHOOLS: select, update (only the non-FK fields), insert
I never want to delete anything in those tables. (and it's never ever going to be an option either)
Hibernate version:
Hibernate-Version: 3.0.5
Mapping documents:
Education:
<hibernate-mapping>
     <class name="##.Education" table="EDUCATION">
          <id name="id" column="ID" type="java.lang.Long">
               <generator class="sequence">
                    <param name="sequence">EDUCATION_SEQ</param>
               </generator>
          </id>
          <version name="versionNr" column="VERSIONNR" type="long"/>
          <property name="name" column="NAME" type="string" />
        <set name="SCHOOLS" table="EDUCATION_SCHOOLS">
            <key column="EDUCATION_ID" />
            <many-to-many class="##.Schools" column="SCHOOL_ID" lazy="false" />
        </set>
</hibernate-mapping>
Schools:
<hibernate-mapping>
     <class name="##.Schools" table="SCHOOLS">
          <id name="id" column="ID" type="java.lang.Long">
               <generator class="sequence">
                    <param name="sequence">SCHOOLS_SEQ</param>
               </generator>
          </id>
          <version name="versionNr" column="VERSIONNR" type="long"/>
          <property name="name" column="NAAM_NAME" type="string" />
        <set name="educations" table="EDUCATION_SCHOOLS" inverse="true" cascade="none">
            <key column="SCHOOL_ID" />
            <many-to-many class="##.Schools" column="SCHOOL_ID" lazy="proxy"/>
        </set>
</hibernate-mapping>
Education_schools:
<hibernate-mapping>
<class name="##.EducationSchools" table="EDUCATION_SCHOOLS">
           <id name="id" column="ID" type="java.lang.Long" unsaved-value="0">
               <generator class="sequence">
                    <param name="sequence">SEQ_EDUCATION_SCHOOLS</param>
               </generator>
          </id>
          <version name="versionNr" column="VERSIONNR" type="long" />
          <many-to-one name="education" class="##.Education" cascade="none" lazy="proxy"
                       column="EDUCATION_ID" not-null="true"/>
        <many-to-one name="schools" class="##.Schools" cascade="none" lazy="proxy"
                    column="SCHOOL_ID" not-null="true"/>  
</hibernate-mapping>   
Name and version of the database you are using:
Oracle XE 10g
I am able to:
EDUCATION: select, insert, update
SCHOOLS: select, insert, update
EDUCATION_SCHOOLS: select
Problems:
EDUCATION_SCHOOLS: when I try to insert, I sometimes get unique constraint violations. (when I should get them, thus I'm trying to insert something that already exists .. but how do I stop Hibernate from Inserting?)
EDUCATION_SCHOOLS: when I try to update, sometimes it works, but often I get:
23:03:55,484 [http-8081-1] ERROR be.vlaanderen.lne.vea.epb.ui.struts.EpbExceptionHandler - org.springframework.orm.hibernate3.HibernateOptimisticLockingFailureException: Object of class [##.EducationSchools] with identifier [null]: optimistic locking failed; nested exception is org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [##.EducationSchools#<null>]
ex.getMessage() Object of class [##.EducationSchools] with identifier [null]: optimistic locking failed; nested exception is org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [##.EducationSchools#<null>]
org.springframework.orm.hibernate3.HibernateOptimisticLockingFailureException: Object of class [##.EducationSchools] with identifier [null]: optimistic locking failed; nested exception is org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [##.EducationSchools#<null>]
Caused by: org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect):As you can see from the stacktrace I use Spring for the transactionManager: org.springframework.orm.hibernate3.HibernateTransactionManager in which I use e sessionFactory: org.springframework.orm.hibernate3.LocalSessionFactoryBean
In my DAO, I try to save with the regular this.getHibernateTemplate().saveOrUpdate that has always worked for me.
Another problem I have:
when i update "name" in EDUCATION, the records with that ID are delete from EDUCATION_SCHOOLS ...
As I am experiencing 3 different problems, I'm pretty sure something is wrong in the mapping files .. however I fail to find out what .. Any input would be greatly appreciated.
(I translated some class/table-names, that's what the ## cause)
Edited by: Bart_Blommaerts on Jul 29, 2008 11:53 PM

Thank you for your input.
When I try what you suggest, I still get the same error:
16:39:30,406 [http-8081-1] ERROR ###.EpbExceptionHandler - org.springframework.orm.hibernate3.HibernateOptimisticLockingFailureException: Object of class [###.EducationSchools] with identifier [2]: optimistic locking failed; nested exception is org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [###.EducationSchools#2]
ex.getMessage() Object of class [###.EducationSchools] with identifier [2]: optimistic locking failed; nested exception is org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [###.EducationSchools#2]
org.springframework.orm.hibernate3.HibernateOptimisticLockingFailureException: Object of class [###.EducationSchools] with identifier [2]: optimistic locking failed; nested exception is org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [###.EducationSchools#2]
Caused by: org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [###.EducationSchools#2]If you had to map the database tables, I'm trying to map, how would you do it?

Similar Messages

  • Problem with maps on e72

    Hi everyone
    I've got a problem with maps on my E72.
    I've seen advert that Nokia is going to let everyone use maps for free on selected models.
    I was going to buy Sat Nav for whole Europe as I travel a lot and I was going to change my old N95. I thought I could do both in one new phone. Checked all the available models and chose E72. It said it;s got GPS and you don't need to use your network and spend fortune on internet connection. Got it from eBay for £270.
    I installed Ovi Maps from internet and the first thing that surprised me was it had 'only' 7-8MB.
    I thought that something was wrong, maps for 72 countries couldn't be 8MB big.
    After some time I managed to set my e72 up. Put my Maps on and...
    It takes loads of time to find GPS connection, but the worst thing is if I type lets say Paris it doesn't find anything. Map has wholes, like suddenly the roads end and there's nothing there.
    My question is what am I doing wrong? Do I need to download something more? I didn't have any maps on my phone when I bought it. Where can I find them?
    If someone could help I'd appreciate it.
    Thanks a lot.

    I forgot to mention that when I choose a destination it keeps saying Calculating route all the time. I waited about 15 minutesand it didn't calculate anything.

  • Problem with maps in Mavericks on iMac

    I have a problem with my Maps on Mavericks.
    I can open it just fine, no crash or whatever but the map itself just won't load, whatever mode it is on. Here is the screenshot of my Maps:
    As you can see, it just stays blank all the time.
    I'm  also running Parallels 9 and don't know if that has something to do with problem.

    Spent days trying various fixes, but this is the one that did it for me. Thanks!
    livetowin
    Re: Problem with maps in Mavericks on iMac 
    Dec 8, 2013 7:14 PM (in response to robin1943)
    Try this
    Since my date and time were incorrect and imessage was not working as well, I tried this
    1. Go to system preferences and click date and time
    2. Select date and time tab
    3. Uncheck "set date and time automatically" and manually enter the correct time
    4. Go to time zone tab and uncheck the box there too
    5. Go back to date and time tab and now check the box "set date and time automatically"
    6. Then check the box in time zone as well
    Now open maps and see if it works!

  • Problems with mapping after bundling messages into one XML-file

    Hi all,
    Case 1: one DebMas IDoc ==> XI ==> one XML-file : no problems with mapping.
    Case 2: several DebMas IDoc's ==> XI ==> one XML-file : problems with mapping.
    Explanation:
    Incoming DebMas IDoc's:
    Businesspartner 1 : no Customer Master Partner Functions (E1KNVPM).
    Businesspartner 2 : Customer Master Partner Functions (E1KNVPM).
    Businesspartner 3 : Customer Master Partner Functions (E1KNVPM).
    Businesspartner 4 : Customer Master Partner Functions (E1KNVPM).
    After bundling into one XML-file:
    Businesspartner 1 : no Customer Master Partner Functions (E1KNVPM).
    Businesspartner 2 : no Customer Master Partner Functions (E1KNVPM) !!!!
    Businesspartner 3 : Customer Master Partner Functions of Bp 2 (E1KNVPM) !!!!.
    Businesspartner 4 : Customer Master Partner Functions of Bp 3 (E1KNVPM) !!!!.
    All the payloads of the IDoc's are correct.
    In the message mapping we use a Container for the Partner Functions (shown as below)
    Is this a serious bug in the mapping of SAP XI ?
    Does anyone knows how to solve this serious problem.
    E1KNVVM -
    > Partner_Container
    E1KNVPM -
    > Partner
       PARVW -
    > ParnerRole
       KUNN2   -
    > PartnerNumber
    Regards,
    Theo Pijlman

    Hi,
    Example:
    Input idoc has field F1 with occurence 0..unbnd
    My input values for field F1 is
    1
    none
    2
    3
    Say, I have a mapping, F1---->TargetF1
    In the target only 3 TargetF1s will be created for the values 1,2,3 and nothing will be created for the field F1 with no value.
    To overcome this, use collapse contexts.
    F1->collapsecontexts>TargetF1
    This way, the TargetF1 fields created will have the following values:
    1
    blank
    2
    3
    Collapse contexts makes sure that a target is created, even if there is a context change specified at the source.
    Hope this is clear.
    Regards,
    Smitha.

  • Problem with mapping the Entity beans onto database tables

    Hi,
    I got a problem with mapping the Entity beans onto database tables. Here are what I did:
    First Step:
    asant capture-schema
    Second Step:
    capture-schema -driver com.pointbase.jdbc.jdbcUniversalDriver -dburl jdbc:pointbase:server://localhost/sun-appserv-samples -username pbPublic -password pbpublic -table APPLICANT -table APPLICANTSKILL -table CUSTOMER -table LOCATION -table job -table JOBSKILL -table SKILL -out build/agency.dbschema
    The first step was fine. But, in the second step, I got the error message as follow:
    using dburl:jdbc:pointbase:server://localhost/sun-appserv-samples
    using username:pbPublic
    using password:pbpublic
    using driver:com.pointbase.jdbc.jdbcUniversalDriver
    using schemaname:null
    using output file:build/agency.dbschema
    JDO71100: Failed to find a class. Verify that the class is available on your CLASSPATH
    java.lang.ClassNotFoundException: com.pointbase.jdbc.jdbcUniversalDriver
    at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:141)
    at com.sun.forte4j.modules.dbmodel.jdbcimpl.ConnectionProvider.<init>(Co
    nnectionProvider.java:38)
    at com.sun.jdo.api.persistence.mapping.ejb.CaptureSchema.main(CaptureSch
    ema.java:130)
    at com.sun.jdo.spi.persistence.support.ejb.util.CaptureSchemaWrapper.mai
    n(CaptureSchemaWrapper.java:29)
    Thanks for your help!

    You need to add the pbclient.jar or some similar name like that, in the CalssPath.

  • I have I.O.S. 6.0.1 and i live in Georgia, Tbilisi. I have got the problem with maps. It does not get directions. Per exemple it was working in italy but in my cuntry it does not work. Could u explain me what can i do to make my maps work in Georgia?

    I have I.O.S. 6.0.1 and i live in Georgia, Tbilisi. I have got the problem with maps. It does not get directions. Per exemple it was working in italy but in my cuntry it does not work. Could u explain me what can i do to make my maps work in Georgia?
    Thank u

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"

  • Problem with Map Loader 3.0.28.0 and 5800XM

    Hi all, i have a problem with maps upload to my mobile, whenever i start Map Loader i see a message: You have connected at least one phone (Soft) without a Maps drive. Either you are using an old Map version - .. - or have never started your Maps application... I use USB PC-Suite mode, I have had run Maps application on my phone before i try to connect Map Loader, the Maps version installed on the phone is v3.03 10wk01 b05 - so that's obviously not a reason!! Now i can't install new maps anymore - i just can click this error window away and choose some maps, they would be downloaded from the Internet, but  they would not appear on my mobile! With a previous version of the map loader (don't know the version number any more, and previous maps version on the phone, i have no problem)            I also need a link to Maps Updater due the Nokia site malfunction - couldn't find this software anymore.... sorry my poor english :-)
    Nokia users - the biggest beta test community of the world!

    Problem solved! The STUPID software searchs for ALL mass storage devices attached to your computer, so I got error messages all the time until I unplug my USB Hard drive.    
    Thank you Nokia guys, your were great help by solving this problem   .....  
    By the way,  the STUPID software doesn't shows the maps that would be all ready installed on the phone, and you couldn't say that the upload of the maps was really successful  until you waisting your time watching the progress bar to the end.
      I wouldn't be suprise if you can install the same map twice so it takes the twice space....
    regards, and sorry for my poor english
    Nokia users - the biggest beta test community of the world!

  • A Problem with Maps in OS 6 (New iPhone too)

    I read on abc.com that there is a big problem with the Maps app on the iPhone 5.  Not sure if it is in all devices running OS 6 but I would think so.  has anybody heard about this?  Anybody heard if a remedy is on the way?
    I am also wondering if people are sleeping out at the Apple Stores? I do not have a TV so I can't watch the local news.  I called the local Apple Store and this afternoon the Apple rep who answered the phone said if you want one you better come and get in line.  I askd if they plan to have a workshop (free) for the new iPhone 5 and he said NO.  I doubt that.

    NObodE wrote:
    I read on abc.com that there is a big problem with the Maps app on the iPhone 5.  Not sure if it is in all devices running OS 6 but I would think so.  has anybody heard about this?  Anybody heard if a remedy is on the way?
    No, no one has heard anything.  Seriously, have you even tried using the Search Discussions box at the upper right of this page? Or just scrolled down the page and looked at the threads about the Maps app?

  • Problems with Mapping Tool in Tutorial

    Hello,
    I am having problems with section 2.3 in the tutorial, even with the
    completed solutions of the tutorial. In particular, I cannot add Rabbit
    and Snake to the petshop. I get the following errors:
    C:\Apps\kodo-jdo-3.1.2\tutorial\solutions>javac *.java
    C:\Apps\kodo-jdo-3.1.2\tutorial\solutions>jdoc package.jdo
    578 INFO [main] kodo.Tool - JDO enhancer running on type "class
    tutorial.Animal".
    907 INFO [main] kodo.Tool - The class is already persistence capable -
    no enhancement performed.
    907 INFO [main] kodo.Tool - JDO enhancer running on type "class
    tutorial.Dog".
    907 INFO [main] kodo.Tool - The class is already persistence capable -
    no enhancement performed.
    907 INFO [main] kodo.Tool - JDO enhancer running on type "class
    tutorial.Rabbit".
    985 WARN [main] kodo.Enhance - Type "class tutorial.Rabbit" has no
    metadata; enhancing as persistence aware. If you intended for "class
    tutorial.Rabbit" to be persistence-capable, then this means that Kodo
    could not find any JDO metadata for "class tutorial.Rabbit". This can
    happen if the directory containing your metadata is not in your CLASSPATH,
    or if your JDO metadata files are not named in accordance with the JDO
    specification. See the Metadata Placement section of the Java Data Objects
    documentation distributed with Kodo JDO for more information.
    985 INFO [main] kodo.Tool - The class does not have JDO metadata -
    enhanced as persistence-aware.
    1063 INFO [main] kodo.Tool - JDO enhancer running on type "class
    tutorial.Snake".
    1094 WARN [main] kodo.Enhance - Type "class tutorial.Snake" has no
    metadata; enhancing as persistence aware. If you intended for "class
    tutorial.Snake" to be persistence-capable, then this means that Kodo could
    not find any JDO metadata for "class tutorial.Snake". This can happen if
    the directory containing your metadata is not in your CLASSPATH, or if
    your JDO metadata files are not named in accordance with the JDO
    specification. See the Metadata Placement section of the Java Data Objects
    do
    cumentation distributed with Kodo JDO for more information.
    1094 INFO [main] kodo.Tool - The class does not have JDO metadata -
    enhanced as persistence-aware.
    C:\Apps\kodo-jdo-3.1.2\tutorial\solutions>mappingtool -action refresh
    package.jdo
    3812 INFO [main] kodo.Tool - Mapping tool running on type "class
    tutorial.Animal" with action "refresh".
    4047 WARN [main] kodo.MetaData - There has been a change to the
    definition of "tutorial.Animal" or its schema since it was last mapped, or
    the mapping you defined is invalid: "The table "ANIMAL" specified in the
    mapping for type "tutorial.Animal" does not exist."
    4062 WARN [main] kodo.MetaData - There has been a change to the
    definition of "tutorial.Animal.<version-indicator>" or its schema since it
    was last mapped, or the mapping you defined is invalid: "The "column"
    attribute/extension for the version indicator on type
    "tutorial.Animal.<version-indicator>" is missing or names a column
    "JDOVERSION" that does not exist."
    4062 WARN [main] kodo.MetaData - There has been a change to the
    definition of "tutorial.Animal.<class-indicator>" or its schema since it
    was last mapped, or the mapping you defined is invalid: "The
    "class-column" attribute/extension for the class indicator on type
    "tutorial.Animal.<class-indicator>" is missing or names a column that does
    not exist."
    4062 WARN [main] kodo.MetaData - There has been a change to the
    definition of "tutorial.Animal.name" or its schema since it was last
    mapped, or the mapping you defined is invalid: "The "column"
    attribute/extension for field "tutorial.Animal.name" is missing or names a
    column "NAME0" in table "ANIMAL" that does not exist."
    4062 WARN [main] kodo.MetaData - There has been a change to the
    definition of "tutorial.Animal.price" or its schema since it was last
    mapped, or the mapping you defined is invalid: "The "column"
    attribute/extension for field "tutorial.Animal.price" is missing or names
    a column "PRICE" in table "ANIMAL" that does not exist."
    4078 INFO [main] kodo.Tool - Mapping tool running on type "class
    tutorial.Dog" with action "refresh".
    4078 INFO [main] kodo.Tool - Mapping tool running on type "class
    tutorial.Rabbit" with action "refresh".
    Exception in thread "main" kodo.meta.JDOMetaDataNotFoundException: No JDO
    metadata was found for type "class tutorial.Rabbit". Ensure that your JDO
    metadata files are accessible via resource lookup at runtime (typically
    this means they must be in your CLASSPATH), and that they are located in
    one of the JDO standard locations.
    at
    kodo.meta.JDOMetaDataRepositoryImpl.getMetaData(JDOMetaDataRepositoryImpl.java:131)
    at
    kodo.meta.DelegatingJDOMetaDataRepository.getMetaData(DelegatingJDOMetaDataRepository.java:123)
    at
    kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:161)
    at kodo.jdbc.meta.MappingTool.refresh(MappingTool.java:576)
    at kodo.jdbc.meta.MappingTool.run(MappingTool.java:909)
    at kodo.jdbc.meta.MappingTool.run(MappingTool.java:850)
    at kodo.jdbc.meta.MappingTool.main(MappingTool.java:783)
    C:\Apps\kodo-jdo-3.1.2\tutorial\solutions>

    It sounds like your CLASSPATH is not set up correctly. Did you follow
    the instructions in the README for setting up your environment?

  • Problems with Maps 2.0, favorites look-up and adre...

    I have the latest version of Nokia Maps (v2.0 wk26 b02) installed on my N82 some days ago. But now i have problems with adress search. I often notice that adresses that i try to search for, returns no results. This problem appears even if i can see the see the adress on the map, and even if i am connected to a network.
    And if i sometimes find an adress, and try to the function "show location on map", nothing happens...
    This also apply to some of the favorites that i saved earlier. For instance i have saved several places where my family live, but only one of two them can is now working as they did before. When i try the same function "show location on map", nothing happens...
    I even try to save new locations but the problem is still there. When i try to show the locations on map nothing happens.
    Is it only me that have this problem? Is there anyone that have an solution to this problem, or is it a bug that comes with the latest version og Nokia Maps?
    Solved!
    Go to Solution.

    Hi again.
    After a long time with trying and failing with solving this problem, and installed the latest maps 2.0 application all over again, and even installing the 1.0 application nothing helped.
    I even updated the firmware on the phone, but nothing helped. Nothing helped at all.
    But suddenly, with all these mapsproblems something else happened to. You know the multimediabutton on the front, (the one that is a little higher than the others) suddenly wouldn't work at all. If i pushed it the dislplay only "blinked" for a second, and then returned to the normal display again.
    So to solve all problems i decided to use the *#7370# function to reset the phone completely (after i backed up my data of course). Suddenly everything is working again.
    After this i upgraded to the maps 2.0 latest, and installed all my applicatons again. I can now search adresses again and see them on the map, i can save favourites and view them on the map....
    And now my multimediabutton is back to normal again aswell.
    So the problem is now solved :-)

  • I have a very bad problem with java I try many solution but all the solution failed

    Hello friends,
    My system  10.8.3 Macbook pro
    I try many solution in the 
    Hello friends,
    My system  10.8.3 Macbook Pro, I use Safari 6.0.3
    Java is not working.
    I try many solution in the  internet but nothing work with me , And I feel very sad
    One of the famous solution I try in this link: http://support.apple.com/kb/HT5559
      I download Java OS x 2013-002 and Java 7.17
    after that i do what is written here : http://support.apple.com/kb/HT5559 Also failed.
    Sometime I think to sell my new Macbook Pro because of this problem
    I hope that any one can help me ?
    Thank you
    Soso

    I check what java I have by this way: https://service.parachat.com/knowledgebase/211/How-do-I-check-which-Java-version -is-installed-on-my-Mac.html
    java version "1.6.0_43"
    Java(TM) SE Runtime Environment (build 1.6.0_43-b01-447-11M4203)
    Java HotSpot(TM) 64-Bit Server VM (build 20.14-b01-447, mixed mode)
    sos-macbook-pro:~ so$

  • Problems with memory when bringing many rows

    I am developing a requirement where i have to generate records of affiliates and secures. Both of them have right and wrong records, so i have four ViewObjects.
    In my page I have a panelTabbed with two showDetailItem, one for affiliates and one for secures. Inside a showDetailItem i have two panelBox,one for right records and one for wrong records. The four ViewObjects are tunned setting the range size to 25.
    The problem is when i click from one showDetailItem to another it query again and memory lows unti it dies. For secures i am bringing 940000 right records and 280000 wrong records. For affiliates about 200000 for both.
    So how can i fixed this?. I am thinking of using a iterator instead of table and make pagination.

    HI,
    In VO set tuning
    In Batches of --> 101
    Range Size --> 100
    See following will usefull
    Re: Performance tuning for ADF Applications
    VO Tuning Confusion or Misunderstood.

  • Recording problems with ipod nano - too many voices reading audiobook

    I have tried listening to two audiobookks on my ipod nano (6G) but the reader's voice  is subject to an identical part-second later echo which makes it all but impossible to understand what he is saying - any suggestions as to the cause of this fault and (hopefully) how to remedy it - thanks,        Peter

    "I'm posting this message hoping that an Apple employee will read it."
    Unlikely.
    Use this form.
    iPod Feedback.

  • Problems with Mapping / ID

    Hello,
    i am new with RoboHelp 8 HTML. I make the output via layout "webhelp".
    I want to solve the following problem:
    Is it possible to configurate the layout files to get this situation, here an example:
    I have one site "index.htm", then to other sites "site1.htm" and "site2.htm. Now i want to have ankers on this both sites,
    so when i open the index.htm like this "index.htm#anker2 that this point will direct be shown.
    I have tried today many configurations, for example, testing with "RoboHelp_CSH.js", but i was not able start the site
    with directly shown the anker.
    This is how the file "Test.ali" looks:
    This is how the file "WidgetMax.h" looks:
    #define anker1 1 #define anker2 2 
    Can anybody please tell me what steps are necessesary to solve this problem? Is it general possible?
    Thanks for any help!
    Nice day!

    Hello,
    thanks for your answer. I have read this article more then twice, but unfortunately it didn' t work. I will try to describe my problem more exactly:
    We will start the htmlHelp in our application with "F1". In our applcation is an ID given (for example 10).
    Now i want to open the help site at this position where the "10" is mapped with!
    This part of the article is helpful, but it doesn' t work:
    The basics are:
    In the web page from which you want to call the help topic, add the following to the head section
         <script type="text/javascript" language=JavaScript1.2 src="context-WebHelp/RoboHelp_CSH.js">
       If the help is being called from an application, your developers will need to implement a similar call.
    In the body, your link will look like this
         <A HREF='javascript:RH_ShowHelp(0, "context-WebHelp/startpage.htm>Mainwindow", HH_HELP_CONTEXT, 10)'>
    Our application is not a web page, so where we have to add this
    <script type="text/javascript" language=JavaScript1.2 src="context-WebHelp/RoboHelp_CSH.js">
    and where this? (I think this has to be the call from our application)
        <A HREF='javascript:RH_ShowHelp(0, "context-WebHelp/startpage.htm>Mainwindow", HH_HELP_CONTEXT, 10)'>
    Thanks for any answers!
    Michi

  • Problems with Mapping Input Parameter

    Hi everybody,
    just another question. I have a Mapping with an Mapping Input Parameter. If i provide a Parameter with an prefixed 0 e.g.: 01234 the output of this is 1234.
    How can i manage this that the output of the Input Parameter ist 01234 and not like now 1234?
    Many thanks in advance.
    Greetings

    The Mapping Input Parameter is of type varchar2 and it still gives 1234. The Problem is i have to provide the whole input parameter for logging proposes. I managed this now by building a workflow an provide the mapping input parameters to new variables. Now the Input 01234 gives 01234....:-)
    Does anybody know another solution for this problem?
    Greetings

Maybe you are looking for