Is there any way to map tables in rutime dynamically?

Hi
Thank you for reading my post
My question is mostly technical and i want to know whether with EJB 3.0 (JPA) can do this or not.
we have an application which we are going to port it to EJB 3.0 from plain JDBC.
In our application, we have tables which are created after we complete the code,
Tables are created in customer environment based on thier requirement. we store all details about tables in our metadata system. this details contain table structure and business roles for that tables
So, We have some tables which we know all of its details but we do not have access to application to recompile it or do mapping procedure again.
And we need to store records into those tables and also perform EJB Query on them.
What i want to know is:
-Is there any way that we could map them dynamically in runtime?
-How we can query them if we can not map them programically?
-What will be the query result? it is a collection? if it is a collection, then what are collection elements?
Thanks

Thank you for reply.
We have some tables that are added to our system after we developed the core application.
Now we need to access those tables using EJB 3.0 .
We can not predict what kind of tables will be added, when customer add those table they also provide vast amount of metadata that our application need.
before we think about moving to EJB 3.0, we used JDBC to handle CRUD on those new tables based on metadata that customer file into our core application.
Now that we thought to move to EJB 3.0, we do not know how to handle those new tables that cutomer define.
We can not predict what kind of table they will create, so we should find some way to :
Create all required EJB 3.0 artifacts from
-A database Table
-and business metadata that customer file into our core application.
when we had JDBC, we could create dynamic SQL statement using table name and those meta data. but now with EJB 3.0 we can not find a way to do this because EJB 3.0 need some java class to be present before we could map anything.
Thanks

Similar Messages

  • Is there any way  to create table  of more than 30 char length name

    hi all,
    Please tell me is there any way to create table of more than 30 char length name in oracle 10g
    Regards

    Hi,
    If you want table name to be more than 30 Char.
    I am sure,your naming convention is not upto the mark.
    Its not possible in 10g as well as in 11g.
    Thanks
    Yogesh Nagle
    India

  • Is there any way download i-table in debug mode?

    Hi Experts.
    I'm curious if there any way download i-table to local computer in debug mode.
    could you let me know that method?
    currently using basis 640, bw3.5 version.
    Thank you.
    Lee.

    Hi Lee,
    This is easy...if you are using the Advanced Debugger then just double-click on the table in the source code and then go to the tables tab....
    Then right click and there's an option to download it to a local file....! Then specify the format and the path....and thats it...!!
    Hope this helps.
    <b><i>Do reward each useful answer..!</i></b>
    Thanks,
    Tatvagna.

  • Is there any way to get tables data with out having backup.

    Hi !
    my tnslistner is not working that is why i am not able to login in my database
    so i have planned to reinstall it and if posible get my database back from old files.
    i do not have backup,
    is there any way to get tables and data back.
    yours sincerely

    the out put of the sqlplus/ as sysdba is as followes
    Error 6 initializing sql*plus
    sp2-0667: message file sp1<lang>.msb not found
    sp2-0750: you may need to set ORACLE_HOOME to your oracle software directory
    the listener.ora at
    C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = abc)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    yours sincerely

  • Is there any way to generate table of contents in adobe for a report output

    Hi All,
    I need to display the output of a report in an PDF and layout needs to be developed in Adobe Print Forms. I want to know if there is a way to generate a table of contents for the output in adobe form on a particular page.
    Thanks...

    Hi,
    Thanks for the reply. I am new to the adobe and to the javascript.
    I would appreciate if you can guide me as to where can I get the online help on javascript related to Adobe Print and Interactive Forms.

  • Is there any way to control table indentation via a style?

    Experts-
    HI. I'd like to see if there's a way to control the indentation of tables in a document by simply adjusting the margin-left value via a (Table?) style?
    I finding that table indentation is adjusted in a table's properties settings:
    <table class="AlternateBlueColorGrid" style="padding-left: 6.00pt; padding-top: 6.00pt;
             padding-right: 6.00pt; padding-bottom: 6.00pt; margin-left: 40px;"
             cellspacing="0" width="577">
    This is fine for adjusting a single table. But supposing I want to indent all tables in a document or, better, all tables of a certain style. There doesn't seem to be a way to make the indentation setting part of a table style to facilitate this action, at least not through the table settings dialog.
    I see that I can specify margins in a div style, but I can't seem to apply a div style to a table (or paragraphs for that matter. I need to read up on div styles.)
    Thanks in advance?
    -Kurt

    You can do this by manually editing the CSS with notepad, as I don't
    think the RoboHelp CSS editor supports this. What you can do is just
    take the margin-left style and put it in the selector for the table. In
    the example, look foor
    table.AlternateBlueColorGrid {
    If it doesn't exist, you can just add this to the CSS.
    Kind regards,
    Willam

  • Is there any way to create table inside cell in sapui5??

    Hello experts,
    How do we create table inside cell in ui5??
    something like this::
    Market Activities
    Other Activities
    Header 1
    Header 2
    Header 1
    Header 2
    Header 3
    Header 1
    Header 2
    Header 3
    Then how do we go about binding??
    Thank you,
    Best Regards
    Chetna

    This code is actually for simple table which i have created:
    var dvrData = [
                                   {DealerNo:"",checkedOrd:{checked:false,enabled:false},checkedOrd1:{checked:false,enabled:false},checkedColl:  {checked:false,enabled:false},checkedPromos:{checked :false,enabled:false},
    var newDvrTable = new sap.ui.table.Table({
                         id:"newDvrTableId",
                         visibleRowCount: 1,
                        selectionMode: sap.ui.table.SelectionMode.Single
    //following field comes unser first column (with blank label)
    newDvrTable.addColumn(new sap.ui.table.Column({
    label: new sap.ui.commons.Label({text: " Dealer Code", wrapping : true}),
                         template: new NewTextField({
                               id:"dlrNum",
                               value: "{DealerNo}" ,
    // following columns come under "MARKET ACTIVITIES"
      newDvrTable.addColumn(new sap.ui.table.Column({
                         name : "SHOP ACTIVITY",
                         label: new sap.ui.commons.Label({id:"shopId",text: "SHOP",
                               wrapping : true}),
                               template: new sap.ui.commons.CheckBox("chkShop",{
                                      enabled: "{checkedOrd/enabled}",
                                      checked:"{checkedOrd/checked}",
    newDvrTable.addColumn(new sap.ui.table.Column({
                         name : "Order Related ACTIVITY",
                         label: new sap.ui.commons.Label({id:"shopId",text: "ORDER",
                               wrapping : true}),
                               template: new sap.ui.commons.CheckBox("chkShop",{
                                      enabled: "{checkedOrd1/enabled}",
                                      checked:"{checkedOrd1/checked}",
    //Following two columns must come under Other Activities Column
    newDvrTable.addColumn(new sap.ui.table.Column({
                         name : "CHEQUE COLLECTION",
                         label: new sap.ui.commons.Label({id:"shopId",text: "COLLECTION",
                               wrapping : true}),
                               template: new sap.ui.commons.CheckBox("chkShop",{
                                         enabled: "{checkedColl/enabled}",
                                           checked:"{checkedColl/checked}",
    newDvrTable.addColumn(new sap.ui.table.Column({
                         name : "SCHEME UPDATE",
                         label: new sap.ui.commons.Label({id:"shopId",text: "SCHEME UPDATE",
                               wrapping : true}),
                               template: new sap.ui.commons.CheckBox("chkShop",{
    enabled: "{checkedPromos/enabled}",
                                      checked:"{checkedPromos/checked}",
      var oModel = new sap.ui.model.json.JSONModel();
                  oModel.setData(dvrData);
    var newdata = oModel.getData();
    sap.ui.getCore().setModel(oModel,"newDvr");
                  newDvrTable.setModel(oModel);
                  newDvrTable.bindRows("/");
    Thank you,
    Best Regards,
    Chetna

  • *Is there any way to limit the Chart Bar size dynamically?*

    Hi
    I have selected the Marker size as Medium for my Bar chart.
    Bar chart bar showing too big when there is only one bar.
    Is there any way to limit the bar size dynamically?
    Thank you

    hi Ruwan,
    Don is correct in that there is no option in the chart design component to do this.
    what you can do though (i know it is a pain) is to
    1) create a new chart in a new section with a narrower bar using the chart options dialogue
    2) create a conditional suppression formula for the new section and the old chart section based on the value returned in the Show Value for the chart
    i have created a request for a charting overhaul [here |https://ideas.sap.com/community/products_and_solutions/crystalreports;jsessionid=B3E2E9F6A6CC9C9F5321659382A91855.node0]in the ideas place which includes a solution for this particular issue. please feel free to give it the thumbs up if you think that this is a worthwhile idea.
    jamie

  • HT5429 Map Problem: I can't see the roads in Standard view. Is there any way to improve this serious problem?

    Map Problem: I can't see the roads in Standard view. Is there any way to improve this serious problem?

    Hi Ben,
    both BSIS selects would become faster if you can add Company Code BUKRS as 1st field of WHERE clause, because it's the 1st field of primary key and HKONT is the 2nd field of primary key.
    If you have no table index with HKONT as 1st field it's a full database access.
    If possible, try to add BUKRS as 1st field of WHERE clause, otherwise ask for an additional BSIS index at your basis team.
    Regards,
    Klaus

  • Is there any way to retreive the FileName in the mapping

    Is there any way to retreive the FileName and so that I can use that in my mapping. This is FILE2RFC scenario with NO BPM.
       I am using the adapter specific message attributes in the file sender CC.
    Thanks,
    Ravi
    null

    Yes you can retreive it.  Create an simple user defined function in the mapping and use the following code.
    Imports: com.sap.aii.mapping.api.*;
    Parameter: String filename
    Paramter: String filename;
    filename = fileName + ".DAT";
    DynamicConfiguration conf = (DynamicConfiguration) container
    .getTransformationParameters()
    .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/File", "FileName");
    conf.put(key, filename);
    return filename;
    Or
    Just do whatever mentioned in this weblog:
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    ---Satish

  • Is there any way to reinstall google maps as the new map app is at best dire

    Since the latest iOS 6 to say the maps application is dire would be an understatment, My house no longer exists and a new street has appeard behind where i live , i used to use the application all the time as im a mobile mechanic and need a reliable navigation system ,( now reduced to having to return home to print out directions ) i do know that you can use google maps if you connect to the internet but sometimes this is not possable in my are . is there a fix or can we please have google maps back also NO STEET view    REALLY  im begining to wonder if i should bother with the new 5 or just get a SAMSUNG

    Satellite A505-S6005
    I have reinstalled the utilities and drivers by using the recovery disks I made when the laptop was new, but have since lost them.  I only want to reinstall a few utilities and drivers, but not restore the whole system.  Is there any way to reinstall the "Toshiba Application Installer" or recreate the recovery disks?
    Most may be downloaded from here.
    You should be able to burn recovery discs. See the section Creating recovery DVDs/media, which begins on p. 69 of the User's Guide.
       Satellite A500 Series User’s Guide
    If that doesn't work, you can obtain them from Toshiba.
       Order Toshiba Recovery Media
    -Jerry

  • Is there any way to prevent excess rows from being added to a table on the front panel?

    Whenever I programmatically add rows through a property node I can still go into the front panel and keep adding additional rows through the table. Is there any way to prevent this "excess scrolling"? Maybe grey out the rows or something? 
    At least I have chicken

    Hello Labviewleroy,
    You should be able to right click on the table on the front panel and select
    Visible Items>>Horizontal Scrollbar or Vertical Scrollbar
    You could also consider changing their visibility programmatically using a property node for the control or indicator that you are referencing. You can create the property node by right clicking on the control on the block diagram and selecting
    Create>>Property Node>>Visible Items>>Horizontal Scrollbar or Vertical Scrollbar
    Cheers,
    -Joel
    Motion PSE
    National Instruments

  • Is there any way to include a Numbers table into a Pages document?

    I have a nice useful well-formatted table in a Numbers sheet and now I'd like to include it in a Pages document.
    Is there any way to do this?
    I don't care that the table remain "active" (that is, it doesn't have to allow me to change values and recalculate from within Pages) BUT I do care that the formatting and values remain exactly like I painstakingly set them in Numbers.
    Dave

    You can copy and paste the entire table. Select it so you get the little square handles at each corner and side, then copy. Switch to pages and paste.
    Every cell that's calculated from other cells in that table will remain calculable in Pages. Any cell that's calculated from other tables will just have its value.
    There is no need to create a table in Numbers just because you want calculations. Tables in Pages behave just the same way, but without the help and function building facilities.

  • Is there any way to detect commited deleted record in a table?

    Hi All,
    Is there any way to find out commited deleted record in a table without using triggers?
    Thanks,

    If you want to get back the deleted records and you are using 10g or above than Flashback technology can get that for you.
    If you want to find out the commands that did the work and you are not using 10g than as suggested, Auditing and LogMiner can be the option.
    Aman....

  • Is there any way to see all the bookmarked pins at once in Map App?!

    Hello!
    I have been making a route for my next mountaineering trip using the red pins on the map app! i have like 20 bookmarks. I could see all the bookmarks at once and it was so nice. but after I searched another place all the bookmarks dissapeared. now i can see only one of the bookmarks at a time! is there any way to see all of them together again ?! please someone help I put so much affort to find the correct route...

    Richard,
    Is there any way I can simply list everything at once?
    The best workaround I'm aware of comes courtesy of BMan1854: Create a Smart Playlist that will Match the following rule: Date Added is after 01/01/2001 (or whatever the day before the day that you first started your iTunes Library is). That playlist will show your entire library.
    Or is there a way so that when I add new podcasts it will get rid of the old ones automatically?
    Have you gone to the iTunes Edit menu > Preferences > Podcasts tab and checked out the various options listed in the Keep drop-down menu.

Maybe you are looking for

  • Can Someone PLEASE Tell Me Why My Muse Site Will Not Work Upon HTML Export?

    Sorry for the long title! I've had a few threads going regarding troubles with my Muse site. These issues have been on-going, and once I was no longer able to upload to Fetch—and had to export to html via FileZilla—it just seems the problems continue

  • How to use myself JSP template for my projects

    I am using JDev 10. .I realized the default templates of JSP in JDev don't match with my projects so I want to create my own template for JSP Pages. I read some threads in Forum about this problem but I am a beginner, I cannot understand fully and do

  • Loop through tables based on data dict values

    Hi, I working on an old v7.3.4 database that I'm not familiar with and I want to loop through the tables and count the occurrence of a field value based on table names i've retrieved from the data dictionary. None of the tables have relational keys d

  • Sites and Blogs created in iWeb...

    Does anyone know of a link to view sites and blogs created solely by iWeb? I'm curious to see others' creations.

  • DVD SP3 not working in OS 10.4+

    I have had DVD SP3 on my machine running Panther for sometime, and it has worked okay. I recently moved everything over to a new hardrive and reinstalled a clean version of Tiger. I just tried to open up a project and the software is behaving totally