DB links and GLOBAL_NAMES
Hello,
We are facing a situation where we need to do the following:
1.OracleDB1:user1.1, user1.2
2.OracleDB2:user2.1, user2.2
3.AdvancedReplication between OacleDB1 and OraleDB2
4.databaselinks:
DBL1:in user1.1 schema to user2.1
DBL2:in user1.2 schema to user2.2
The issue is that Oralce advanced replication need global_names=true, and this conflict with the 4th point listed above.
Please, is there any solution for that?
Thanks and Cheers,
Tewfik
That wil not give me column names .
Thanks
Message was edited by:
aalishan
Similar Messages
-
How to update link and import data of relocated incx file into inca file?
Subject : <br />how to update link and import data of relocated incx file into inca file.?<br />The incx file was originally part of the inca file and it has been relocated.<br />-------------------<br /><br />Hello All,<br /><br />I am working on InDesignCS2 and InCopyCS2.<br />From indesign I am creating an assignment file as well as incopy files.(.inca and .incx file created through exporing).<br />Now indesign hardcodes the path of the incx files in inca file.So if I put the incx files in different folder then after opening the inca file in InCopy , I am getting the alert stating that " The document doesn't consists of any incopy story" and all the linked story will flag a red question mark icon.<br />So I tried to recreate and update the links.<br />Below is my code for that<br /><br />//code start*****************************<br />//creating kDataLinkHelperBoss<br />InterfacePtr<IDataLinkHelper> dataLinkHelper(static_cast<IDataLinkHelper*><br />(CreateObject2<IDataLinkHelper>(kDataLinkHelperBoss)));<br /><br />/**<br />The newFileToBeLinkedPath is the path of the incx file which is relocated.<br />And it was previously part of the inca file.<br />eg. earlier it was c:\\test.incx now it is d:\\test.incx<br />*/<br />IDFile newIDFileToBeLinked(newFileToBeLinkedPath);<br /><br />//create the datelink<br />IDataLink * dlk = dataLinkHelper->CreateDataLink(newIDFileToBeLinked);<br /><br />NameInfo name;<br />PMString type;<br />uint32 fileType;<br /><br />dlk->GetNameInfo(&name,&type,&fileType);<br /><br />//relink the story <br />InterfacePtr<ICommand> relinkCmd(CmdUtils::CreateCommand(kRestoreLinkCmdBoss)); <br /><br />InterfacePtr<IRestoreLinkCmdData> relinkCmdData(relinkCmd, IID_IRESTORELINKCMDDATA);<br /><br />relinkCmdData->Set(database, dataLinkUID, &name, &type, fileType, IDataLink::kLinkNormal); <br /><br />ErrorCode err = CmdUtils::ProcessCommand(relinkCmd); <br /><br />//Update the link now <br />InterfacePtr<IUpdateLink> updateLink(dataLinkHelper, UseDefaultIID()); <br />UID newLinkUID; <br />err = updateLink->DoUpdateLink(dl, &newLinkUID, kFullUI); <br />//code end*********************<br /><br />I am able to create the proper link.But the data which is there in the incx file is not getting imported in the linked story.But if I modify the newlinked story from the inca file,the incx file will be getting update.(all its previous content will be deleted.)<br />I tried using <br />Utils<IInCopyWorkflow>()->ImportStory()<br /> ,But its import the incx file in xml format.<br /><br />What is the solution of this then?<br />Kindly help me as I am terribly stuck since last few days.<br /><br />Thanks and Regards,<br />Yopangjo
>
I can say that anybody with
no experience could easily do an export/import in
MSSQLServer 2000.
Anybody with no experience should not mess up my Oracle Databases ! -
Getting links and its names from a html file
Hi everyone
My problem about the a getting links with name from a html file. For example
İn a web page in this site ?SUN? when use click SUN the browser open http://java.sun.com
İ want both of them, so the links and name. I can succeeded the get link but i don t know how to get the link name.
For example :
<B>setRightComponent(Component)</B>
İn this code segment i want to get B tag. But how i don t know. To get A tag i used this code
List result = new ArrayList();
try {
// Create a reader on the HTML content
URL url = new URI(uriStr).toURL();
URLConnection conn = url.openConnection();
Reader rd = new InputStreamReader(conn.getInputStream());
// Parse the HTML
EditorKit kit = new HTMLEditorKit();
HTMLDocument doc = (HTMLDocument)kit.createDefaultDocument();
kit.read(rd, doc, 0);
// Find all the A elements in the HTML document
HTMLDocument.Iterator it = doc.getIterator(HTML.Tag.A);
while (it.isValid()) {
SimpleAttributeSet s = (SimpleAttributeSet)it.getAttributes();
String link = (String)s.getAttribute(HTML.Attribute.HREF);
if (link != null) {
result.add(link);
it.next();
İ can use B tag but i don t know hot to get its value because it has no prefix such as HREF....
i am sorry if i use a bad explanation style or incorrect word.import java.io.*;
import java.net.*;
import javax.swing.text.*;
import javax.swing.text.html.*;
class GetLinks
public static void main(String[] args)
throws Exception
// Create a reader on the HTML content
Reader reader = getReader( args[0] );
// Parse the HTML
EditorKit kit = new HTMLEditorKit();
HTMLDocument doc = (HTMLDocument)kit.createDefaultDocument();
doc.putProperty("IgnoreCharsetDirective", Boolean.TRUE);
kit.read(reader, doc, 0);
// Find all the A elements in the HTML document
HTMLDocument.Iterator it = doc.getIterator(HTML.Tag.A);
while (it.isValid())
SimpleAttributeSet s = (SimpleAttributeSet)it.getAttributes();
String href = (String)s.getAttribute(HTML.Attribute.HREF);
int start = it.getStartOffset();
int end = it.getEndOffset();
String text = doc.getText(start, end - start);
System.out.println( href + " : " + text );
it.next();
// If 'uri' begins with "http:" treat as a URL,
// otherwise, treat as a local file.
static Reader getReader(String uri)
throws IOException
// Retrieve from Internet.
if (uri.startsWith("http:"))
URLConnection conn = new URL(uri).openConnection();
return new InputStreamReader(conn.getInputStream());
// Retrieve from file.
else
return new FileReader(uri);
} -
When I search for a website it itakes me to another website. I will click on a link and it takes me to something completely different or yellow pages etc. Please help I am very frustrated and not very computer savy! Thanks! Jen
Hi Jeff I have uninstalled Muse from my applications and have tried to download the new version but it displays a message 'file not found'. I have included a screenshot.
-
Hello Firefox,
I am having problems with my Firefox's image processor I believe. My web browser is fine but then a few minutes later I get some weird look on my page. It then just stays here and I can't fix it. When I go to Yahoo all the links and images do not look normal. I really cannot explain this and wish I could send a picture instead. When I go to the Log in page for Facebook I do not see the image of the small faces networking around the world. It's blank and the links are widely spread apart. With YouTube the page is also distorted. Nothing is arranged properly. I can watch videos. However when I go to someone's profile or a playlist videos cannot play or show up. It says I need to update my Java player and it is already updated. It still happens when I uninstall and re install back. I was only able to fix this problem by uninstalling everything related to Firefox. I do not know how to solve this any other way. I don't like it when all my information is lost such as saved passwords and bookmarks. If there is any way to solve this thanks. I don't want to uninstall this again.Your above posted list of installed plugins doesn't show the Flash plugin for Firefox.<br />
See [[Managing the Flash plugin]] and [[Installing the Flash plugin]]
You can check the Adobe welcome and test page: http://www.adobe.com/software/flash/about/
You can use this manual download link:
*http://kb2.adobe.com/cps/191/tn_19166.html#main_ManualInstaller -
I just updated my 3GS to the 6 and everything has turned out well, but when i started signing up for the imessage i ran into some problems. I went through each step as it asked and then it sent a verification link to my email and thats where im lost at. I went to my email and clicked on the link and it says my account has already been verified. When i go back to settings and down to messages where you turn on imessage it says "waiting for activation. What is going on? thanks in advance
First thing to try is to reset your device. Press and hold the Home and Sleep buttons simultaneously ignoring the red slider should one appear until the Apple logo appears. Let go of the buttons and let the device restart. See if that fixes your problem.
-
Safari 6.0 crash when right clicking a link and choosing open in new tab
Hi all, just a general question. I admit i did not search the forums yet. Hopefully this little annoyance can be resolved.
When using safari on say CNN.COM i'll right click on a link and choose Open in new tab. safari randomly disappears. no crash warnings, just gone. I can open it right up and be fine sometimes all day. This has happened to me about 5x since ML was released (i wiped my laptop the day it came out)
This has happened on a couple of different website at different times of the day. only safari was running. No other apple apps have this issue.
I have a MacBook Pro from earily '08 type 4,1
i have only apple software on this machine
i do have adobe flash installed v11.3 updated today.
i do have lastpass enabled
i do have ad-block disabled
While i'm waiting for help from you guys i'll disable all addon's and try to remove adobe to see if that is the issue. Is there any other steps i can try like delete .plist file or maybe even trying a new user profile. I am a IT professional and am not afraid to get my hands dirty trying to get this resovlved.
Thanks in advance.
P.S. i'll search the forums too and if i see a similar post i'll remove this one.
Bill Siegfried.Launch the Console application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Console in the page that opens.
Step 1
Enter the name of the crashed application or process in the Filter text field. Post the messages from the time of the last crash, if any — the text, please, not a screenshot.
Important: Some private information, such as your name, may appear in the log. Edit it out by search-and-replace in a text editor before posting.
Step 2
Still in the Console window, look under User Diagnostic Reports for crash reports related to the process. The report name starts with the name of the crashed process, and ends with ".crash". Select the most recent report and post the contents — again, the text, not a screenshot. In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.) Please don’t post shutdownStall, spin, or hang logs — they're very long and not helpful. -
I use symbolic links and program shortcuts as a way to easily open different Firefox profiles ie. one for casual/personal use and another for work. This works well, but I get the "Firefox is already running, but is not responding" error message if I try to open external links with FF as my default browser. FF is actually open and running fine, but I guess it doesn't acknowledge this fact because of how I'm originally starting the process.
I wasn't able to add the symbolically linked executables to the default program pane. Is there a way to bypass this error or other way to fix this?
The solution to the question linked below is what I'm using to open the different FF profiles.
http://superuser.com/questions/255312/pin-same-app-multiple-times-in-windows-7hello, this is probably happening when you run the default profile with the -no-remote switch.
http://kb.mozillazine.org/Profile_in_use -
I want to click on a link and have it open, how do I do that, without right clicking?
Click the link with the scroll wheel.
-
Any way I attempt to open new tabs, be it clicking on the new tab button or using the short-cut Ctrl-t, I am unable to open any new tabs on my browser window.
The only way I have found that I can open a new tab is to right-click on a link and instruct that link to open in a new window.Try disabling the Ask Toolbar extension.
-
Links and destinations problems - page view
Hi there,
I'm working on a large PDF in Adobe Acrobat 9 Pro. This PDF has a LOT of internal links, and I want to link to a page view, and inherit zoom. Not only do I have to manually change the zoom to "inherit zoom" after I create a link, but Acrobat has stopped saving my changes.
Things were going along swimmingly for awhile - I was creating links, making the destination a page view (so that the user can find the appropriate glossary entry I'm linking them to), and then going back and choosing "Inherit Zoom". And then copying the link and pasting it throughout the document as I needed. all great. Until, randomly, one of the links didnt' test right. I clicked on it and was taken to the TOP of the page, not the page view - its action was set to "Go to a page in this document" instead of "Go to a page view". So I deleted that link, and started over with a fresh one, making sure it was set to "Go to a page view". Then I copied that link, and pasted it 2 pages later. I tested that second link, and once again it just took me to the top of the page. I tested the original one - the one I made to replace the faulty one 2 pages ago - and even though I had JUST set it to page view, it too just went to the top of the page.
This is so frustrating - Acrobat is literally just ignoring my commands. I am at a loss as to what to do. Please help!Somewhere you are doing an add to the vector without first clearing it somewhere...
-
Hi,
Can someone please give me some input on the following warning in the JDeveloper online help!
"Warning: You cannot create an EJB finder view link that expresses the same relationship as a CMR."
I'm new to EJB, BC4J and JDeveloper. I created container managed entity beans with local interfaces only to represent my data and relationships. No problems with the mapping so far.
To test the beans I used Session Facades with remote interfaces and build a sample test client.
Now I thought I could create EJB Entity Facades, EJB Finder View Objects, EJB Finder View Links and EJB Application Modules to make use of the BC4J framework in order to speed up programming clients (JSP and JClient).
So I've started studying the JDeveloper online help (which seems to be very useful) and found the above mentioned warning.
Well, better a warning than nothing at all, but some more explanations would have been even better.
Is there no need to use view links with CMR?
How to achieve the same functionality (synchronizing two view objects in a master-detail-relationship) with CMR?
Do you know any examples? I couldn't find any examples using EJB entity facades in the "sample code" area on OTN.
Any comments about other (better) architectures are also welcome. Would it be better to use BMP entity beans in conjunction with BC4J?
Many thanks for your help!
Regards,
EricSteven,
thank you for your reply and suggestions - I'll count on that. If I find time I'll read this book. It seems to be very interesting.
For educational purposes I'd like to look at both persistence implementation strategies. I agree that it looks definitly easier to use entity objects. Certainly it's also performancewise a better choice.
Anyhow, could you give me some useful tips for cmp entity beans and finder view objects?
Is there something which works completely different if I use BC4J on top of it?
How to implement a master-detail relationship in JClient (Swing) for example?
What about writing an ejbfinder which doesn't return all, but all data where the foreign key is equal to a parameter passed to the finder method and use this as the source for a detail view object. This could be the primary key of the selected master. Well, I don't know whether this is doable. But that's what comes to my mind spontaneously.
Would this be a solution? I'm still thinking about the aforementioned warning in the online help regarding view links.
I guess the problem is that the foreign key is not part of the entity bean as it's not a cmp-field. Instead you have accessor methods to retrieve a related object or a collection of objects.
I'm sure my questions are not too complicated to answer. It's only hard for a beginner to get an overview.
I'm quite confident that I'll manage this if I give my best and get some help from knowledgeable people like you Steven.
Regards,
Eric -
User clicks one link and goes to other and comes back state maintain prob
1st say 2 links r there,
aaa --> if u click on "aaa" (my requirement) as shown below.
problem : the bean values still maintaining when i go to "bbb" and come back to "aaa".
======
NOTE: when user enters all fields and clicks on button it goes to "second.jsp" their ajax response (1 table) generating. That means page wont get refreshed. (panel is fixed) only down 1 table will generate.
on FROM DATE AND TO DATE basis.
if user presses on F5 also state maintaining with the help of bean object.
i.e, say user in response table clicks on "page 5" then presses on F5 .
but problem is when user goes to "bbb" link or "ccc" or "dddd" (separate interface or link) which is not related to this
(they r nearly 50 interfaces or links) and comes back to "aaa" still old response is there.
NOTE: i can clear the bean object, but if i clear the bean object in "onload" or general i cant handle F5 issue.
bbb
ccc
ddd
sample
=====
first.jsp
=====
<jsp:useBean id="sd" class="TestPage" scope="session">
</jsp:useBean>
<jsp:useBean id="sptb" class="TestPageBean" scope="session">
</jsp:useBean>
<script type='text'/javascript'>
function testfun()
--ajax response.
forwarding to to
"second.jsp"
</script>
<%
HttpSession mdsession=request.getSession(false);
if(mdsession!=null){
String s1=sptb.getTxtname();
String s2=sptb.getTestselect();
%>
<form>
<table>
<tr><td><input type='text' name='fromdate' value='fromdate'></td></tr>
<tr><td><input type='text' name='todate' value='todate'></td></tr>
<tr><td><select name='testselect''><option value=1>aaa</option></select></td></tr>
<tr><td><input type='contains' name='txtname' value=''></td></tr>
<tr><td><input type='button' name='clickname' value='Click' onclick='testfun()'></td></tr>
</table>
</form>
<%
%>
second.jsp (this is ajax response)
=======
<%
String txtname= request.getParameter("txtname");
String testselect= request.getParameter("testselect");
String fromdate= request.getParameter("fromdate");
String todate= request.getParameter("todate");
--storing in bean
sptb.setTxtname(txtname);
sptb.setTestselect(testselect);
sptb.setTxtname(fromdate);
sptb.setTestselect(todate);
---database conn...resultset values retrieved on "fromdate" and "to date" basis
out.println("<table><tr><td>testeno</td><td></testename></td><td>fromdate</td></tr></td>");
while(rs.next())
out.println(rs.getString(3);
%>
output
====
input screen
1 fromdate
1 todate
1 selectbox
1 contains
1 button
-> after clicking on button ajax response displayed below is (with out page refresh)
1 table gets displayed on "FROM DATE" AND "TO DATE" BASIS
with paginationMichael,
Thanks a lot for the reply.
In the case you have mentioned, how does application has to know the user is 'moving away'[clicking on other role] from the application.
Thanks in advance,
Regards,
Ganga -
I clicked on a bad link, and my safari stopped working,
hi guys I clicked on a bad link, and my safari stopped working,
when I click on safari, appears a phrase,
( SAFARI QUIT UNEXPECTEDLY )
CLICK REOPEN TO OPEN THE APPLICATION AGAIN, THIS REPORT WILL BE SENT TO APPLE AUTOMATICALLY..
when I press the ok or reopen, the screen is frozen and Safari does not open.
please can anyone help me please? thanks....Malware or adware may be the culprit.
If you have a backup browser installed, download and run the AdMedic adware / malware removal tool here > AdwareMedic
Easy and only takes a minute or two.
If you can't download AdwareMedic, follow the instructions here > Remove unwanted adware that displays pop-up ads and graphics on your Mac - Apple Support -
If my iphone, ipad, MAC and macbook pro are all linked, and then I upgrade only my ipone to IOS 7.0, does that have an effect on the linking to my other MAC products. It seems my calendar has lost a lot of information since the upgrade.
If you purchased Lion for your iMac, just log into the Mac App Store from your MacBook using the Apple ID under which you purchased Lion and go to the Purchases page. You will be able to download and install Lion there.
searching the internet i found a link to upgrtade to 10.7
The only place you get get Lion is from the Mac App Store. If you found some other site, that was an illegal copy and almost certainly tied to someone else's Apple ID and hence unusable by you. If the link was just to the Mac App Store, see above.
As to the problem with synchronization to iCloud, that's not a 10.6 question, so I'd suggest you take up that specific issue in either the Lion or iCloud forums, providing full details, and someone there can probably help you sort things out.
Regards.
Maybe you are looking for
-
Failed to commit objects to server. Error while publishing reports from BW
Hi, I am getting below error while publishing reports from BW to BO. "0000000001 Unable to commit the changes to Enterprise. Reason: Failed to commit objects to server : #Duplicate object name in the same folder." Anyone having any solution for this.
-
Cannot see attachments in ios7 mail
I have both an iphone and an ipad with IOS7 installed. I received an email with a PDF attachment. When viewing the email from my MAC (Mavericks), I can see that there is a a PDF attachment in the email. But when viewing the same email message from I
-
I want to reuse a cutout of a face that I am making talk
I have very successfully gotten a face to talk using Roberts Productions training video. I have successfully merged a cutout of the face that I made using the pen tool in a video clip and gotten it to move with the body in the clip. I have done this
-
How do you change "Owners Enabled" for a drive in disk utility?
Hi all, I just got a new Mac Pro and added a couple of internal drives to it. After formatting them in disk utility I noticed that "Owners Enabled" is set to "No" for them. This concerns me. How do I set it to "Yes"? These are the things I tried: - I
-
My huband is going to be so ****** if I have to uninstall and reinstall itunes. PLEASE HELP ME! If he loses his playlists or any other information it will be devastating... he has a radio show! When I try to open itunes it says that it won't open w