Creation of triggers with transformation rules make them 'float '.
Oracle SQL Developer version 4.0.2.15 build 15.21
Datamodeler version of the 4.0.1.836 extension
I want to create triggers via a transformation script, and I just can't get it work. In short, triggers are created but are not shown anywhere. They seem to be present in the physical model, but can not be found at the level of the table. When I search the object in the physical folder I get no results whatsoever, which is odd as reopening of the model does not solve anything--triggers must be registered somewhere somehow. I can't create the objects again. Triggers are also NOT generated in the DDL. The triggers are not visible in the tab 'Triggers' to the user.
Very annoying because I don't know what's going on, or I can fix. It seems as if triggers miss a parent object, even if I add the table as reference. Try to generate several triggers with the same name don't generate errors, but just create a trigger to the "Trg # ' who model fleet somewhere.
Here is the script that I use to generate a trigger (although somewhat reduced to demonstrate the problem) (attention, requires the table to have a defined abbreviation):
importPackage(javax.swing); main(); function main(){ var tabName = read("Specify table"); // get table var table = model.getTableSet().getByName(tabName); // create requested trigger(s) createTriggers(table); } function createTrigger(pTable){ var tableName = pTable.getName(); var tableAbbr = pTable.getAbbreviation(); var seqName = tableAbbr + "_SEQ"; var triggName = tableAbbr + "_RBI_PK_INIT"; var phys = model.getStorageDesign(); var physTable = phys.getTableProxySet().getByName(tableName); var owner = physTable.getUser(); var pkColName; var pkObj = pTable.getPK(); if(pkObj != undefined){ // PK is 1 column or more? if(numberOfPKcolumns(pTable) == 1){ // find PK column var colArray = pTable.getElementsCollection().toArray(); for(i = 0; i < colArray.length; i++){ if(colArray[i].isPKElement()){ pkColName = colArray[i].getName().toLowerCase(); } } trigg = phys.getTriggerSet().createTrigger("TriggerOracle"); trigg.setName(triggName); trigg.setTable(physTable); trigg.setTriggerTime("BEFORE"); trigg.setActions("INSERT"); trigg.setState("ENABLE"); trigg.setOwner(owner); trigg.setScope("FOR EACH ROW"); // compose trigger body var triggBody = "BEGIN\n"; triggBody += " IF :NEW." + pkColName + " IS NULL THEN\n"; triggBody += " :NEW." + pkColName + " := " + seqName + ".nextval();\n"; triggBody += " END IF;\n"; triggBody += "END;"; trigg.setBody(triggBody); } } } function numberOfPKcolumns(pTable){ var cnt = 0; var colArray = pTable.getElementsCollection().toArray(); for(i = 0; i < colArray.length; i++){ if(colArray[i].isPKElement()){ cnt += 1; } } return cnt; } function read(pMessage){ var input = JOptionPane.showInputDialog(pMessage); return input; }
Here is the script I used to show me a set of triggers in the physical model:
importPackage(javax.swing); importPackage(java.awt); importPackage(java.lang); var alltrig = model.getStorageDesign().getTriggerSet().toArray(); var dlm = new DefaultListModel(); for(var i = 0;i<alltrig.length;i++){ dlm.addElement(alltrig[i].getFullyQualifiedName()); } JOptionPane.showMessageDialog(null, dlm.size()); var list = new JList(dlm); var pane = new JScrollPane(list); var dim = new Dimension( 500, 500 ); pane.setPreferredSize( dim ); JOptionPane.showMessageDialog(null, pane);
For example, I have a trigger "RELO_RBI_PK_INIT" for my table, but the trigger is not found. No not in the physical model, not in the XMLs, not by searching. It's just there, somewhere. It does not appear in the generation of DDL. Very frustrating, because I want to use a script to add triggers standardized tables without having to constantly do this manually.
Found what was the cause: I usually do not close down my laptop - or rarely at least. So I also don't close SQL Developer. I don't have problems with it when I do only work in the worksheets to sql or packages or similar forms, but DM does not manage so well. When I close sqldev and restart it, all these triggers floating etc. have disappeared, and creating new ones is not matter more. Stupid enough, never thought about it. Sorry for the trouble
Tags: Database
Similar Questions
-
I have something that I am quite satisfied, except that the lines drawn in pen are a little too 'perfect' and mechanical research. Is there a treatment that I can apply to them retroactively to make them a little more warm/organic/grungy/drawn by hand? And while I'm - y at - it something similar which could be applied to the fillings to make them more like marker/watercolor/hand made?
With regard to the features:
Apply the effect > path > course Outline
Then the effect > Distort and transform > scratch (values: 0.5-30-50, use Preview to adjust)
The order of effects in the appearance Panel is crucial. Make the rough surface must be under the contour line
Regarding the fillings: try opacity masks or the Texturino plugin
-
How can compatibility to Firefox 6 Trend Micro titanium - I make them work together?
I have not downloaded bf6 yet because it is not compatible with my virus software - has this changed? If not, is there a simple "fix" or workaround?
Thank you.You might want to take the time to call TrendMicro to check your subscription entitles you to a free update to version 2012:
- Update information: http://esupport.trendmicro.com/solution/en-us/1058977.aspx
- TrendMicro 'Call Us': http://esupport.trendmicro.com/en-us/consumer/Pages/CallUs.aspx
If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.
-
My "file, editing, display, history, Favorites, tools and help" options are hidden, I do not know how to make them visible.
This has happened
Just once or twice
== My father-in-law messed with settings and downloaded a toolbar.
Press the Alt key to display the Menu bar, then open view > toolbars and select menu bar, so it has a check mark.
-
Save an AVI with Windows Movie Maker
When I try to record an AVI with Windows Movie Maker saves the file with what I wanted, but then, instead of stopping, he continues to play the part of the beginning of the file, I tried to do, sometimes 3èmes once3 and with a table of contents as the screen saying inbetwwne directed by: and created using Windows Movie Maker. Help?
Thanks for the link, they're talking about the CPU activity, when you save a file, what is that and how to see what they are talking as in "...". the CPU activity will show pushed upward and down like Movie Maker is thinking and planning. "I now have a problem trying to save sections of the entire project that I then want to add together to make a video with about 500 pictures a.625 and between each picture, there is a fondu.25, I broke down to 100 images at the time and was able to save them as MSWMM files but now when I try and save them as files video it acts like it's going to save , but the timeline never begins to show progress and finally just fails. I know I have enough space on the computer and the images I use have not been moved from their original folder. I save all the original JPEG as BMP files files and who had worked to make videos with but now with the bland added he won't save a video.
Thank you
===================================
To see the activity of the UC... Open the Windows Task Manager
and select the performance tab.Four ways to launch the Task Manager.
(1) type... CTRL + Alt + Delete
(2) type... CTRL + Shift + ESC
(3) right click on the Windows taskbar and select... Task Manager
(4) go to... Start / run... type or copy/paste... taskmgr.exe... Press on... Come in
According to your description of the issue... your projects are
too large or complex for your system resources.Volunteer - MS - MVP - Digital Media Experience J - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.
-
Is what camcorder compatible with Windows Movie Maker on Vista Home Premium?
I'm in a bit of a dead end. I have to make and edit a film which is mostly clips stored in Windows Movie Maker on my old computer which has VISTA Home Premium/64 bit.
In most old clips (that are compatible), I have to shoot some new images. My recent purchase of a Sony camcorder does not work.
Can anyone recommend a camcorder that will have files that are compatible with Windows Movie Maker? My Sony clips seem impossible to move outside the Sony software so I can't convert them.
I'm ready to buy a new camera. I just need something compatible. Would even buy a used one on E - Bay as long as it will work with the old Windows Movie Maker.
Can anyone help?
If its on a memory card to buy a card reader, if you do not. Or if you connect the cable it should allow you to see what on it
Most camcorders these days support MP4. If it is HD. The new Panasonic cam I have here, I think that it records in MP4. Since it is 1080 p
The old who is also Panasonic may have been old, (it is not HD), but it had a firewire port.
But I think that it saved videos like WMV (I mean I don't know that it loaded in Movie maker, when I got it)
You will have either to buy a program that supports MP4, or use a video conversion program and convert to WMV
-
How to capture a video from a home made dvd to use to create a video edited with Windows Movie Maker
I have a DVD made home to a sporting event that my son has played in. I'm trying to get the DVD video in a file on my PC so that I can use it with Windows Movie Maker. I know how to create and edit a video on movie maker, but I can't seem to figure out how to capture video from this DVD. It is probably a 'rookie' question, but I couldn't find what I needed by using 'help' or 'search', so I hope someone in this forum can tell me how to do this.
I have a DVD made home to a sporting event that my son has played in. I'm trying to get the DVD video in a file on my PC so that I can use it with Windows Movie Maker. I know how to create and edit a video on movie maker, but I can't seem to figure out how to capture video from this DVD. It is probably a 'rookie' question, but I couldn't find what I needed by using 'help' or 'search', so I hope someone in this forum can tell me how to do this.
=======================================
If you're running Vista Home Premium or Ultimate, you can
be able to import files into Movie Maker directly from the
DVD... the files you want are in the VIDEO_TS folder and have
a VOB extension.Also... the info is maybe worth a visit:
DVD Movie Maker 6... in Vista Home Basic
http://www.Papajohn.org/newsletters/185-DVDtoMM6inVistaHomeBasic.htmlWhen you insert the DVD in your DVD player... close
all the windows that can open and then go to... Start /.
Computer... right click the icon for the DVD player
is in, and then select Explorer.The files you need from the DVD are the. VOB files.
You will find them in the VIDEO_TS folder. Copy them
in a folder on your hard drive.First... just try to rename one of the. VOB files to
. MPG or .avi and see if it will matter in Movie Maker.
If import works... drag the file to the timeline and
Economy/publication it to .wmv or .avi format. Then...
Re - import new video film for editing purposes.(FWIW... you can probably play the files renamed
in Windows Media Player to be sure that VOB
file to edit)If you are unable to import the files they need to be converted
another .wmv format would be a good choice.
The following free Converter may be helpful.SUPER © Simplified
Universal Player Encoder & Renderer
http://www.videohelp.com/tools/Super
(the download mirror site is faster... it is said):
Mirror download (direct link) (28.1 MB))(FWIW... it is always a good practice to create one)
System restore point before installing new software)After installing the program GREAT... open...
you will see two small circles at the top left
corner of the screen... check the UPPER circle.Now... Drag/Drop your. VOB files in the current field.
Output container... Choose wmv...
Video scale size / no change
Left, click the Encode button.
Choice: A Simple Profile / OK...
Wait...
(FWIW... I have better luck with video if I'm not
try to multi-task while a file is being converted)When the file is converted, you should find it in...
Program Files / eRightSoft / Super / exit.Or... you can type... CTRL + T.. o open the Save
Window and choose a backup folder.Good luck...
Also... try the following free software:
The following freeware can convert:
(FWIW... it's always a good idea to create a system)
Restore point before installing software or updates)Format Factory
http://www.pcfreetime.com/
(FWIW... installation..., you can uncheck
('all' boxes on the last screen)After downloading and installing Format Factory...
Open the program and choose an output folder...
(this is where you will find your files when they are
converted)Drag and drop your VOB files on the main screen...
Select "all to WMV" / OK...
Click on... Beginning... in the toolbar...
Good luck...
Volunteer - MS - MVP - Digital Media Experience J - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.
-
Why do my colors differ with Win DVD maker?
Here's the long version... I use Windows Movie Maker 2.6. I have a bunch of photos I shot in raw (Pentax K10 - D) and edited in Photoshop. In the middle of the process, I thought I'd be a good idea to calibrate my monitor, so I downloaded the software and calibrated using an old HueyPro. When I put in place the film in MovieMaker, the colors looked really good. After putting on the DVD, the colors are off. in particular, the uniforms are disabled. They should be a dark blue. On the DVD, they have much lighter air. (All the colors are a little off, but the Blues seem to be particularly affected.) If it helps, the DVD is just as bad on the PC and TV ;)
I'm sure it's a question of color profile. However, I'm over my head on how to solve this problem.In the System32\spool\drivers\color folder, including the color profile Huey. Adobe also has its own wsRGB.icc and wscRGB.icc to (c:\users\Steve\AppData\Roaming\Microsoft\Windows).ANY ideas? Thanks for your help!-SteveSorry, but I can't think of anything that would be
improve the graphics in the slide show Movie Maker
unless a custom profile would help...Movie Maker - recording movies - custom WMV profile
http://www.Papajohn.org/mm2-SavingMovies-CustomProfiles.htmlRight click / Save target as... drop in the following Vista folder:
C:\Program Movie Maker\Shared\Profiles
(you will need to create the profiles folder, if it is not there)
Profiles customized for Win XP, Movie Maker will work with
Vista Movie Maker 6.The last section of the following article explains how
Publish (save) by using a custom profile.Windows Vista
Create custom movie settings
for Windows Movie Maker
http://Windows.Microsoft.com/en-us/Windows-Vista/create-custom-movie-settings-for-Windows-Movie-MakerThe PhotoStory 3 freeware could be worth a try
but you have to start over. Personally, I think
It is a better application for slideshows with music. It will be
don't manage 300 photos (maybe less if a lot of movement)
effects and transitions are used). If the project is larger
that it... create more and import in creation of DVD...
each clip is a scene (chapter).(FWIW... it's always a good idea to create a system)
Restore point before installing software or updates)PhotoStory 3 for Windows
http://www.Microsoft.com/download/en/details.aspx?ID=11132
(works with XP, Vista)I was wondering why you use MM2.6 instead of Vista MM6?
If it was due to limited system... do you think that
likely to affect the quality of the rendered video file? -
Impossible to publish a wswmm on computer or dvd with windows movie maker, after the edition of a great project - error message stating "cannot save the movie to the specified location. Verify that the original source files used in your movie are still available, that the backup location is still available, and that there is enough available disk space, and then try again"
the source files are all there and I have more than enough space... Please help (project video wedding!)
Thank you thank you thank you...
chop my project and publish it on computer, mix files together on the creation of dvd windows... it worked!
you saved me break my laptop into 1 million pieces... thank you once again!
-
Try to burn JPEGs on a cd in "master" mode to make them playable on standard dvd players. the computer will burn on the cd and the images can be viewed on another computer, but cannot be viewed on a DVD player? any help would be great.
Hello Lackyboi,
· How you try to burn the pictures on your CD?
· What is the burning software CD that you use to burn the discs?
I suggest you burn your photos using Windows Media Player. You can read this article which will give you information on burning media with Media Player:
http://Windows.Microsoft.com/en-us/Windows-Vista/burn-a-CD-or-DVD-in-Windows-Media-Player
1. in Windows Media Player, on the Tools menu, click Options.
2. in the Options dialog box, on the devices tab, click the name of the reader of CD - R or CD - RW you use and then click on the properties button.
3. in the Properties dialog box, under the recording tab, select a slower write speed.
Thank you
Irfan H, Engineer Support Microsoft Answers. Visit our Microsoft answers feedback Forum and let us know what you think. -
I already turn to the backup car but the computer make them again, why?
I already turn to the backup car but the computer make them again, why? He made my hard drive full... If I have to delete it after a while... How to stop this thing?
Hello
What backup program utility do you use?
Meanwhile, refer to this link:
http://Windows.Microsoft.com/en-in/Windows-Vista/back-up-and-restore-frequently-asked-questions
However if you are using Windows Backup, then try to turn off shadow copy of Volume and check if the problem reappears. It manages and implements Volume Shadow copies used for backup purposes and others. If this service is stopped, shadow copies will be unavailable for backup and the backup may fail. If this service is disabled, any services that explicitly depend on will fail to start.
Steps to follow:
a. Click Start, type services and press to enter.
b. Locate the "Volume Shadow Copy" service and right click and click on "Stop".
c. close the windows Services.Please come back with more information.
-
ATTRPARENT dimension of the text attribute to several levels of construction with a rules file
Hello
My first post here.
I'm trying to create the dimension generation rule to create a dimension of the multilevel text attribute and then combine with the basic dimension.
So far, it is difficult.
With regard to my experience:
-J' have a relatively basic understanding of the rules of charge both with regard to the data loads and define the updates - I find this quite confusing area and the documentation does not help that much
-J' only started using dimensions attribute, so for me it's a new concept, but we are already quite useful in certain applications
-J' I try to automate the process of construction of dimension attribute, and then associating attributes with the basic dimension
I use the following documentation as a guide:
Building size attribute and associate attributes
http://docs.Oracle.com/CD/E12825_01/EPM.111/esb_dbag/frameset.htm?dotdimb.htm
and / or
Work with the attribute multi-level Dimensions
http://docs.Oracle.com/CD/E26232_01/doc.11122/esb_dbag/frameset.htm?ch21s06s05.html
(essentially the same source in both cases)
The ultimate goal is to replicate one of our existing recently created attribute dimensions of a cube to another.
I built a few versions of the required flat file and the corresponding rules file, but none worked.
I tend to get the following validation error message:
This field is defined as an ATTRPARENT. The following column must be a field of association attribute type.
As I got stuck so I gave to the current actual attributes and moved on to experimenting with the sample / base cube.
I built a flat file that is supposed to create a new dimension of text attribute named ABC with two attributes level structure:
ABC
A
AA
AB
B
BA
BB
and associate it with the dimension of the product in the following way
200-10 AA
200-20 AB
200-30 BA
200-40 BB
The flat file looks like this:
"AA" "A" "200-10" "A" "AA" "200"
"AB" "A" "200-20" "A" "AB" "200"
"AB" "B" "200-30" "B" "AB" "200"
"BB" "B" "200-40" "B" "BB" "200"
and the rule file has 6 matching columns with titles as follows:
Level0, LEVEL1 ABC, ABC Level0, product ATTRPARENT0, ABC ABC0, LEVEL1 product, product
all agree with what the documentation says.
The first 2 columns are intended to define and create the dimension of the attribute, while the 4 next make association...
I couldn't the above rules file to validate.
The same validation error message appeared as previously:
This field is defined as an ATTRPARENT. The following column must be a field of association attribute type.
However when I tried to actually update the outline of the mistakes of dimbuild.err file has been created which gives some additional clues:
\\ATTRPARENT column 4 must precede a numeric or datetime column attribute association
Now... Finally the interesting part...
Back to the documentation...
I don't mind if the size of the attribute is generated and then those associated with step or in two separate steps.
I try to do both tasks in one step only because that's what the documentation seems to suggest attributes at several levels.
First of all I read:
Note:
If you work with a multilevel dimension attribute or with a dimension of the attribute of the digital type, Boolean, or date, the rules file requires an additional field. See working with Dimensions of the multilevel attribute.
Yes, I work with a dimension of the multilevel attribute so the above statement applies (I guess) and so I'm going to see what works with several levels attribute Dimensions has to say.
Then, I read:
When an attribute is part of a digital multi-level, Boolean, or dimension attribute date, the source data must include columns for all generations or the size of the attribute levels.
Fair enough... so I do what they say... my attribute dimension is at several levels, so I can assume that the statement above applies...
So, I build my rule in accordance with the guidelines above.
And then, as we have already mentioned, I get the error message about ATTRPARENT and when I read, it turns out that ATTRBPAREN cannot be used for numeric or date attribute dimensions !
I'm totally confused at this point.
What about the attribute text multi-level dimensions ?
They are several levels but they are NOT numeric or date those!
The documentation does not seem to tell what to do in this case...
Anyone build something like that?
What is the thing that I'm missing?
What about
I'm glad that you got to work. I tested and that is to create the dimension attribute and associate it with the rule of the load.
You could ignore the construction size manually. Remove the attribute dimension. The rule1 go for the Dimension settings under the definition of Dimension tab. Then right-click on the product and change the properties. On the attribute tab, add 'Test' or whatever you want to call the attribute, and assign the text type. He adds the attribute and associate it with the basic dimension when it create the hierarchy. Note that the rules could actually be reversed where you create members of level 0 and then more later to create the hierarchy. Of course you must pass the size of the attribute association to the other rule
-
My pdfs are too big to convert - how to make them down to the right size?
My pdfs are 150 MB and larger, then the converter will not take them. How to make them up to a size of convert?
You will need Acrobat to reduce the size of the file, but if you have Acrobat, you can convert as well with Acrobat.
-
In Dreamweaver CM³, a big empty space appeared during high page table and a coffee table on the page. I don't see anything in the code because of this, so I'm unable to make disappear. Any suggestions? It has something to do with these cursed crates thatr Miss on the side of the page? If so, how can I make them disappear. I wouldn't mind going back to Netscape or Mozilla, formatting, if there is still to do.
Post edited by: Travis Pike
Try and fix as many errors as you can. Please come back here if you have problems.
-
How can I download the plugins and make them work
I found a great and free with several plugin. First, I tried to download one of the free plugins for Adobe C6. Following all the instructions. Then open them Adobe photoshop I opened a picture and went to change == plugins == and see listed that I had just installed, so I choose what it and said ok. is nothing happned. So, how do you use plugins? Can someone help me please?
Thank you
Thank you
The plugin is called redfield Fractalius and I saw it on a video from Adobe for PS6 == I managed to install one of their free plugins, but when I installed the Fractalius demo he just went to his destination file, but will not do anything else == I'm new to all this, but will go back and try to review question forum.
Thank you
Date: Wednesday, March 12, 2014 02:05:07-0700
From: [email protected]
Topic: how to download plugins and make them work
Re: how to download plugins and make them work
created by c.pfaffenbichler in Photoshop for beginners - discover complete discussion
Nice day!
If the plug-in is indeed suitable for use in Photoshop CS6 you can ask the plugin creator/s said.
As you have not revealed which plugin you are talking about, nor what are your OS and hardware etc, it seems unlikely that you can expect a lot of relevant help here.
Kind regards
Pfaffenbichler
Please note that the Forums Adobe does not accept attachments to emails. If you want to embed an image on the screen in your message please visit the thread in the forum to incorporate the image into the http://forums.adobe.com/message/6202124#6202124
Replies to this message received to everyone subscribed to this topic, not directly to the person who posted the message. To post a reply, or reply to this email or visit the message page: http://forums.adobe.com/message/6202124#6202124
To unsubscribe from this thread, please visit the page message to http://forums.adobe.com/message/6202124#6202124. In the Actions box to the right, click on stop Notifications by e-mail.
Start a new discussion in Photoshop for beginners to the Adobe community
For more information on maintaining your email forum notifications please go to http://forums.adobe.com/thread/416458?tstart=0.
Maybe you are looking for
-
I want to keep my firefox but have retained this Babylon and delta research and no matter what I do, he won't
-
Access my external hard drive to Windows on my new Mac
Hello world I am a new user of Mac Yosemite, recently moved from Windows and I am a passionate photographer All my photos are saved on two external hard drives of laptop computer Windows Is it possible to access outside data by car and it is hard on
-
Sony VGN - CR220E Webcam does not work after installing windows 7
I recently installed windows 7 (not updated, clean installation of windows 7 on my Sony VGN-CR220E, and now my webcam does not work. Have already tried the tricks I know and searched the web and there are many others having the same problem, and ther
-
HP Deskjet F380: HP Deskjet F380 printer all-in-one.
I need to know if it is possible to run my printer and a PC equipped with Windows XP. Or will I have to upgrade my PC? Concerning Pete Barraclough
-
laptop gave me the College