One to one relation webapplication and portal?
Going through the documentation and the newsgroups for WLCS 3.5 and
Personalization Server 3.5 I can't seem to find out wether or not
there is a one to one relation between a webapplication and a portal.
I mean, can I have more than one portal in a webapplication? The
folder structure in the webapplication seems to indicate so:
exampleportal/portals suggests that multiple portals can be found in
this webapplication, with the repository as a folder shared by all
portals.
And if this is the case, where do I configure which user goes to what
portal within that one webapplication?
Anybody has any suggestion or pointers to relevant documentation (not
being the bea edocs site...)?
Regards
EJ
Thanks for your response!
I have different problem.
I have two submit buttons. First is to save the data into DB. Second is to add an Answer object to arraylist (Answers) and this answer object filled in the same form. When I click the second button, I don't see the arraylist growing. But it overwrites. I hope you are understanding my question.
Please help me
Similar Messages
-
Is it possible to have 2 mail programmes on my macbook pro? one for business related emails and one personal. I dont want all the emails in one mail programme. At the moment i have 2 personal email address being sent to my mail but because of receiving huge numbers of work emails it would be good to keep them seperate, what is the best way of doing this?
if i use the one mail programme can it separate the incoming mail from the different email accounts into 2 folders without me having to do it manually?
Yes, you can. Nearly all email software can do this. It involves creating two folders and a Rule for each folder.
Maybe call one folder Personal Mail, the other Work Mail (Apple Mail calls folders Mailboxes). One Rule would route all mail from your personal email account into the Personal Mail folder; the other Rule would route all mail from your work email account into the Work Mail folder. It's actually easy to do, all you have to do is click a few things and the rule is set up. Once the Rule is written you can also apply it to existing messages already downloaded to your Mac.
In Apple Mail, Rules are under Preferences > Rules. Follow the prompts to create a rule like this:
If = Any
Account = my Personal account (select the name of your personal email account)
Perform the following actions: Move Message to Mailbox = my Personal Mail (select the name of your Personal Mail folder (aka mailbox))
This rule says, "take any message that comes in from my Personal Account and move it to my Personal Mail mailbox (folder)"
Create a similar rule for your Work email. -
Resource related billing and periodic billing and milestone billing
Hi friends,
Any one having resource related billing and periodic billing and milestone billing
documents are any config documents and any more details.
Waiting for reply urgently,
Regards.
kishoreHi Kishore,
Pl. check these links :
<a href="http://help.sap.com/saphelp_47x200/helpdata/en/31/03953401024735e10000009b38f83b/frameset.htm">Periodic Billing</a>
<a href="http://www.sap-img.com/sd006.htm">Milestone Billing</a>
<a href="http://help.sap.com/saphelp_47x200/helpdata/en/4a/ac853478616434e10000009b38f83b/frameset.htm">Resource related billing</a>
Reward if useful.
Thanks & Regards
Sadhu Kishore -
I have created two related Blurb books in Lightroom 5 (Volumes 1 and 2) but my balance of page numbers is off. So I'd like to take some pages out of one book (complete with images) and paste them into the other. Is this possible?
Can you zip up a few of your GoPro images, upload them to dropbox.com and post a share link, here, so others can experiment with them, or do you mean this issue is global to all camera models?
-
i have three tables A,B,C. there is one to many relation between A and B. and one to many relation existed between table b and c . how will get data from these three tables
check if this helps:
select * --you can always frame your column set
from tableA a
left join tableB b on a.aid=b.aid
left join tableC c on c.bid=b.bid
This is just a general query. However, we can help you a lot more, if you can post the DDL + sample data and required output.
Thanks,
Jay
<If the post was helpful mark as 'Helpful' and if the post answered your query, mark as 'Answered'> -
Order related item and delivery related item in one billing document
Hi Experts,
how can we include order related item and delivery related item in one billing document .
Please give me the configuration logic .Hello,
1)Reference Document Number VBRK-XBLNR.
In transaction VTFA and VTFL at header level setup the field 'Reference number' so that it is the same (example 'E')
2) Payment Reference VBRK-KIDNO
It should be a consequence of the split, and not a cause. So you can ignore it
3) Billing date for billing index VBRK-FKDAT
In sales order and delivery you should set the same billing date. Alternatively, the the first screen of VF01 please set a Defailt billing date
4) Customer purchase order number VBRK-BSTNK_VF
It is necessary that sales order to be billed and sales order referenced to delivery to be billed have the same purchase order number. There is not other way.
5) Assignment number VBRK-ZUONR
In transaction VTFA and VTFL at header level setup the field 'Assignment number' so that it is the same (example 'E')
6) Translation Date
Same solution of point 3.
Best regards,
Ivano. -
One Billing Document with Delivery- and Order-Related billing items
We wish to include both delivery-related and order-related billing items in a single billing document. Is that possible using configuraiton? We have seen some forums indicate it is not possible without ABAP.
Thanks SAP gurus!Bradley,
I still think this is possible.
Delivery related billing or order related billing is decided by the configuration of billing relevance in the Item category. So if those things are properly configured, it should be possible to include delivery related items and order related items together in one invoice document.
When you do that, you have to ensure that the item categories are relevant for either delivery related billing or order related billing.
Then in copy control, only order related I.Cs shoudl be configured in VTFA and only delivery related I.Cs should be configured in VTFL. There should not be any mix up in this configuration. If there is any mix up, then it may cause problems.
If these two configurations are done, it is possible. You may also note that in VF01, it asks only for documents, not specifically deliveries or orders. So it is possible in standard SAP itself. Please configure it and try it. -
Sun ONE Instant Messaging relation to Sun ONE Portal Server
Sun ONE Instant Messaging is tightly integrated with the Sun ONE Portal Server. Sun ONE Instant Messaging provides a portlet or channel that displays a list of a given user's online buddies and also provides the capability to archive chat and other forms of IM Communications within the portal server search database. Hence, chat, alerts, news channels and more can be archived and searched using the Search capabilities of the portal server. Indeed, Sun ONE Instant Messaging is a value-added offereng to the core Sun ONE Portal Server.
It should also be mentioned that Sun ONE Instant Messaging integrates with the Sun ONE Portal Server in other ways. Since the portal server provides a web container, the IM deployment can naturally use the web server provided by the portal server. The portal server also uses a directory server which can also be used by Sun ONE Instant Messaging for User and LDAP group search. Finally, Sun ONE Instant Messaging may also use the portal server's Identity Service to provide single sign-on with the portal server.Yes, one can install Sun ONE Instant Messaging on a system that does not contain the Sun ONE Portal Server.
-
Any one tell how business planning and requirement specifications would be
any one tell how business planning and requirement specifications would be in the real time scenarios
how work would be assigned to development and production
how would one approach to work
regards
bhanuHi
Check these SDN Links
You can find a lot of good info here:
http://help.sap.com/saphelp_nw04/helpdata/en/05/242537cedf2056e10000009b38f936/content.htm
https://www.sdn.sap.com/irj/sdn/developerareas/bi?rid=/webcontent/uuid/6e01a04e-0a01-0010-dfbe-951c2c39d169 [original link is broken] [original link is broken]
And of course the Business Planning forum
You can see related info here:
https://websmp105.sap-ag.de/~sapidp/011000358700007394712005E
and
https://websmp105.sap-ag.de/~sapidp/011000358700003595342004E
https://www.sdn.sap.com/irj/sdn/developerareas/bi?rid=/webcontent/uuid/6e01a04e-0a01-0010-dfbe-951c2c39d169 [original link is broken] [original link is broken]
This is interesting:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ce03c6bb-0601-0010-e69d-fb47733fe3b7
http://help.sap.com/saphelp_erp2005/helpdata/en/53/155c3ce7055a37e10000000a11405a/frameset.htm
http://help.sap.com/saphelp_sem40bw/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/44/584041b02e4c0de10000000a1550b0/content.htm
http://72.14.205.104/search?q=cache:6gBgWDd3W3AJ:https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a1c91b57-0601-0010-dba2-ac4d24641f9fbwbps(SAP)&hl=en&gl=in&ct=clnk&cd=2
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/a-c/bw-bps%20further%20information.htm
http://help.sap.com/saphelp_nw04/helpdata/en/16/1e0541a407f06fe10000000a1550b0/content.htm
***Assign Points If Helpful***
Regards,
Ravikanth -
One to One link between VBRP items and BSEG items
Hi All,
I am working on a program where I have to link between VBRP table items against BSEG table items.
But in BSEG, the invoice items are summarised based on Material Number, profit center etc..
Is there a way to divide them, like any other table which holds the data transferred to accounting from sales exactly as it is in the invoice tables (VBRP).
If there is no such table, can any one help me figure out a logic where I can didvide the items of BSEG table exactly like the items of table VBRP.
Any help or input will be very highly appreciated.
Thanks in advance
PhaniThanks for the Replies Ramani and Monika...
I alraedy have a relation between the Accounting Doc and Billing Doc (VBRP-vbeln to BSEG-belnr).
what I am looking for is the Item wise one to one mapping.
i.e Assume that we have 4 items in VBRP under one Billing Doc....
2 items have Similar Materials (Assume XYZ) and same Profit center (eq..MNO123)
and the Other 2 items have material (ABC) and Profit center (PQR6789).
Now these appear in Bseg as only 2 items, all the items with similar materials, profit center etc will be clubbed in Bseg (While Accounting). I.e In BSEG you will only find 2 entries for the above 4 items of VBRP.
I need to divide the data that I am getting from BSEG exactly as they are in VBRP.
Pls suggest if you know of any table where I can find this.....If not a table.., then a way to figure out the division of these BSEG items exactly as the VBRP items.
Brgds
Phani -
How can I move all my bookmarks from different Firefox profiles (would like to move whole bookmark folders at once if possible) into one area to organize them and then place them into the different Firefox profiles? This is all under one window user account, I am using windows 8.1. Even if you have information on how to do it on a different windows, it may still be helpful. Thanks for any input you have.
Just a note about the difference between these two things:
* "export" and "import" use an ancient HTML document format that all browsers can understand. When you import bookmarks, Firefox may place them into an Imported Bookmarks folder, or into Unsorted Bookmarks. This does not displace existing bookmarks, and Firefox does not automatically remove duplicates.
* "backup" and "restore" use a more comprehensive JSON data file, which contains extra information about your bookmarks (such as tags) not contained in the traditional export file. HOWEVER, a restore completely replaces all existing bookmarks, so the restore feature cannot be used to merge in a set of additional bookmarks.
Related support articles:
* [[Export Firefox bookmarks to an HTML file to back up or transfer bookmarks]]
* [[Import Bookmarks from a HTML file]]
* [[Restore bookmarks from backup or move them to another computer]]
Some users find the disk-based Windows Favorites folder a convenient way to organize bookmarks. If you do, too, and you do not need to preserve tags on your bookmarks, you could export each profile's bookmarks to HTML and import them all into IE11. Organize them in the Windows Favorites folder, then export from IE11 to HTML and import that file into each Firefox profile. See: [http://windows.microsoft.com/en-us/internet-explorer/add-view-organize-favorites]. -
Table design one-to-one relation
For a big table such as this: PROJECT_TABLE which contains 75 columns. But, only 40 columns are frequently searched against, i.e., the user enter some criteria on a web page, then start the search. The rest 35 columns are used on as-needed basis, i.e., only if the user want to view a specific record (in the returned search result). I am afraid that as the records grow, someday, the search will slow down (due to the large number of columns in the table).
So, I plant to break the PROJECT_TABLE into two separate tables PROJECT_PARENT (project_id) and PROJECT_CHILD (project_id) and reference them by one-to-one relation. By this way, when the user conducts the search, it will be done against the PROJECT_PARENT table; while when user wants to view a specific record, it will then retrieve the data by using one-to-one join of the two tables.
Like to know if it really help by breaking into two tables. What is your comment?
Thanks
Scottscottjhn wrote:
For a big table such as this: PROJECT_TABLE which contains 75 columns. But, only 40 columns are frequently searched against, i.e., the user enter some criteria on a we page, then start the search. The rest 35 columns are used on as-needed basis, i.e., only if the user want to view a specific record (in the returned search result). I am afraid that as the records grow, someday, the search will slow down (due to the large number of columns in the table).
So, I plant to break the PROJECT_TABLE into two separate tables PROJECT_PARENT (project_id) and PROJECT_CHILD (project_id) and reference them by one-to-one relation. By this way, when the user conducts the search, it will be done against the PROJECT_PARENT table; while when user wants to view a specific record, it will then retrieve the data by using one-to-one join of the two tables.
Like to know if it really help by breaking into two tables. What is your comment?if you proceed, performance will be worse than if you do nothing.
Do you suffer from Compulsive Tuning Disorder?
Are you bored & looking for some activity to keep you busy? -
I have a scenario, ECC-PI-Message broker. ECC sending IDOC to PI, PI execute mapping and sends data to Message borker(thru JMS channel).(with almost one to one mapping)., IDOC(AAE)-PI-JMS. Now my requirement is., from PI after mapping we need to create file with same data what ever send to Message broker and put the file in SAP folder without touching mapping. Is it possible? Please advise with the steps. We are using the ICO for this senario. Quick response is appriciated.
Hi Pratik,
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42?quicklink=index&overridelayout=true
This link might help.
regards
Anupam -
Problem with one to one unidirectional relation
Hi,
I have one problem with one to one relation ship. While i am trying to persist the objects it is showing that "parent key not found" exception. Is there any problem with my class configuration ?..
Table description:having two tables with same composite primary key
ECommSchema table has one composite primay key and the ECommSchemaDet table also has the same composite primary key. In second table (ECommSchemaDet) composite primary key fields are refering(foreign key relation ship) from the first table.
My entity classes are....
@Entity(name = "E_COMM_SCHEMA")
@Table(name = "E_COMM_SCHEMA", uniqueConstraints = {})
public class ECommSchema extends ParentEntity implements java.io.Serializable{
// Fields
private ECommSchemaDet eCommSchemaDet;
// Constructors
/** default constructor */
public ECommSchema(){
/** minimal constructor */
public ECommSchema(ECommSchemaId id, String descBriefEng, Date effectiveFrom, Currencies currencies){
this.id = id;
this.descBriefEng = descBriefEng;
this.effectiveFrom = effectiveFrom;
this.currencies = currencies;
/** full constructor */
@OneToOne(cascade = { CascadeType.ALL })
@PrimaryKeyJoinColumns({ @PrimaryKeyJoinColumn(name = "COMP_CODE", referencedColumnName = "COMP_CODE"),
@PrimaryKeyJoinColumn(name = "CODE", referencedColumnName = "SCHEMA_CODE") })
public ECommSchemaDet getECommSchemaDet(){
return eCommSchemaDet;
public void setECommSchemaDet(ECommSchemaDet commSchemaDet){
eCommSchemaDet = commSchemaDet;
@SuppressWarnings("serial")
@Entity(name = "E_COMM_SCHEMA_DET")
@Table(name = "E_COMM_SCHEMA_DET", uniqueConstraints = {})
public class ECommSchemaDet implements java.io.Serializable{
private ECommSchema ECommSchema;
// Constructors
/** default constructor */
public ECommSchemaDet(){
/** minimal constructor */
public ECommSchemaDet(ECommSchemaDetId id, ECommSchema ECommSchema, String calcBase, String multiTier, String distMethod,
Double brokerRebate, Double ticketCharge){
this.id = id;
this.ECommSchema = ECommSchema;
this.calcBase = calcBase;
this.multiTier = multiTier;
this.distMethod = distMethod;
this.brokerRebate = brokerRebate;
this.ticketCharge = ticketCharge;
/** full constructor */
public ECommSchemaDet(ECommSchemaDetId id, ECommSchema ECommSchema, String calcBase, String multiTier, String distMethod,
Double brokerRebate, Double ticketCharge, String distMethodClient){
this.id = id;
this.ECommSchema = ECommSchema;
this.calcBase = calcBase;
this.multiTier = multiTier;
this.distMethod = distMethod;
this.brokerRebate = brokerRebate;
this.ticketCharge = ticketCharge;
this.distMethodClient = distMethodClient;
// Property accessors
@OneToOne(cascade = { CascadeType.REFRESH }, fetch = FetchType.EAGER, mappedBy = "eCommSchemaDet")
public ECommSchema getECommSchema(){
return this.ECommSchema;
public void setECommSchema(ECommSchema ECommSchema){
this.ECommSchema = ECommSchema;
Error message is
Local Exception Stack:
Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: ORA-02291: integrity constraint (ETRADE_4BM.FK_ECOMM_SCH_DET) violated - parent key not found
Error Code: 2291
Call: INSERT INTO E_COMM_SCHEMA_DET (DIST_METHOD, BROKER_REBATE, CALC_BASE, TICKET_CHARGE, DIST_METHOD_CLIENT, MULTI_TIER, SCHEMA_CODE, COMP_CODE) VALUES (?, ?, ?, ?, ?, ?, ?, ?)
bind => [T, 23.0, A, 23.0, T, N, 8, 1]
Query: InsertObjectQuery(com.path.tradeManager.entities.ECommSchemaDet@44fbf5)
at oracle.toplink.essentials.exceptions.DatabaseException.sqlException(DatabaseException.java:311)
at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:654)
at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.executeNoSelect(DatabaseAccessor.java:703)
at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:492)
at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:452)
at oracle.toplink.essentials.internal.sessions.AbstractSession.executeCall(AbstractSession.java:690)
at oracle.toplink.essentials.internal.sessions.IsolatedClientSession.executeCall(IsolatedClientSession.java:150)
at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:228)
at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:214)
at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.insertObject(DatasourceCallQueryMechanism.java:346)
at oracle.toplink.essentials.internal.queryframework.StatementQueryMechanism.insertObject(StatementQueryMechanism.java:191)
at oracle.toplink.essentials.internal.queryframework.StatementQueryMechanism.insertObject(StatementQueryMechanism.java:205)
at oracle.toplink.essentials.internal.queryframework.DatabaseQueryMechanism.insertObjectForWrite(DatabaseQueryMechanism.java:564)
at oracle.toplink.essentials.queryframework.InsertObjectQuery.executeCommit(InsertObjectQuery.java:89)
at oracle.toplink.essentials.internal.queryframework.DatabaseQueryMechanism.performUserDefinedWrite(DatabaseQueryMechanism.java:750)
at oracle.toplink.essentials.internal.queryframework.DatabaseQueryMechanism.performUserDefinedInsert(DatabaseQueryMechanism.java:714)
at oracle.toplink.essentials.internal.queryframework.DatabaseQueryMechanism.insertObjectForWriteWithChangeSet(DatabaseQueryMechanism.java:602)
at oracle.toplink.essentials.queryframework.WriteObjectQuery.executeCommitWithChangeSet(WriteObjectQuery.java:162)
at oracle.toplink.essentials.internal.queryframework.DatabaseQueryMechanism.executeWriteWithChangeSet(DatabaseQueryMechanism.java:390)
at oracle.toplink.essentials.queryframework.WriteObjectQuery.executeDatabaseQuery(WriteObjectQuery.java:109)
at oracle.toplink.essentials.queryframework.DatabaseQuery.execute(DatabaseQuery.java:628)
at oracle.toplink.essentials.queryframework.DatabaseQuery.executeInUnitOfWork(DatabaseQuery.java:555)
at oracle.toplink.essentials.queryframework.ObjectLevelModifyQuery.executeInUnitOfWorkObjectLevelModifyQuery(ObjectLevelModifyQuery.java:138)
at oracle.toplink.essentials.queryframework.ObjectLevelModifyQuery.executeInUnitOfWork(ObjectLevelModifyQuery.java:110)
at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2233)
at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:952)
at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:909)
at oracle.toplink.essentials.internal.sessions.CommitManager.commitNewObjectsForClassWithChangeSet(CommitManager.java:269)
at oracle.toplink.essentials.internal.sessions.CommitManager.commitAllObjectsForClassWithChangeSet(CommitManager.java:246)
at oracle.toplink.essentials.internal.sessions.CommitManager.commitAllObjectsWithChangeSet(CommitManager.java:202)
at oracle.toplink.essentials.internal.sessions.AbstractSession.writeAllObjectsWithChangeSet(AbstractSession.java:2657)
at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.commitToDatabase(UnitOfWorkImpl.java:1044)
at oracle.toplink.essentials.internal.ejb.cmp3.base.RepeatableWriteUnitOfWork.commitToDatabase(RepeatableWriteUnitOfWork.java:403)
at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.commitToDatabaseWithPreBuiltChangeSet(UnitOfWorkImpl.java:1160)
at oracle.toplink.essentials.internal.ejb.cmp3.base.RepeatableWriteUnitOfWork.writeChanges(RepeatableWriteUnitOfWork.java:276)
at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerImpl.flush(EntityManagerImpl.java:350)
at com.sun.enterprise.util.EntityManagerWrapper.flush(EntityManagerWrapper.java:626)
at com.path.tradeManager.dao.ECommSchemaDaoBean.save(ECommSchemaDaoBean.java:86)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1067)
at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:176)
at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2895)
at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:3986)
at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:203)
at com.sun.ejb.containers.EJBObjectInvocationHandlerDelegate.invoke(EJBObjectInvocationHandlerDelegate.java:117)
at $Proxy133.save(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:233)
at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:152)
at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStubBase.java:225)
at com.path.tradeManager.daoInterface.__ECommSchemaDaoInterface_Remote_DynamicStub.save(com/path/tradeManager/daoInterface/__ECommSchemaDaoInterface_Remote_DynamicStub.java)
at com.path.tradeManager.daoInterface._ECommSchemaDaoInterface_Wrapper.save(com/path/tradeManager/daoInterface/_ECommSchemaDaoInterface_Wrapper.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.path.tradeManager.tunnelGate.RequestHandler.callMethodByReflection(RequestHandler.java:181)
at com.path.tradeManager.tunnelGate.RequestHandler.handle(RequestHandler.java:150)
at com.path.tradeManager.tunnelGate.TunnelServlet.doPost(TunnelServlet.java:37)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:290)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:380)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
Caused by: java.sql.SQLException: ORA-02291: integrity constraint (ETRADE_4BM.FK_ECOMM_SCH_DET) violated - parent key not found
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:124)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:304)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:271)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:622)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:180)
at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:542)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1027)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2887)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:2959)
at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:647)
... 92 more
Jul 8, 2008 4:17:07 PM com.sun.enterprise.server.logging.SystemOutandErrHandler$LoggingByteArrayOutputStream flush
INFO: FATAL[08-07-08 16:17:07][com.path.tradeManager.dao.ECommSchemaDaoBean->save][javax.persistence.PersistenceException: Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: ORA-02291: integrity constraint (ETRADE_4BM.FK_ECOMM_SCH_DET) violated - parent key not found
Thanks in advance
AnishHello,
I'm not sure what the FK_ECOMM_SCH_DET constraint refers to, but I assume it is to the only OneToOne reference defined. Based on the mappings shown, you have told TopLink that ECommSchema has a 1:1 to ECommSchemaDet, so that ECommSchemaDet has to be inserted first. My guess is your constraint is the oposite, requiring that ECommSchema be inserted before ECommSchemaDet. If so, just change the by directional 1:1 so that ECommSchema->ECommSchemaDet is mapped by the ECommSchemaDet->ECommSchema relationship (ie switch things).
Best Regards,
Chris -
Get One to One relation information from SMO
Hello I have 2 tables.
Business & categories. Both are connected using one to one relation.
In business table I created ForeignKey relation to Category & then I made CategoryId column of Business Table Unique Key in index.
In this way I create One to one relation between them.
So from Business I can get Category by using Following SMO Code:
foreach (Microsoft.SqlServer.Management.Smo.Table table in lstTableName)
var ReferenceData=table.ForeignKeys;
It is fine. But Now from category Table I also want to see Business Object. I know that I can travers EnumForeignKeys() But in that I can get its SetCollection data.
But I want o know the information regarding One to One relationship . that meance I want to see cardinality information from SMO.
Is there any way that I can have that information using SMO?
If ismo is not possible then some kind of SQL query is also ok for me.
Thanking you in advance..
Regards
Vipul LangaliaHi,
IMO this does not seem possible using SMO or any other method as well.
You cannot create a 1..1 relationship directly in SQL Server.
To implement such a relationship we need to create a FOREIGN KEY and then create a UNIQUE constraint on the foreign key column, this again does not guarantee 1..1 relationship but 0..1 relationship.
So what you can do is check if UNIQUE constraint is defined on the foreign key column in the referencing table.
- Vishal
SqlAndMe.com
Maybe you are looking for
-
Endless loading after trying to update Adobe Exchange in Photoshop CC
Hi, When I open Window > Extensions > Adobe Exchange, I cannot use it becouse it asks me to update. When I click yes it starts downloading and installing and popups a dialogue box saying "Adobe Extension Manager is required to install this extension.
-
Old movie/new player incompatibility, Windows only
Hi, I have searched the forums, Adobe support and web in general for help on this, but to my surprise have not found anything. I created some Shockwave movies perhaps 5 years ago for science education and have not used Director since then. I just rec
-
AppleTV 2 doesn't display or play video in iTunes library on MacBook Pro i7
please help, apple tv doesn't play or display movies on the computer. brand new appleTV 2nd gen, it plays itunes store videos, netflix and youtube videos. network works great. latest software updated. home sharing active. computer autorized. it shows
-
Dreamweaver can't find htm Floaters when loading
I get the following errors (see screenshots) and more like them when opening Dreamweaver. It does eventually open but is very unstable and crashes frequently (Mac OSX Mountain Lion)
-
Instead of sending a song to itunes as an .m4a how do you send one as an .mp3.......or can you convert it in itunes?