Simple table mapping
I have a source table and a target table with the same name in different schemas!
How can I do to create a simple mapping between this table?
Mapping editor raname the target table with suffix "_1" and the deploy procedure give me obviously an error "table or view does not exist"
thanks
Fausto
Cross-schema name conflicts can indeed be problematic.
My preferred approach is to create a private synonym for the source table in the target table's schema and import (and reference) the source table in OWB via that synonym.
e.g. table TAB1 exists in schemas SOURCE and TARGET.
in Target "create synonym SOURCE_TAB1 for SOURCE.TAB1"
Then, import SOURCE_TAB1 into your objects (requires checking the option to allow lookup by synonym).
Now build your mapping from SOURCE_TAB1 to TAB1.
Note that OWB will not look up public synonyms, so if you have done "create PUBLIC synonym...", you will need to drop that an recreate it without the public keyword.
Cheers,
Mike
Similar Messages
-
Resizing columns in a simple table
Hello,
I have several simple tables in my structured FM files. They were copied from unstructured FM when we went DITA. I want to resize the columns so the tables look presentable. I tried to do Table > Resize Colums, but when I run the map through the DITA OT for .pdf output, the columns revert back to what they were, which is all the same width. Do I need to change the element in some way to get the column width I want?Any knowledgeable people who can help?
-
Hello ,
Can some one suggest , how to word wrap long strings as field value in a simple Table .In my project there is a situation where i have to dispaly long description data in a table , but because of description usually being very long the width of the table becomes very long .Urgently waiting for your response..Thanks
Vivek KumarI am using SUN IDM 7.1 and this is the sample code i am using . I even tried to add noWrap to feilds definig rows but unfortunatly it does'nt seem to work for me.And thanks again for ur response...
<Field name='_Lists'>
<Display class='SimpleTable'>
<Property name='columns'>
<List>
<String>Mkt Part Desc</String>
<String>End Of Service Date</String>
</List>
</Property>
<Property name='noWrap'>
<Boolean>false</Boolean>
</Property>
</Display>
<FieldLoop for='partsIndex' in="Index">
<Field name='L_MKT_PT_DESC'>
<Display class='Label'>
<Property name='text'>
<rule name='Get Desc'>
</rule>
</Property>
</Display>
</Field>
<Field name='L_ENDOFSERVICE_DT_NEW'>
<Display class='Label'>
<Property name='text'>
<rule name='Get End_service_date'>
</rule>
</Property>
</Display>
</Field>
</FieldLoop>
</Field> -
{SOL}Problem in Export/Import a simple table between two diff. characterset
Hi ,
I have created a simple table on SCOTT schema....
SQL> CREATE TABLE TEST(A NUMBER(1) , B VARCHAR2(10));
Table created
SQL> INSERT INTO TEST VALUES(1 , 'TEST_TEST');
1 row inserted
SQL> COMMIT;
Commit complete
SQL> INSERT INTO TEST VALUES(2 , 'ΤΕΣΤ_ΤΕΣΤ'); <------------greek chars
1 row inserted
SQL> COMMIT;
Commit complete
The nls_parameters:
SQL> SELECT * FROM NLS_INSTANCE_PARAMETERS;
PARAMETER VALUE
NLS_LANGUAGE GREEK
NLS_TERRITORY GREECE
NLS_SORT
NLS_DATE_LANGUAGE
NLS_DATE_FORMAT
NLS_CURRENCY
NLS_NUMERIC_CHARACTERS
NLS_ISO_CURRENCY
NLS_CALENDAR
NLS_TIME_FORMAT
NLS_TIMESTAMP_FORMAT
NLS_TIME_TZ_FORMAT
NLS_TIMESTAMP_TZ_FORMAT
NLS_DUAL_CURRENCY
NLS_COMP
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
17 rows selected
SQL> SELECT * FROM NLS_SESSION_PARAMETERS;
PARAMETER VALUE
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
17 rows selected
and db characterset is EL8MSWIN1253
I export such as(following generally the instuctions found on Note:227332.1-Metalink):
C:\Documents and Settings\s_k>SET ORACLE_SID=EPESY
C:\Documents and Settings\s_k>SET NLS_LANG=GREEK_GREECE.EL8MSWIN1253
C:\Documents and Settings\s_k>C:\oracle\product\10.2.0\database10g\BIN\exp SYSTE
M/passwd@EPESY FILE=C:\TEST.DMP TABLES=(SCOTT.TEST) ROWS=Y LOG=C:\TEST2.TXT
Export: Release 10.2.0.1.0 - Production on ╩Ϋ± ╔ΎΫΊ 22 12:28:58 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
╕ήώΊί ≤²Ίϊί≤ύ ≤ί: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Pr
oduction
With the Partitioning, OLAP and Data Mining options
╟ ίΌάή∙ή▐ ▌ήώΊί ≤ΪΎ ≤ίΪ ≈ά±άΆΪ▐±∙Ί EL8MSWIN1253 Άάώ ≤ΪΎ ≤ίΪ ≈ά±άΆΪ▐±∙Ί NCHAR AL1
6UTF16
╨±ΎίΪΎώΉά≤▀ά ήώά ίΌάή∙ή▐ Ϊ∙Ί Ώ±Ύ≤ϊώΎ±ώ≤Ή▌Ί∙Ί ΏώΊ▄Ά∙Ί Ή▌≤∙ ╙ΫΉέάΪώΆ▐≥ ─ώάϊ±ΎΉ▐≥ .
╧ Ϊ±▌≈∙Ί ≈±▐≤Ϊύ≥ ▄ΈΈάΌί ≤ί SCOTT
. . ίΌάή∙ή▐ ΪΎΫ Ώ▀ΊάΆά TEST 2 ή±άΉΉ▌≥ ίΌ▐≈ϋύ≤
άΊ
╟ ίΌάή∙ή▐ ΪίΈί▀∙≤ί ίΏώΪΫ≈■≥ ≈∙±▀≥ Ώ±ΎίώϊΎΏΎ▀ύ≤ύ.Then , i shutdown this database and i start the other.....
with this nls_parameters
SQL> select * from nls_session_parameters;
PARAMETER VALUE
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS CHAR
NLS_NCHAR_CONV_EXCP FALSE
17 rows selected
SQL>
SQL> select * from nls_instance_parameters;
PARAMETER VALUE
NLS_LANGUAGE GREEK
NLS_TERRITORY GREECE
NLS_SORT
NLS_DATE_LANGUAGE
NLS_DATE_FORMAT
NLS_CURRENCY
NLS_NUMERIC_CHARACTERS
NLS_ISO_CURRENCY
NLS_CALENDAR
NLS_TIME_FORMAT
NLS_TIMESTAMP_FORMAT
NLS_TIME_TZ_FORMAT
NLS_TIMESTAMP_TZ_FORMAT
NLS_DUAL_CURRENCY
NLS_COMP
NLS_LENGTH_SEMANTICS CHAR
NLS_NCHAR_CONV_EXCP FALSE
17 rows selected
with this db characterset: UTF8
C:\Documents and Settings\s_k>SET NLS_LANG=GREEK_GREECE.EL8MSWIN1253
C:\Documents and Settings\s_k>C:\oracle\product\10.2.0\database10g\BIN\imp syste
m/passwd@info FROMUSER=SCOTT TOUSER=SCOTT FILE=C:\TEST.DMP LOG=C:\TEST0_IMP.TXT
Import: Release 10.2.0.1.0 - Production on ╩Ϋ± ╔ΎΫΊ 22 12:40:16 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
╕ήώΊί ≤²Ίϊί≤ύ ≤ί: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Pr
oduction
With the Partitioning, OLAP and Data Mining options
┴±≈ί▀Ύ ίΌάή∙ή▐≥ ϊύΉώΎΫ±ή▐ϋύΆί άΏⁿ EXPORT:V10.02.01 Ή▌≤∙ ≤ΫΉέάΪώΆ▐≥ ϊώάϊ±ΎΉ▐≥
ίώ≤άή∙ή▐ ▌ήώΊί ≤ί ≤ίΪ ≈ά±άΆΪ▐±∙Ί EL8MSWIN1253 Άάώ ≤ίΪ ≈ά±άΆΪ▐±∙Ί NCHAR UTF8
server ίώ≤άή∙ή▐≥ ≈±ύ≤ώΉΎΏΎώί▀ ≤ίΪ ≈ά±άΆΪ▐±∙Ί UTF8 (ϊΫΊάΪ▐ ΉίΪάΪ±ΎΏ▐ ≤ίΪ ≈ά±άΆΪ▐±
∙Ί)
server ίΌάή∙ή▐≥ ≈±ύ≤ώΉΎΏΎώί▀ ≤ίΪ ≈ά±άΆΪ▐±∙Ί NCHAR AL16UTF16 (ϊΫΊάΪ▐ ΉίΪάΪ±ΎΏ▐ ≤ί
Ϊ ≈ά±άΆΪ▐±∙Ί nchar)
. ίώ≤άή∙ή▐ Ϊ∙Ί άΊΪώΆίώΉ▌Ί∙Ί ΪΎΫ SCOTT ≤ΪΎ SCOTT
. . ίώ≤άή∙ή▐ ΪΎΫ Ώ▀ΊάΆά "TEST" 2 ή±άΉΉ▌≥ ίώ≤▐≈ϋ
ύ≤άΊ
╟ ίώ≤άή∙ή▐ ΪίΈί▀∙≤ί ίΏώΪΫ≈■≥ ≈∙±▀≥ Ώ±ΎίώϊΎΏΎ▀ύ≤ύ.
C:\Documents and Settings\s_k>SQLPLUS SCOTT/TIGER
SQL*Plus: Release 10.2.0.1.0 - Production on ╩Ϋ± ╔ΎΫΊ 22 12:41:20 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
╙²Ίϊί≤ύ ≤ί:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> SELECT * FROM TEST;
A B
1 TEST_TEST
2 ????_????What may be the cause.....????
Note: I use db 10g v.2 on Windows XP platform.. and the two db instances reside on the same machine....
Thanks...
Sim"Generally speaking the value of the NLS_LANG registry key or environment variable needs to be equal to the characterset of the database."
Yes...that's why i have set the NLS_LANG env.variable to GREEK_GREECE.EL8MSWIN1253 ..equal to:
SQL> select * from nls_database_parameters;
PARAMETER VALUE
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CHARACTERSET EL8MSWIN1253
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_RDBMS_VERSION 10.2.0.1.0"nls_language doesn't come into play, nor nls_instance_parameters."
Yes...it's true.
"So, in the dump you posted, no one can tell whether those characters were INSERTed correctly at all. Your NLS_LANG *registry key* may have been set to an incorrect value (it defaults to American_America.MSWIN1252)."
Actually , i have used a third-party tool PL/SQL Developer (which does have the OracleDB10g as default home).
Looking at the Windows registry of OracleDB10g the NLS_LANG is equal to GREEK_GREECE.EL8MSWIN1253.
"Thirdly, as I implied above the NLS_LANG on import should have been American_America.UTF8."
According to the Note 227332.1 , if the db characterset of the two dbs are not the same.. then it is preferable the conversion should be done on the import process and not the export....
So, in an example described there -export from a AMERICAN_AMERICA.WE8MSWIN1252 db and import on UTF8 db - (seems exactly the same as mine) the import is done as such:
c:\>set NLS_LANG=AMERICAN_AMERICA.WE8MSWIN1252
c:\>imp ....
The conversion to UTF8 is done while inserting the data
in the UTF8 database.Additional notes....
I have used many different patterns doing the import......
1) Use of AMERICAN_AMERICA.UTF8
2) Use of GREEK_GREECE.EL8ISO8859P7
3) Use the appropriate NLS_LANG that corresponds to the display of chcp command....
All tries display some '?' chars.....
Anyway... I 'll continue reading ... and testing
Thanks... a lot for your points
Sim -
A table mapping between ISO country code and ISO currency code
Hi experts,
I want to know whether there is a table mapping between ISO country code and ISO currency code.I have searched T005(Countries) and TCURC(Currency Codes).why the filed of WAERS(Country currency) hasn't maintained in talbe T005?Whether ISO country code and ISO currency code hasn't direct relation?
Regards,
KelvinKelvin,
If you know the table which is having ISO Country Code or ISO Currency code,then go to that table and clik on GRAPHIC(ctrlShiftf11) which will give the foreign key relationships.I guess checking all those table displayed in the graphic will give you some lead.
K.Kiran. -
A table mapping between country code and currency code
Hi experts,
I want to know whether there is a table mapping between country code and currency code.I have found the table T005(Countries).But I don't why the filed of WAERS(Country currency) hasn't maintained in talbe T005?Whether country code and currency code hasn't direct relation?
Regards,
KelvinDear Kelvin
The said field (WAERS) can be fetched from many tables. To name a few, below are some of the tables in which, you can see the field for currency.
1) BKKI4
2) BKKI5
3) BWPOS
4) KNKA
5) KNVV
6) MSEG
thanks
G. Lakshmipathi -
Import Server - Multiple Qualified Table - Map Crash
Hello,
Requirement: I need to update multiple qualified table using single source file.
Preparation: I have created a map where mapping to multiple qualified table fields maually.
Have created a Inbound Port using the above map.
Problem: Import server throws an exception; while opening the Import Manager using the Port Option and corresponding Exception; Lot of fields were un-mapped. Looks like Import map crashed.
Please feel free to throw some light reg the same!
Thanks
AlexanderHi Alexander,
If you are performing multiple qualifier table mapping and importing then you will hav eto create differnt map for each table importing.In that case you will rrquire multiple inbound ports and in each ports deatils you will give the map name pertaining to which qualified lookup table you wish to import.
Actually using automatic importing for lookups is not desirable as the lookups always need to be prepopulated before your main table importing.
The exception taht you are receiving could be due to the reason that the map you are saving is using only one table mapping and so most of the fields are left unmapped.
try not to use automatic importing for Lookup qualifier tables and use manual importing and see if the the exception still comes.
Hope it helps
Kindly reaward points if found useful
Thanks
Simona -
Singel Selection in Simple Table
Hi friends
I am not using an advanced table. I am using a simple table (lets say header) with 5 messagestyledtext and a singleselection bean for query purpose which i have created manually. Below this (header), I have an other table (lets say line)
I have some issues which i want to discuss.
1- When i pressed the button to query, my records fetched properly in my header table as i want and it also populates my line table because of View Link. Problem is when my records fetched in header table, my lines table shows me the records pertaining to my first record of header table but my singleselection radio is selected for last record in header table. I am assuming that my viewobjects are working fine but cursor in my table beans are not working fine. Is there any way to reset my cursor in header and lines table according to my viewobjects?
2- since i am using my own custom query panel, I have two button "Go" and "Clear". How can i program my "Clear" button to wipe out the messageinputtext beans in my query panel ?
Since i am very new to OAF, kindly reply me in detail. I read OAF Developer guide but i am unable to understand. If possible then please write the code here.
RegardsRefer
Reset single selection radio to first row of table after execution of query
You can intercept your go button click like follows
On query region we can capture the Go button click and execute our own search along with Standard Search.
OAApplicationModule ap = (OAApplicationModule)pageContext.getApplicationModule(webBean);
OAQueryBean bean = (OAQueryBean)webBean.findIndexedChildRecursive("queryRN");
if(bean!=null)
String id = (String)bean.getGoButtonName();
if(pageContext.getParameter(id)!=null)
//here use the code mentioned in the above forum. (get the first row in VO using vo.first() and set the transient attribute value for the first row to "Y"
For more information on handling go button refer
http://oafqueries.blogspot.com/2010/10/how-to-capture-go-button-for-query.html
Regards
Ravi -
Help with multi-table mapping for one-to-many object inheritance
Hi,
I have posted on here before regarding this (Toplink mapping for one-to-many object inheritance but I am still having problems mapping my object model to my schema.
Object model
The Person and Organisation objects contain base information and have the primary keys person_id and organisation_id. It is important that there is no duplication of person and organisation records, no matter how many times they are saved in different roles.
There are two types of licenceholder in the problem domain, and the ILicenceHolder interface defines information and methods that are common to both. The PersonalLicenceHolder object represents one of these types of licenceholder, and is always a person, so this class extends Person and implements ILicenceHolder.
The additional information and methods that are required by the second type of licenceholder are defined in the interface IPremisesLicenceHolder, which extends ILicenceHolder. Premises licence holders can either be people or organisations, so I have two objects to represent these - PremisesLicenceHolderPerson which implements IPremisesLicenceHolder and extends Person, and PremisesLicenceHolderOrganisation which implements IPremisesLicenceHolder and extends Organisation.
The model is further complicated by the fact that any single Person may be both a PersonalLicenceHolder and a PremisesLicenceHolderPerson, and may be so several times over. In this case, the same basic Person information needs to be linked to several different sets of licenceholder information. In the same way, any single Organisation may be a PremisesLicenceHolderOrganisation several times over.
Sorry this is complicated!
Schema
I have Person and Organisation tables containing the basic information with the primary keys person_id and organisation_id.
I have tried to follow Donald Smith's advice and have created a Role table to record the specialised information for the different types of licence holder. I want the foreign keys in this table to be licenceholder_id and licence_id. Licenceholder_id will reference either organisation_id or person_id, and licence_id will reference the primary key of the Licence table to link the licenceholder to the licence. Because I am struggling with the mapping, I have changed licenceholder_id to person_id in an attempt to get it working with the Person object before I try the Organisation.
Then, when a new licenceholder is added, if the person/organisation is already in the database, a new record is created in the Role table linking the existing person/organisation to the existing licence rather than duplicating the person/organisation information.
Mapping
I am trying to use the toplink mapping workbench to map my PremisesLicenceHolderPerson object to my schema. I have mapped all inherited attributes to superclass (Person). The primary table that the attributes are mapped to is Person, and I have used the multi-table info tab to add Roles as an additional table and map the remaining attributes to that.
I have created the references PERSON_ROLES which maps person.person_id to roles.person_id, ROLES_PERSON which maps roles.person_id to person.person_id and ROLES_LICENCE which maps roles.licence_id to licence.licence_id.
I think I have put in all the relationships, but I cannot get rid of the error message "The following primary key fields are unmapped: PERSON_ID".
Please can somebody tell me how to map this properly?
Thank you.I'm not positive about your mappings, but it looks like the Person object should really have a 1:M or M:M mapping to the Licenceholder table. This then means that your object model should be similar, in that Person object could have many Licenses, instead of being LicenceHolders. From the looks of it, you have it set up from the LicenceHolder perspective. What could be done instead if a LicenceHolder could have a 1:1 reference to a person data object, rather than actually be a Person. This would allow the person data to be easily shared among licences.
LicenceHolder1 has an entry in the LicenceHolder table and Person table. LicenceHolder2 also has entries in these tables, but uses the same entry in the Person table- essentially it is the same person/person_ID. If both are new objects, TopLink would try to insert the same person object into the Person table twice. I'm not sure how you have gotten around or are planning to get around this problem.
Since you are using inheritance, it means that LicenceHolder needs a writable mapping to the person.person_id field- most commonly done through a direct to field mapping. From the description, it looks like roles.person_id is a foreign key in the multiple table mapping, meaning it would be set based on the value in the person.person_id field, but the person.person_id isn't actually mapped in the object. Check to make sure that the ID attribute LicenceHolder is inheriting from person hasn't been remapped in the LicenceHolder descriptor to a different field.
Best Regards,
Chris -
I could not find a clear documentation on how to create a mapping to load CUBE
after creating dimensions. I am using 10.1.0.2 version.
I have two dimensions and one FACT table
DIM1
D1_sk
other attributes
DIM2
D2_SK
other attributes
FACT
D1_sk
D2_sk
measure attributes
In previous forums I came across to use a lookup on dimensions
to load the FACT table.
But what would be my source to perform a lookup on Dimensions ?
because My dimensions are the source for the FACT TABLE.
Can I Join the DIMENSIONS to load the FACT TABLE?
can any one suggest the right approach to creat a FACT table mapping.
Thanks in advance.Hi,
If you can tell what you are tying to achieve we can give some suggestions. You can use the same sources which you have used to load Dimensions, to load Fact table.
Mahesh -
TopLink Question - Mutliple Object to Single Table mapping
Just a short question,
Does toplink support mapping feature as such that it can map two distinct objects with single table that when in insertion or selection those two objects can be manipulated, selected in single operation? I know that TopLink mapping supports single object from multiple table mapping, but I'm not sure about multiple objects being associated with single table.
Secondly, does Hibernate has something like what I described above?
Howard.Hi Howard,
You can map two objects to a single table if the objects are related by aggregation.
In TopLink, two objectsa source (parent or owning) object and a target (child or owned) objectare related by aggregation if there is a strict one-to-one relationship between them, and all the attributes of the target object can be retrieved from the same data source representation as the source object. This means that if the source object exists, then the target object must also exist, and if the source object is destroyed, then the target object is also destroyed.
http://www.oracle.com/technology/products/ias/toplink/doc/1013/main/_html/tutbuild004.htm#sthref2325
-Blaise -
Provide hints on attributes rendered in a simple table.
I have a requirement that if the cursor is hovering on a attribute/column (prefer if it can be displayed when cursor is hovering on its heading) in a simple table style region, user should see detailed explanation of what that field is for (more like detailed help). i cannot use short or long tip for this because then the detailed message appears under the field for EVERY ROW and that looks ugly. I tried using 'Additional text' but for some reason that is not displaying the detailed hint message as expected.....
what can i do to provide hints when the cursor is hovering on a field/column in a simple table (prefer if it can be displayed when cursor is hovering on its heading) ??
thanks.Any inputs please ? can it be done ?
Thanks./ -
can i have a file2file scenario which uses simple java-mapping. As i m new to Java, jus wanna learn how it happens.
I wanna know how to code the Java mapping .....and how to utilize it in the Interface Mapping.....
I know a bit of DOM parsing..Hi,
see the below links
http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/content.htm
DOM parser API
http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/package-frame.html
Check this blog on Mapping:
/people/ravikumar.allampallam/blog/2005/02/10/different-types-of-mapping-in-xi
Also, check this thread for more info,
Different types of Mapping in XI
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-iii
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2flibrary%2fxi%2fxi-design_configuration%2ffileValidationsinSAPXI-ACaseStudy.pdf
http://www.cafeconleche.org/books/xmljava/chapters/ch09.html
http://www.cafeconleche.org/books/xmljava/chapters/ch06.html
Check these blogs for reference..
/people/udo.martens/blog/2006/08/23/comparing-performance-of-mapping-programs
/people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping
java mapping /people/amol.joshi2/blog/2006/03/10/think-objects-when-creating-java-mappings
Regards
Chilla -
Multiple Table Mapping To Single Entity in Workshop 8.1
I've taken a test run on creating entity beans with workshop 8.1, although mapping
an CMP entity to a single database table looks to be relatively straightforward,
I can't seem to find a way to map multiple database tables to a single CMP entity
(at least not via workshop). Do I have to manually modify the deployment descriptors
after building with workshop?Thanks, John.
Jingwei
"John Reynolds" <[email protected]> wrote:
>
Jingwei Zhang <[email protected]> wrote:
Is there any example of using ejbgen to map single EJB to multiple tables?
Jingwei... I found this at: http://www.beust.com/cedric/ejbgen/#multiple-table-mapping
By default, Entity beans are mapped to one table, with the attribute
table-name
on the tag @ejbgen:entity. If you want to map your Entity bean to more
than one
table, you can use the table-name attribute on individual @ejbgen:cmp-fields.
All the CMP fields that do not have a table-name attribute will use the
table
specified on @ejbgen:entity (which can therefore be considered as the
"default"
table).
If you want to map an Entity bean to several tables, you need to specify
a comma-separated
list of tables in the table-name attribute (and also on column). For
example:
* @ejbgen:cmp-field
* column = "bal1, bal2"
* table-name = "Table1, Table2"
Make sure that the number of tables matches the number of columns, and
that the
columns exist in the corresponding table (for example, in the example
above, Table1
must contain column bal1, and Table2, bal2). -
Ok, this may seem like a silly question, but I've looked for info and can't find any...and am about ready to rip my hair out.
Is there a way to put a simple table into iWeb?
I have tried creating it in Pages, but all that imports is the file name of the document....
Cut and Paste looses the formatting....
what am I doing wrong?
thanks in advancesorry, should have added that it is just a text based table, so there is no 'math' stuff involved. I just want to put it on the web page in a table style to make it look nice
Maybe you are looking for
-
Hi all, i'm getting an error from SXMB_MONI in a scenario File to Idoc. I have done the mapping from source file and Idoc CREMAS03, when i try to test from Integration Repository it's all ok, but when the scenario is executed i find this error in Ido
-
Surround Mix with Logitech Z-5500 Digital
Hello, I have a project for a 3D animation short movie, and I'll also make the score and sound effect for it, to make a DVD. I don't have Logic Pro yet; I have Logic Express. Is it possible to use a Logitech Z-5500 Digital set to do the surround mix
-
I have bought Iphone 4 in UK and unlocked it normally and bought to india . I have then updated to IOS 5 . its working properly . Now i want to update to IOS 6 . Can i do it without geting locked . phone modem firmware is 04.12.01
-
Expression Filters Performance
Hi, I'm trying to test the expression filters functionality using two tables: Env: Oracle 11g R2 (11.2.0.2) EE on AIX T1 is the data table and contains about 90 million rows with around 60 columns. Only 4 columns are evaluated in the filter with thre
-
Issues with CS5 Illustrator .ai files
I just recently purchased CS5 Illustrator. After creating the file as an .ai file, I am having an issue with reopening the file. I get an error. Any suggestions?