Please help: Two-Sided One-to-One Mapping issues warning when owned instance does not exist
Hello,
Is it expected behavior? I have two classes A and B, B references A and its
foreign key column is its PK
A owns B (marked as inverse-owner in JDO metadata) when I access A.getB() if
B does not exist I get a warning.
Is it to be expected? Does two sided relation always require presence of
both sides of the relation and does nto fit my need?
Is there any way to have bi-directional association in my case with owned
record being optional?
Should I use two simple one sided one-to-one or may be simple one sided from
child to owner and One-to-One with Inverse Columns from owner to child
What are disadvantages of using two one sided (simple and inverse) vs.
two-sided?
Thank you
Alex
Here is what I had to do to solve this issue:
Basically I had to add the MSSQL TCP/IP port as an end-point in Azure. After I did that, then I was able to create the data-source. However, I was only able to authenticate with a SQL account, as any domain account would return me an error saying that the
domain isn't trusted.
What puzzles me here is how come the Data Source Manager would inform me that an account username/password was invalid, but it would fail/timeout if I provided valid credentials (!?!?!!?)
Similar Messages
-
Graphical mapping issue with useOneAsMany if segment does not exist
Hi all
I have an issue with graphical mapping in an IDoc to file scenario. I need to have header level fields mapped to line item fields. Whether or not and how many source header segments of the same type exist depends on a qualifier (QUALF). This is generally working if I use the following graphical mapping:
if QUALF = 001 then <source> -> removeContext -> useOneAsMany -> splitByValue -> <target>
... with setting QUALF, <source>, and the second input for the useOneAsMany to the highest possible context node.
Nevertheless, if the segment with the qualifier 001 does not exist in the source then the mapping throws the error "Too few values in first queue in fuction useOneAsMany". Whatever I've tried, the mapping wants to execute the useOneAsMany statement anyway and I haven't found a way to omit this. Whether the target would be created with an empty value or not created at all would be secondary. Would eventually somebody have a solution to this problem?
Thanks in advance,
DanielDaniel,
try using mapWithDefault function before useAsmany
if QUALF = 001 then <source> -> removeContext -> <b>MapwithDefault</b>->useOneAsMany -> splitByValue -> <target>
I think it takes care even if the value occur in the contaxt or.
Babu -
Since I have Yosemite on my iMac I can't view PDF files in Safari anymore. It keeps telling me to upgrade my Adobe Reader, but it is the latest version. Please help? I don't have this problem on my Macbook that does not have Yosemite installed.
Back up all data before making any changes. Please take each of the following steps until the problem is resolved.
Step 1
If Adobe Reader or Acrobat is installed, and the problem is just that you can't print or save PDF's displayed in Safari, you may be able to do so by moving the cursor to the the bottom edge of the page, somewhere near the middle. A black toolbar should appear under the cursor. Click the printer or disk icon.
Step 2
There should be a setting in its preferences of the Adobe application such as Display PDF in Browser. I don't use those applications myself, so I can't be more precise. Deselect that setting, if it's selected.
Step 3
If you get a message such as ""Adobe Reader blocked for this website," then from the Safari menu bar, select
Safari ▹ Preferences... ▹ Security
and check the box marked
Allow Plug-ins
Then click
Manage Website Settings...
and make any required changes to the security settings for the Adobe PDF plugin.
Step 4
Triple-click anywhere in the line of text below on this page to select it, the copy the selected text to the Clipboard by pressing the key combination command-C:
/Library/Internet Plug-ins
In the Finder, select
Go ▹ Go to Folder
from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens by pressing command-V, then press return.
From the folder that opens, move to the Trash any items that have "Adobe" or “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari.
Step 5
The "Silverlight" web plugin distributed by Microsoft can interfere with PDF display in Safari, so you may need to remove it, if it's present. The same goes for a plugin called "iGetter," and perhaps others—I don't have a complete list. Don't remove Silverlight if you use the "Netflix" video-streaming service.
Step 6
Do as in Step 4 with this line:
~/Library/Internet Plug-ins
If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari. -
What should I do if annemen the Macbook Pro does not want a USB stick? Please Help me?, What should I do if annemen the Macbook Pro does not want a USB stick? Please Help me?
What are you talking about? What is annemen? Clarify.
-
Error while deploy mapping ora-06550 table or view does not exist
Hi everyone,
i have a target source 'U_BCK' that cointains some Oracle table.
I have also created a target schema 'BCK_OWNER' where i create some dimensions and cubes with mappings.
My mappings connect some table from U_BCK with dimension or cube from BCK_OWNER.
My repository owner is called 'rep_owner' and i used this user to create every metadata.
Now i'm trying to deploy, and i don't have any problem until deploying mappings. When i try to deploy mappings i get some errors like ora-06550,ora-00942 table or view does not exist and statement ignored.
Please help me and sorry for my english...
Thanks,
Alex.The mapping, that drives the data from one table to another is deployed to the database as a PL/SQL package. When deploying your mapping fails, it most often means that the resulting PL/SQL package doesn't compile in the database.
Using Oracle SQL Developer (or Toad, SQL Navigator or any other tool) connect to the schema on the database where you have deployed the mapping. Open the pl/sql package and compile it. That should show you the place where the compilation fails, and give you an idea as to what table it can not find. Otherwise, in SQLPLUS, you can simply give the following command:
ALTER PACKAGE THE_PACKAGE_NAME_GOES_HERE compile body;
show errors;
As the database user who owns the source tables, make sure to issue a GRANT command for each of the source tables, granting SELECT access to the database user who owns the mapping:
grant select on TABLENAME to TARGETSCHEMA.
hope this helps
Borkur -
Error while deploying map: ORA-00942 Table or view does not exist
Hi OWB experts,
I'm having yet another problem with OWB, this time when I try to deploy a mapping I get this error:
ORA-06550: line 59, column 3:
PL/SQL: ORA-00942: table or view does not exist
DIM_01_ESTCON_MAP
ORA-06550: line 93, column 3:
PL/SQL: SQL Statement ignored
If I open the package that OWB created I see the errors:
CURSOR "DEDUP_SRC_0_IN2_c" IS
SELECT
"DEDUP_INPUT_SUBQUERY2$1"."ESTADOCONEXION_ID" "ESTADOCONEXION_ID",
"DEDUP_INPUT_SUBQUERY2$1"."ESTADOCONEXION_COD_ESTCON" "ESTADOCONEXION_COD_ESTCON",
"DEDUP_INPUT_SUBQUERY2$1"."ESTADOCONEXION_DESC_ESTCON" "ESTADOCONEXION_DESC_ESTCON",
"DEDUP_INPUT_SUBQUERY2$1"."STANDARD_TOTAL_COD_TTL" "STANDARD_TOTAL_COD_TTL"
FROM
(SELECT
DISTINCT
"DIM_01_ESTCON_MAP"."GET_CONST_CA_0_ESTADOCO" "ESTADOCONEXION_ID",
"ESTADOS"."ESTADO" "ESTADOCONEXION_COD_ESTCON",
"ESTADOS"."DESC_EST" "ESTADOCONEXION_DESC_ESTCON",
"DIM_01_ESTCON_MAP"."GET_TOTAL_C_0_TTLID" "STANDARD_TOTAL_COD_TTL"
FROM
"CONSULTA"."ESTADOS"@"PROD@AYADEV_LOCATION" "ESTADOS"
WHERE
( estado LIKE 'EC%' )) "DEDUP_INPUT_SUBQUERY2$1";
Where AYADEV_LOCATION points to the module/schema/location where my source data is.
Now, I have defined three modules:
SOURCE, where I defined the tables and other objects from the original database (source data)
STAGE, where I am performing all the transformations; here I defined all the maps
TARGET, this holds the dimensions and fact tables.
Now all three modules point to different databases. The dblink for AYADEV_LOCATION has been created and shouldn't present any problems. The username that I'm using to log on to the source database is current and I can connect to it through SQL+ or any other program (TOAD, SQLDeveloper).
What could be happening here? I'm using OWB 10g R2, with Oracle DB 10g R2.
I'd really appreciate any help you could provide.
Best Regards,
--Osvaldo
[osantos]Hi,
I'm still having problems but I found out why these tables are returning errors. The username I've been given by the DBA to connect to the database is CONSULTA, but this user is only for querying purposes, the actual objects reside on a differente schema, of course, which is PROD. So the line:
"CONSULTA"."ESTADOS"@"PROD@AYADEV_LOCATION" "ESTADOS"
raises an exception because the table ESTADOS is not located on that schema, but on PROD. If I query the table from SQL Plus with:
SELECT *
FROM [email protected]@AYADEV_LOCATION
then there's no problem at all.
Why is this? How do I instruct OWB to point to the correct schema or to avoind fully qualifying the table name?
Please help me, I'm kind of confused here.
Best Regards,
--oswaldo.
[osantos] -
Please get the web site designers to fix this forum. There is no Z30 "place" and there is an error message that shows up every time.
The specified template does not exist or is emptyMake sure the SharePoint Server is joined to Active Directory. Also validate that the Web Application Application Pool account is running as a Domain User (rather than say Network Service).
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
Map integration - message GAC: Method/property does not exist
Hi
In TM when using the Map function we get the message: GAC: Method/property does not exist
Does anyone know what to do?Hi
Yes i´m sorry you are right, but actually it´s more or less what i got... I have set up the Customizing and all i get when i use the Map function in the Transportation Cockpit is this: -
Hi! I cant conect The face time betwen my iPad ,iPod and iPhone, please help me,what i need for this issue?
What is it doing when you try to facetime? also if you are using the same apple Id/email on each device, it wont work.
-
Error : Interface mapping does not exist in runtime Cache
Hello Guys
I have a simple SOAP-To-RFC connection which was working fine until recently. I have not made any changes
but the data is not getting transfered from one point to another.
I checked SXMB_MONI and saw the following error:
Interface mapping http://cincom.com/config AddConfig does not exist in runtime cache
Then I went and checked SXI_CACHE and it says 'Cache contents are upto date' with a green light.
Just to be on the safer side, I shutdown and restarted XI server selecting All tasks.
But still has the same problem.
Can some one help me with this? I would really appreciate it.
Thanks
RamHi,
We too faced the same problem.
Do the following
1) Delete the Interface mapping and re-create it
2) First test your Config with test tool
/people/paul.medaille/blog/2005/06/24/test-your-xi-configuration-with-the-new-test-tool
I think here you will find the error on Interface mapp or Receiver agreement
Then delete the interface det and receiver agreement also and re-create those.
Make sure that u have provided the sample payload which is taken from MONI--Inbound msg--Payload
Then finally u will get the success
Regards
Seshagiri -
I added a contact to my iphone 4s and when I did a sync manually it is not showing up on my MAC in address book - please help....I checked off sync all contacts in iTunes - does it only work one way from computer to phone?
Is it because the new itunes looks different.
View > Show Sidebar
Then it should work just the same as on your old computer. -
When iPhone is connected to PC, it shows in itunes but Autoplay does not open for me to copy photos. I tried the Control Panel, changing Autoplay settings but no use. I use a Windows Vista. Please help! All my little ones' pictures are on my iPhone 3GS.
I tried hard reset on my iPhone. I tried restarting laptop and iPhone. I tried a different laptop. I tried removing driver and reinstalling from Device Manager but did not find a driver other than "Apple Mobile Device USB Driver" under "Universal Serial Bus controllers" which I heard shouldn't be uninstalled.
Anything I haven't tried?
HELP!A bit confused by your statement
bcboarder wrote:
. I do not understand why the music is clearly on the Ipod but wont reconize it anywhere.
Are you seeing your music listed in the iPod screen, or in Win explorer as in your earlier post?
I can see all the songs in my Edrive>al's Ipod> Ipod Control> Music folder.
A corrupted iPod database, will report zero music used, and have your music size reported as others, so you wont see the music in the iPod screen. Sorry, I thought there was some hope for you with iPodAccess, in recovery of the corrupted iPod database with your ratings.
You can try to borrow and use the Mac Disk Utility ->First Aid ->Repair.
Of course, if your iPod Hardisk is in a bad state, from the Disk Diagnostic report, then all my suggestion are futile. -
Hi i am getting an error like this while installing Live Cycle Server " The file merge_modules\lc11_common_iam_zip does not exist This file is required sucessfullly run the Live Cycle Installer.Can any one help me on resolving this issue it would be of great help..thanks .
I think in your situation it would be worth trying the things listed under the event. It does have to do with FRS and it's easy to do. I've used it to fix journal errors after a server unexpectedly restarts and sysvol stops replicating. I
could see where it could fix your issue, and if it doesn't, you're out 5 minutes. :)
The listed registry key does not exist
Expand HKEY_LOCAL_MACHINE.
Click down the key path:
"System\CurrentControlSet\Services\NtFrs\Parameters"
Double click on the value name
"Enable Journal Wrap Automatic Restore"
-
I see "Add New Window" but..."Add New Tab" button does not exist in the Window -Customize Toolbar any longer, and not on my Navigator toolbar. Where can I find one to put on my Navigator toolbar, please?
ThanksIt's the "+" on the Tab bar. You can move it to the Navigation Toolbar if you prefer. When you start Customize, the + moves to the far right end of the Tab bar. You can drag it where you want (see attached image).
Any luck? -
Destination does not exist (help please)
Background:
- Using Flex Builder 3 plugin for Eclipse
- Downloaded latest BlazeDS release build
- Running Tomcat 6.0.16
=======
First I want to note the samples that come with BlazeDS run
absolutely fine.
So I created a new project in Flex Builder 3. I'm just trying
to get something simple working at first so my one mxml file is as
follows (I stripped out everything except the code in question):
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute">
<mx:RemoteObject id="ro"
destination="enrollmentService"/>
<mx:DataGrid
dataProvider="{ro.getEnrollmentList.lastResult}" width="100%"
height="100%"/>
<mx:Button label="Get Data"
click="ro.getEnrollmentList()"/>
</mx:Application>
=====
I created and EnrollmentService class and I'm sure it's
getting compiled to WEB-INF/class...I see .class file there.
I added the flex folder to the WEB-INF folder. My
remoting-config.xml is as follows (because of problems I specified
a default and repeated it to be sure):
<?xml version="1.0" encoding="UTF-8"?>
<service id="remoting-service"
class="flex.messaging.services.RemotingService">
<adapters>
<adapter-definition id="java-object"
class="flex.messaging.services.remoting.adapters.JavaAdapter"
default="true"/>
</adapters>
<default-channels>
<channel ref="my-amf"/>
</default-channels>
<destination id="enrollmentService">
<properties>
<source>test.service.EnrollmentService</source>
</properties>
<channels>
<channel ref="my-amf"/>
</channels>
</destination>
</service>
My services-config has the following channel defined:
<channel-definition id="my-amf"
class="mx.messaging.channels.AMFChannel">
<endpoint url="
http://{server.name}:{server.port}/{context.root}/messagebroker/amf"
class="flex.messaging.endpoints.AMFEndpoint"/>
<properties>
<polling-enabled>false</polling-enabled>
</properties>
</channel-definition>
My web.xml is a follows:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD
Web Application 2.3//EN" "
http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>RemoteTest</display-name>
<context-param>
<param-name>flex.class.path</param-name>
<param-value>/WEB-INF/flex/hotfixes</param-value>
</context-param>
<!-- Http Flex Session attribute and binding listener
support -->
<listener>
<listener-class>flex.messaging.HttpFlexSession</listener-class>
</listener>
<!-- MessageBroker Servlet -->
<servlet>
<servlet-name>MessageBrokerServlet</servlet-name>
<display-name>MessageBrokerServlet</display-name>
<servlet-class>flex.messaging.MessageBrokerServlet</servlet-class>
<init-param>
<param-name>services.configuration.file</param-name>
<param-value>/WEB-INF/flex/services-config.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>MessageBrokerServlet</servlet-name>
<url-pattern>/messagebroker/*</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
</welcome-file-list>
</web-app>
====
So I start Tomcat from Eclipse and run the app by clicking
the Run button in Eclipse. The app comes up fine, but when I press
the "Get Data" button. I get the error message below. For the life
of me I don't understand why. I clearly have a default channel AND
I have specified a channel. This is so frustrating...any help would
be greatly appreciate.
====
[RPC Fault faultString="[MessagingError message='Destination
'enrollmentService' either does not exist or the destination has no
channels defined (and the application does not define any default
channels.)']" faultCode="InvokeFailed" faultDetail="Couldn't
establish a connection to 'enrollmentService'"]
at mx.rpc::AbstractInvoker/
http://www.adobe.com/2006/flex/mx/internal::invoke()[E:\dev\3.0.x\frameworks\projects\rpc\ src\mx\rpc\AbstractInvoker.as:257
at mx.rpc.remoting.mxml::Operation/
http://www.adobe.com/2006/flex/mx/internal::invoke()[E:\dev\3.0.x\frameworks\projects\rpc\ src\mx\rpc\remoting\mxml\Operation.as:197
at
mx.rpc.remoting::Operation/send()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\remotin g\Operation.as:113]
at Function/
http://adobe.com/AS3/2006/builtin::apply()
at
mx.rpc.remoting.mxml::Operation/send()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\re moting\mxml\Operation.as:170]
at Function/
http://adobe.com/AS3/2006/builtin::apply()
at mx.rpc::AbstractService/
http://www.adobe.com/2006/actionscript/flash/proxy::callProperty()[E:\dev\3.0.x\frameworks \projects\rpc\src\mx\rpc\AbstractService.as:285
at
FlexJ2EE_test/___FlexJ2EE_test_Button1_click()[C:\Prj\workspace\RemoteTest\flex_src\Remot eTest.mxml:36]While creating a Flex project using Flex builder, did you
select the server type for your project? If you did not select a
server type for your flex project, did you configure your compiler
to include your services-config.xml using the -services argument?
In your project's compiler settings, add -services
"configurationfiles/services-config.xml" argument to the compiler
arguments. The path should point to your services-config.xml.
If the above mentioned steps were completed and still your
facing problem, can you please try running "clean" on your project.
Hope this helps.
Maybe you are looking for
-
Very urgent!! Problems with the H.263 codec on JMStudio
I downloaded the JMF Version 2.1.1e ' version. The H.263 codec doesn't work. I noticed that the file sound.jar wasn't in the lib directory of JMF-2.1.1e. Is for this reason I have problems with the H.263 codec?? Thanks for your help.
-
Problem Sync Contacts between my laptop and my ipod touch
Hello guys, I have a problem with my contacts, this is the issue: I have all my contacts in exchange, I sync this contacts with my laptop, and everything looks ok... if I change some contact in exchange I can see this change in my laptop.. the proble
-
Where are iphones stored once they have been manufactured?
I am trying to put together a report, and was wondering where the iphone 4 is stored once being manufactured in asia? anywhere in the world, before being transported from there. thank you
-
Software Protection Service Failed to start - 0x80070005
Software Protection Service Failed to start - 0x80070005 in Windows 8.1 running on a HP Envy x360 Touch Smart. I need help. It seems this error is preventing me from installing Office 2013. Any help will be greatly appreciated.
-
Cannot download or save files with firefox
I try to download attachments from various emails, or updates off of various sites but the download/save window pops up for a second and goes away. I can access the same things just fine using IE or Chrome, but it will not work with firefox. I've tri