CF/Flex App  Wizard - Detail Query  - cols selected multiple times

Dragging a "many" table for the master into the detail work
area causes its columns to be selected multiple times - the whole
column set is repeated 2 to 4 times. Oracle db, all the tables I
tried. It's a pain to go into the generated code and remove all the
duplicates. What follows then is "Branch target offset too large
for short" at run time - I take it the generated code is too
big?

Dragging a "many" table for the master into the detail work
area causes its columns to be selected multiple times - the whole
column set is repeated 2 to 4 times. Oracle db, all the tables I
tried. It's a pain to go into the generated code and remove all the
duplicates. What follows then is "Branch target offset too large
for short" at run time - I take it the generated code is too
big?

Similar Messages

  • Download error under apps. After following download steps multiple times still showing error message.

    Download error under apps. After following download steps multiple times still showing error message.

    Hi There,
    Kindly try the below mentioned links.
    Creative Cloud Help | Download Error in Apps tab of Creative Cloud Desktop Application
    Creative Cloud - Download error - stubborn error
    Thanks,
    Atul Saini

  • CF/Flex Application Wizard Details Page

    Hi,
    Not sure if this is possible (seems like it should be). I
    have the following data model in SQL Server (2005):
    table name (relevant columns)
    person (first name, last name)
    member (member number)*
    contact (email)*
    location (state)*
    Person is the base object/table and the other three tables
    have foreign keys connecting them to the person table (all have a
    personId column).
    I setup a master page, no problem. I can grab the person's
    first and last name, member number, email and state and display
    them on the member-master page.
    The issue comes when I go to create a member details page. I
    can step through and create the necessary form fields from the
    tables (connecting them all via their common personId column). When
    I go to save the detail's page details, Eclipse (v3.2.x) crashes on
    me. Every time. However, if I only create a form for the details
    page with two tables (say member and person data), I can create the
    details page and use it without any issues.
    To get around this seeming two-table limitation, I edited the
    Adobe/CF generated content to manually add the beans, DAOs,
    gateways and AS files for the other tables. Doing this does create
    the desired details page, however, Flex and CF are REALLY slow to
    grab/return the requested data to the respective form fields (and
    there is not that much to grab in any of these tables).
    I'd like to know if this is just how I have to go about it.
    Does the CF/Flex Application Wizard have a limit on how many tables
    can be joined in a details page?
    I have a project with a much more complex data model and
    would love to generate a quick application for my client to check
    out and I do not know if I've encountered a limit of the
    application or if I am doing something wrong in the Query Builder
    itself?
    Also, any thoughts on why Flex and CF would be so slow to
    return the data when I manually added the other tables to the
    details page form? I'm on an intra-office network, connecting to a
    computer via an ethernet router and the sample DB only has 2000
    records in it...all with simple text and date columns?
    Sorry for the long post and thanks, very much, in advance for
    any thoughts or advice.
    Best,
    Craig

    Never mind, I figured it out.
    I'm Using IIS
    I needed to go look at the properties.
    On the web site tab, the TCP port was set as 80.
    In FlexBuilder Window > Preferences > Cold Fusion >
    RDS Configuration
    Select localhost > The default port number added there was
    8500
    Once I changed that to 80 and clicked on test connection, all
    was hunkey dorry

  • My phone app freezes and message app crashes. I tried restarting multiple times and the problem persists. Everytime i go to the phone app and press on a contact to call it just freezes up and does nothing. Does anyone know how to fix this problem?

    My phone app freezes and when i press on contact either it freezes or does nothing. Anyone know how to fix this problem? Also messaging app crashes. ANOTHER NEW PROBLEM: I can't receive calls either.

    Try to reset the phone by holding the sleep and home button for about 10sec, until the Apple logo comes back again. You will not lose any data by resetting, but it can cure some glitches.
    If this does not help, setting it up as new device would be the next step:
    How to erase your iOS device and then set it up as a new device or restore it from backups

  • Why can I STILL not send/receive MMS after trying every app, deleting, uninstalling, and resetting phone MULTIPLE times?

    I've tried absolutely EVERY POSSIBLE suggested fix and nothing.  I've had my phone since February, and it worked up until about 3 weeks ago.  My phone hasn't done any updates that I'm aware of, and I've checked manually for updates.  WHY???

    I've been having this photo/multimedia message nightmare for a week now, too. 
    Friends will share pictures and none will come through as they did before.  For example, just this morning (Sunday, May 25, 2014) a friend sent a message with a picture attached. I quickly got a "download" bubble in my message interface.  These bubbles never showed up until a week ago.  I clicked on the bubble, quickly a "downloading" bubble came up, and then (alas!)  a message that the "download expired" appeared. 
    I tried a tactic:  I sent a message to myself to see if my text messaging was working: this was just fine.  Then I attempted to send a message with an image attached.
    The message did not send at all.
    I got a message saying " sorry, you cannot attach this image to this message." What is going on????
    I only had the phone for a month now and don't understand what (if anything) is different in my settings. Help!

  • Unable to filter the data for multiple time selections by dimensions

    Hi to all,
    I am new in MDX, i have a problem with my MDX query.
    Calculated Member Logic:
    SUM((OPENINGPERIOD([Date].[YQMD].[Year],[Date].[YQMD].[Month].&[2010-12-01T00:00:00]):[Date].[YQMD].Currentmember),[Measures].[Paid Amt])
    Mdx Logic EX:
    With Member [MEASURES].[Received_Amount]
    AS
    SUM((OPENINGPERIOD([Date].[YQMD].[Year],[Date].[YQMD].[Month].&[2010-12-01T00:00:00]):[Date].[YQMD].Currentmember)
    ,[Measures].[Paid Amt])
    SELECT {[MEASURES].[Received_Amount]} On Columns
    ,[Date].[YQMD].[Year].members On Rows
    From [Financial]
    If i select multiple time periods in Rows, the query working fine.
    but if select multiple periods in where clause it is not responding.
    With Member [MEASURES].[Received_Amount]
    AS
    SUM((OPENINGPERIOD([Date].[YQMD].[Year],[Date].[YQMD].[Month].&[2010-12-01T00:00:00]):[Date].[YQMD].Currentmember)
    ,[Measures].[Paid Amt])
    SELECT {[MEASURES].[Received_Amount]} On Columns
    ,[Speciality].[Specialty Name].[Specialty Name].members On Rows
    From [Financial]
    Where {[Date].[YQMD].[Year].&[2012-01-01T00:00:00],[Date].[YQMD].[Year].&[2013-01-01T00:00:00]}
    Note:
    Each of them is considered from the minimum date in the database to the selected time.
    And also the data has to be filtered with respect to each drill down dimension.
    If select multiple time periods the same formula has to be applied with respect to the dimensions.
    Kindly help me to get out of this problem
    Best Regards,
    Nagendra

    Hi David,
    Thanks for your response.
    I have a measure, i have to get received_amount in the database from the database starting period to my selection period. Later i have to check by dimensions using same measure. if i select any one period by dimension it's coming, but if i select multiple
    periods in filter level by dimensions it's showing no records.
    For Ex: 
    I have four years data in my database (2010-2013).
    In 2010
    Bill_Amt
    Bill_Date  
    Specialty received_amount
    1000
    10/01/2010 4
    600
    2000
    04/08/2010 2
    1000
    In 2013
    Bill_Amt
    Bill_Date Specialty
    received_amount
    1500
    22/02/2013 2
    1200
    2000
    14/03/2013 1
    800
    In the above scenario,
    By Period:
    if i go by period i should get,  
    Jan'13  ---> 1600
    Feb'13  ---> 2800
    Mar'13  ---> 3600
    Specialty By Single Period:
    If i select Jan'13 by specialty
    Specialty
     received_amount
    2 1000
    4 600
    If i select Feb'13 by specialty
    Specialty
     received_amount
    2 2200
    4 600
    If i select Mar'13 by specialty
    Specialty
     received_amount
    1 800
    2 2200
    4 600
    Specialty By Multiple selection Periods:
    The result should be sum of the individual selection periods by specialty as follows,
    If i select Jan'13 & Feb'13 by specialty
    Specialty
     received_amount
    2 3200
    4 1200
    If i select Jan'13 , Feb'13 & Mar'13 by specialty
    Specialty
     received_amount
    1 800
    2 5400
    4 1800
    Regards,
    Nagendra

  • Query executing multiple times

    All,
    This question has been come up quite often in the OTN forum and i have not managed to get the answer. The issue is when i enable the logs i can see query getting fired multiple times :
    <TracingViewObjectSqlQueryExecution> <logQueryStatementAndBindParameters> ----[Exec query for VO=Kpi, RS=<Default>]----
    <TracingViewObjectSqlQueryExecution> <logQueryStatementAndBindParameters> ----[Exec COUNT query for VO=Kpi]----
    <TracingViewObjectSqlQueryExecution> <logQueryStatementAndBindParameters> VODef =com.xxx.model.uiView.KpiVO
    <TracingViewObjectSqlQueryExecution> <logQueryStatementAndBindParameters> SELECT
    kpi.kpi,
    kpi.kpi_desc,
    kpi.target,
    kpi_pkg.get_kpi_main (kpi.kpi, kpi.sale_type, :bSelectedSalesExecutiveId, :bSelectedBranchId ,:bOperatingUnitId, :bUserRole, :bPersonId, :bKpiRefresh) achieved,
    kpi.percentage,
    kpi.sale_type
    FROM    tableName kpi   
    WHERE  kpi.sale_type = NVL (:bSaleType, kpi.sale_type)
    ORDER BY tag
    <TracingViewObjectSqlQueryExecution> <logQueryStatementAndBindParameters> BindVars:(bUserRole=SE,bOperatingUnitId=81,bPersonId=31458,bSaleType=RETAIL,bSelectedBranchId=224,bSelectedSalesExecutiveId=31458,bKpiRefresh=Y)
    <TracingViewObjectSqlQueryExecution> <getQueryHitCount> ***** Query Hit Count = 6 *****
    <TracingViewObjectSqlQueryExecution> <logQueryStatementAndBindParameters> VODef =com.xxx.model.uiView.KpiVO
    <TracingViewObjectSqlQueryExecution> <logQueryStatementAndBindParameters> SELECT
    kpi.kpi,
    kpi.kpi_desc,
    kpi.target,
    kpi_pkg.get_kpi_main (kpi.kpi, kpi.sale_type, :bSelectedSalesExecutiveId, :bSelectedBranchId ,:bOperatingUnitId, :bUserRole, :bPersonId, :bKpiRefresh) achieved,
    kpi.percentage,
    kpi.sale_type
    FROM    tableName kpi   
    WHERE  kpi.sale_type = NVL (:bSaleType, kpi.sale_type)
    ORDER BY tag
    <TracingViewObjectSqlQueryExecution> <logQueryStatementAndBindParameters> BindVars:(bUserRole=SE,bOperatingUnitId=81,bPersonId=31458,bSaleType=RETAIL,bSelectedBranchId=224,bSelectedSalesExecutiveId=31458,bKpiRefresh=Y)This is one such case. These repetitive nature of the queries getting executed is making my application slow. On the logs i can see the first time query getting executed then waiting for it to finish then the same for the second time. Can any one give some inputs on this ?
    thnks
    Jdev 11.1.1.5

    thnks Frank for your reply.
    Ideally this query is supposed to run when the page is loaded however it has a complex calculation which takes 28 secs to complete. In order to load the page fast we dragged and dropped the collection as a table and added a button which executes the query. So the query gets executed on page load with a condition set as false so that no data is fetched - to speed the page load. However when we press the Refresh button the query gets re executed but as you can see 2 times. I can see the same effect on a nos of tables.

  • Output CFC query to Flex app

    I have a CFC which simply calls the DB and returns the
    results to the Flex app.
    CFC:
    <cfcomponent>
    <cffunction name="runQuery" output="false"
    access="public" returntype="Query">
    <cfquery name="qry_login" datasource="EWPROJ">
    SELECT *
    FROM ROBERTTEST
    </cfquery>
    <cfreturn qry_login>
    </cffunction>
    </cfcomponent>
    Simple enough.......
    Here is my Flex file...
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" creationComplete="initApp();">
    <mx:Script>
    <![CDATA[
    import mx.rpc.events.ResultEvent;
    import mx.collections.ArrayCollection;
    [Bindable]
    private var qry_result:ArrayCollection;
    private function initApp():void //first thing to load
    callCFC.runQuery()
    private function resultHandler(event:ResultEvent):void
    var qry_result:ArrayCollection = new ArrayCollection();
    //New Array Object called p1
    qry_result.source=event.result as Array;
    trace(qry_result);
    ]]>
    </mx:Script>
    <mx:RemoteObject id="callCFC" destination="ColdFusion"
    source="CFIDE.samples.FlexToCFC.CFC.myCFC"
    result="resultHandler(event)"
    showBusyCursor="true" />
    </mx:Application>
    my problem is within the [resultHandler] I want to simply
    create a variable that will contain my results of the object I
    passed so I can trace it to the screen.... I know that the object
    is returning correctly, by tracing result.event. What am I doing
    wrong here, cause it shows nothing.
    I'm guessing that my problem is that I am not putting the
    object into some sort of array or string where I can access it...
    How do I do this correctly? Thanks everyone.

    Ahhh,,, yes, I appologize. I will make better headings next
    time.. Okay, I tried your solution and it printed out what I wanted
    and more. SWEET!! Now I think all I need to do is put it in an
    associated array so I can reference things better. Not sure yet,
    but I'll play with it. Thanks again... Genius! BTW, here is the
    output when I ran it:
    mx.collections::ArrayCollection)#0
    filterFunction = (null)
    length = 6
    list = (mx.collections::ArrayList)#1
    length = 6
    source = (Array)#2
    [0] (Object)#3
    NAME = "Rob Capilli"
    TYPE = "Male"
    [1] (Object)#4
    NAME = "Meatball"
    TYPE = "Cat"
    [2] (Object)#5
    NAME = "Sanket"
    TYPE = "male"
    [3] (Object)#6
    NAME = "Sarah"
    TYPE = "Female"
    [4] (Object)#7
    NAME = "1"
    TYPE = "1"
    [5] (Object)#8
    NAME = ""
    TYPE = ""
    uid = "21B5BECE-6A2E-6940-9543-E830E43DAAFA"
    sort = (null)
    source = (Array)#2

  • Passing YTD selection from a main query to a detailed query using RRI

    Hi,
    We have created two queries: one main query on an infocube for aggregated data, one detailed query on the feeding DSO for data at the level of sales document items.
    Both queries show monthly and YTD (year-to-date) actual cost figures.
    The user enters for instance the month of 05.2005 on the main query in a variable ZP_MONTH.
    A user exit variable ZS_YTD is calculated so that the interval 01.2005 - 05.2005 is stored in ZS_YTD.
    Revenues in the month are displayed in one column.
    Revenues in the YTD period are displayed in another column.
    Assume the data is displayed by document types.
    Then the user should select the document type and perform a jump target (Goto) to the detailed query to see which sales document items are contributing to the total revenues behind the document type.
    We have defined a ZS_YTD_2 variable on the detailed query.  It is used in the field assignments in the RSBBS transaction to receive the 0CALMONTH selection (in our case 01.2005 - 05.2005).  Then on the detailed query, we defined another userexit variable to capture the selected month based on ZS_YTD_2.
    Our issue is that when the user goes from the main query to the detailed query, the variable screen of the detailed query is being displayed with the variable ZS_YTD_2 open and the user can even change the selection there.
    Is it possible to remove the display of this intermediate variable screen?
    Thanks.

    Well.  If you unflag the variable for ready for input on the detailed query, then it is not possible for that variable to receive the period selected on the main query.  Even worse, the query crashes with the message that the variable is not correctly defined.
    Any other suggestion?
    Thanks.

  • Flex/cold fusion wizard & Visual Query builder has a problem

    has anybody tried the cold fusion / flex application wizard in flex 3?
    to get there follow these menu choices:
    file     new     other     cold fusion wizards     coldfusion / flex application wizard
    I previously installed cf8 and the rds query viewer works fine.
    i simply choose from the following menus:
    window     other views...     Cold Fusion     RDS dataview
    i was initially prompted for the rds password which i entered.
    in the RDS Dataview, I can see the tables, columns, and data for all my existing datasources.
    Unfortunately, when I use the COld Fusion/Flex application wizard,
    I get to the page layout and design screen, add a page with the name artists, choose page type master,  and click the Edit master page button.
    Nothing happens when I click the Edit Master Page button.  I followed the cf/flex tutorial exactly but there is no query builder.
    I dont know if this is related but in the RDS query viewer, the Visual Query BUilder doesn't work.
    I think this may be the problem (the visual query builder has a problem)
    Unfortunately, how do I fix this problem

    already found the answer
    flex has to be run as administrator if using WIndows Vista
    simply shut down flex, right click the startup icon, choose run as administrator, and the visual query builder runs fine.
    Dont know why this occurs because you are always prompted for the rds password.
    anyway, problem solved.
    http://forums.adobe.com/message/228385#228385

  • Cold Fusion/Flex Application Wizard crippled in Trial Version?

    Hi,
    I am using the 60 Day trial version of Flex Builder
    3/Eclipse.
    I wanted to try out the much vaunted Cold Fusion/Flex
    Application Wizard, mainly because I could not get my head around
    access from Flex to an existing CFC from the documentation alone.
    So, I followed the directions:
    Click the plus sign (+).
    In the Name: text box, enter the name for the page.
    Select the page type (master, detail, or master/detail).
    Click Edit Master Form or Edit Detail Form, depending on the
    type of form you are creating.
    The Visual Query Builder starts.
    But for me, when I click on 'Edit Master Form' the Visual
    Query Builder does not start.
    Now I have checked and confirmed that my RDS is working, and
    that I can access the database via RDS in the Eclipse RDS browser
    window. The RDS concerned is on another PC.
    The PC on which Flex Builder is installed is a Vista
    Ultimate/32 and the database is MS SQl server 2005 (running on the
    other PC). Cold Fusion 8 is installed on both PC's.
    So, my question is 'Is the CF/Flex Application wizard
    deliberately hobbled/crippled in Flex 3 Trial version, or is there
    something wrong with my installation.?
    If this works for everyone else, then how do I debug my
    installation ?
    Thanks,
    Bryn Parrott

    in addition, I can say that I installed the same flex builder
    trial on an XP machine, using its own local RDS, and found that the
    wizard worked just fine.
    So what is the variable here, why is the wizard not working
    on the vista PC ?
    Is it Vista ?
    Is it the fact that I'm trying to use RDS against a remote
    server and not the local one ?

  • Pulling open invoices, and paid invoices with details (Query Help).

    Hello All,
    I am sure I messed something up in my joins. I am looking to pull a report of all invoices OINV for a month, then list details of any payment (if it is paid) next to it from RCT2. It is giving me a list of all of the paid invoices, but even though I have a LEFT JOIN it is not listing any of the invoices without payments.
    This is where I am now from the report wizard in Crystal.
    SELECT "OINV"."DocNum", "OINV"."SlpCode", "OINV"."CardCode", "OINV"."DocTotal", "OINV"."U_Commission", "OSLP"."SlpName", "RCT2"."DcntSum", "ORCT"."TaxDate", "OINV"."DocEntry", "OINV"."TotalExpns", "OINV"."CANCELED", "ORCT"."Canceled", "ORCT"."DocNum", "RCT2"."InvType"
    FROM   ("DBName"."dbo"."OINV" "OINV" LEFT OUTER JOIN "DBName"."dbo"."OSLP" "OSLP" ON "OINV"."SlpCode"="OSLP"."SlpCode")
    INNER JOIN ("DBName"."dbo"."ORCT" "ORCT" INNER JOIN "DBName"."dbo"."RCT2" "RCT2" ON "ORCT"."DocNum"="RCT2"."DocNum")
    ON "OINV"."DocEntry"="RCT2"."DocEntry"
    WHERE  "OINV"."CANCELED"='N' AND "ORCT"."Canceled"='N' AND "RCT2"."InvType"<=N'14'
    ORDER BY "OINV"."SlpCode", "ORCT"."DocNum", "ORCT"."TaxDate"
    Thank you in advance for any help you can give me.

    Hello Kiran,
    I thought about that, but my purposes for running the report is to determine commission based on the date that the invoice was paid, I need the TaxDate in ORCT as it relates to the payment in RCT2.
    Removing the ORCT.cancelled condition and the RCT2.invtype conditions now pulls all of the invoices, paid and unpaid. I know now I cant have them in my query, when the record does not exist in ORCT it doesnt have a value for cancelled, and when there is no record in RCT2 there is no invtype, and is filtered.
    Maybe I can say where ORCT.Canelled = 'N' OR ORCT.Cancelled = NULL, but I dont know if that would work.

  • Running a Flex App using Coldfusion Flash Remoting Services gives me a blank SWF file but no errors

    I cannot get flex to compile to display anything. even if its
    just a single panel and some text. If I use the wizard and choose
    "Basic" or whatever, I get a flex app. But i am using cfcs so I
    selected "Coldfusion Flash Remoting Services" and when I select
    run, the browser pops up with a nice big blank screen. No loading
    progress bar, no errors, nothing.
    I am running cf8 as a standalone (developers edition)
    under project properites --> server
    root folder: C:\ColdFusion8\wwwroot
    root url
    http://localhost:8500/
    context: (blank)
    I have messed with context and webroot.
    I doesn't matter if I use a remoteObject or not. Nothing
    happens
    i through in a crossdomain.xml into the root to open it up,
    just to be sure.
    I am really stumped. I had this working fine on a previous pc
    (running cf7)
    any ideas anyone???

    I tried with some of the AS3 files from Adobe samples (http://www.adobe.com/devnet/actionscript/samples.html), for eg., the Drawing API. There are slider components in the flash app that don't show up either. Does that give anyone a clue as to what might be wrong? Thanks, Ramesh

  • Flex app doesn't work when moved from original location

    I'm trying to make an image gallery in flex. It works when I run it in Flex Builder perfectly fine. The html and swf files from the bin-debug folder work perfectly fine when opened in any browser also, but ONLY when those files and all related files are opened from the default location that the application was built in. When I export a build to a different folder, the swf loads but none of the information from the xml file displays. I tried setting all of the paths of the reference files (namely the xml) in the flex app to the exact absolute location on the server, and it still didn't work when I uploaded it to the server.
    I've tried several approaches starting from scratch and they have all come up with the same issue. I'm working with an educational license for Flex Builder, I'm not sure if they jip you on those and ruin the compiled swf.
    Please help! I'm losing my mind over this.I think it has to do with something else besides the code since it works fine when I hit "Run", but if anyone thinks it will help to post the code let me know.

    when you build an application using one of the wizards (like coldfusion flex application wizard) it hard codes
    paths to cold fusion CFC's, and sometimes gets it wrong.
    If your application references cfc's (or other remote objects) then it may be necessary to adjust the flex code
    when moving the code into a different base folder.
    For example in my own application, the url is http://localhost/crm_dev_flex and the built application gets put into
    c:\inetpub\wwwroot\crm_dev_flex\bin-debug
    References in the code to components found in c:\inetpub\wwwroot\crm_dev_flex\bin-debug\components\cfgenerated
    (in the flex code these looks like crm_dev_flex.bin-debug.components.cfgenerated.<mycomponent> )
    These need to change when you move the code to somewhere else.
    Also, if you are using wizard generated cfc's then these also contain similar references that need to be changed.
    IHTH.
    Cheers

  • The parameter name [...] in the query's selection criteria does not match..

    Hi all,
    I'm trying to pratice EJB 3 (which I learnt at school), with JSF and JPA, but i'm really stuck with that error :
    Exception [TOPLINK-6094] (Oracle TopLink Essentials - 2.0 (Build b41-beta2 (03/30/2007))): oracle.toplink.essentials.exceptions.QueryException
    Exception Description: The parameter name [departmentID] in the query's selection criteria does not match any parameter name defined in the query.
    Query: ReadAllQuery(oracle.datamodel.Employees)
    I will try to explain clearly what i'm trying to do :
    In fact, i'm following that tutorial :
    http://www.oracle.com/technology/obe/obe1013jdev/10131/ejb_and_jpa/master-detail_pagewith_ejb.htm
    But, as i didn't have any oracle database, but had a mysql one on my machine, i decided to use that DB instead of the the oracle DB... So i created a set of example data (to replace the oracle example set) ...so i created the tables EMPLOYEE, and DEPARTMENT... with the correct relations (FK) and PK)
    All was ok, i choose my "mysql-connector" (jdbc) instead of the oracle jdbc connector... so i could follow the tutorial.
    My problem appears at the step 12 (of "Creating a Master-Detail JavaServer Faces Page"), when i run the file deptEmployees.jspx.
    The information of the first departement displays correctly :
    departmentID 1
    departmentName ... etc
    but it can't display the employees belonging to that department !
    the error is :
    JBO-29000: Exception Description: The parameter name [departmentID] in the query's selection criteria does not match any parameter name defined in the query. Query: ReadAllQuery(oracle.datamodel.Employees)
    I think i understand what is the problem... I think that the query in charge of gathering the data of a specific departement need a parameter, but couldn't find it. But i don't know why :-/ I have tried many things and read the topics talking about that error... but it didn't solved the problem. I don't know anymore where to investigate.
    I have created a Zip file of my work (it's an EJB/JSF Application.. with jdev 10.1.3.3.0)
    (available here : http://dl.free.fr/mQ5esdQuS/EJB_appli.zip)
    I would be glad if someone could take few minutes to help me.
    Thank you in advance,
    Thomas B (student)

    Hello,
    This is a common mistake. Java string comparisons in TopLink are case sensitive by default, and since column names are uppercase when defaulted, TopLink cannot find the "departmentID" column name. In this case, Departments ID column defaults to "DEPARTMENTID" as required by the JPA specification.
    Either change Departments id annotation to     @Id
        @Column(name="departmentID", nullable = false)
        private Integer departmentID;or change Employees' ManytoOne annotation to:
        @ManyToOne
        @JoinColumn(name = "departmentID", referencedColumnName = "DEPARTMENTID")
        private Departments departments;Best Regards,
    Chris

Maybe you are looking for

  • How do I perform a partial reset on 6500A All-in-one

    Officejet 6500 E710n-z (2A98C5), Maac OS 10.8.2-- My printer doesn't always print after it goes to sleep. I have to turn it off and then turn it back on again. I was told at one time to perform a partial reset, but I have forgotten how to do that.  T

  • [INFO TIPS] How to survive with Ovi Maps 3.0 insta...

    Quick info tips. I wanna made this post earlier but I was on few days trip so didn't have a chance... but it's good coz I was tested GPS in real touristic environment. I'm from Europe so I don't know how all links posted below will be works for peopl

  • Ctrl+number Tab swiching: How to change Ctrl+1 to open 5-th tab, Ctrl+2 6-th etc.? Possible?

    I use keyboard shortcuts a lot. I like the Ctrl+1 etc. shortcuts to change tabs. Unfortunately in recent Firefox Ctrl+1 takes me to 1-st App-Tab, while I'd line it to take me to 1-st "normal" Tab -- is it possible to change it? It should be perfectly

  • Slide show only plays Theme Music

    Using iPhoto 9.5.1 and Mavericks 10.9.4 I made a new slide show and after selecting it and clicking on Music, I have clicked the check box for Play Music during Slideshow. Theme music plays perfectly.  I can see my iTunes library and select music, bu

  • Blackjack - using swing (Need Assistance)

    Sir and Madam, I just started learning Java with Java 5.0 Eclipse. I am taking a course for Java Programming. I am wondering if anyone is willing to help me to identify the missing sources or errors so that way I can learn more and more and have my c