Where the programmatic point of view is stored in the database.
Hi allWhat will be the scope of the views that are created by programming in the database.
they will store in any temporary tabels in the database, anyone would give an idea.
Thanks in advance.
Renuka
Renuka,
Although we do not require that any object database like (views / synonyms) to create the programmatic view object we need a database connection to initially create the ProgViewObject.
Whence your data? Other sources of data in DB?
And as you said ViewObjects will be only held at the Application level in DB used for objects of the BC.
In this case even if we ProgViewObjects the BC project in a large number is should not affect performance on the side of demand on the underlying DB used to correct App?
Not really. ViewObjects themselves has not only any space in DB (these are simple XML files - with or without related java classes). However, the VO must contact the DB to retrieve data. If you do not use the database (that you used to create a connection), to fetch data (and using a different data Source), then the answer to your question is Yes. It would not impact on the underlying DB performance. However, there would be on the Data Source, you use for programming of your.
Arun-
Tags: Java
Similar Questions
-
Save the results locally when the database is offline
Hello world!
I work to justify the implementation of teststand for automation of test on the company where I work, far it seems that is the way to go, but they are some of the senior management, hesitating on this subject. One of the things that will be great for us (he will give him a +) is the ability to store the results locally on the workstation, where the database is offline (failure of the server or client disconnected from the network), and once he returns, the data is transferred to the database.
We want to use SQL server for the database. I thought creating a SQL Server express locally on the computer, so all of the results will always be saved in the station first, I tried to use the sql import/export wizard to import data from a sql server to another, but I did not find any way to do it automatically, we are looking for one of the solution of the box free of charge or regular very very cheap It will be installed on each workstation.
Thanks for your help and congratulations!
Abelino,
You can take advantage of the new features in later versions of TestStand. In 2012, and most recent, you can write raw results. As said Dennis you could just always write raw results. Then use the TestStand Offline results new treatment utility write those in the database: http://zone.ni.com/reference/en-XX/help/370052K-01/tsref/infotopics/offline_processing_utility/
You can create a service or something to do.
BTW - Plugins can run in its own thread.
-
Convert the database to 10 v to v11
Hello
I'm unable to convert and merge a v10.1 v11 user database. I made a backup of Usrcomp_S.usr to another folder in Windows then used the merger of Multisim and Ultiboard and conversion tools. Here are the steps I followed:
1 tools > Database > convert database...
2. Select Source in the dialog context database names.
3. navigate to the database using the Windows dialog box. Select my copy of database using "All Files." Curiously he is not using the default filter. Select OK and then the following error:
The path of the database: "database\UsrComp_S.usr" was not found or not set.
You want to select the path where the database of component?4. Select Yes then select my now visible database of the dialog Windows.
5. press start to convert my database to aid auto rename. Briefly, something happens that seems to be the conversion and the window convert watch Done
6. close the convert and open tools > database > merge a database...
7. Select a name of the component database
8. Repeat step 3 above. The allegedly converted database is still not visible but this time there is no option to "All Files." In the file name drop-down box I choose the path previously used for the database copy. Select open and receive the following error message:
The path of the database: "database\UsrComp_S.usr" was not found or not set.
You want to select the path where the database of component?9. Select Yes then select my now visible database of the dialog Windows.
10. press on open and receive the following error message:
Error: Could not open the database [user data].
The file format/version does not, and cannot be merged.
If the database is from a previous version, use convert the database.Help, please. This should be a simple process of a button to import parts of the user of a previous version.
Richard
Hi Richard,
I think you are trying to convert the incorrect database. From the name you specified (Usrcomp_S.usr), it's just a CDS model uses to create a user database, it is not your user database.
On Windows XP, the user database is located in C:\Documents and Settings\
\Application Data\National Instruments\Circuit Design Suite\11.0\database\ On Windows Vista/7, the user database is located in C:\Users\
\AppData\Roaming\National Instruments\11.0\database\ -
Connection to the database Oracle by TOAD
Hi experts, I have a problem connecting to Oracle DB...
I installed Oracle Enterprise DB in Windows Server 2008, in the Virtual Box platform...
now, I need to connect to the DB, Toad, since another platform (windows 7)...
This is the erroruser: xxxxxx password: xxxxxxxx direct > host: 10.0.2.15, port: 1521 sid: books connect as: normal connect using: oraClient11g_home1
hope someone can help me.ORA-12170:TNS:Connect timeout occurred
Thanks in advance...Go to the server where the database is installed. Check if you have installed or not on the server listener?
Go to the server
go to the command prompt
lsnrctl statusAfter the release
-
Cannot start the database instance - cannot open the spfile
Here's what I did, that lead to a problem starting my database instance. It is a database that I just load data, and I do not have a backup yet :-(
I created a structure for a new database and data loaded from a different database, which has been a very long process of becasus of the amount of data.
Today, I decided to create a model of this database by using the Configuration Wizard.
Before you begin the management of models, I decided to remove an old database that was never created correctly. I used the Setup Wizard to remove this database and got an error that SPFILEROVM. There is no such thing as ORA. But the removal has completed, and I worry too much.
Then, I started to create my GoodDatabase model. I stopped with the message again that the SPFILEROVM. ORA (from the old database) did not exist. But it is already stopped my GoodDatabase and I can't restart. I use OEM Database Control for restart, but I get the complaint about the SPFILEROVM once again. ORA of the old database. How can I solve this problem? The error of OEM is attached below. The database is under Windows Server 2003. I can connect in OEM to another database instance (orcle) but I do not have the OEM rack.
Thanks in advance.
SQL * more: release 10.2.0.3.0 - Production the Sea 2 08:42:15 Feb 2011
SQL > SQL > connect to an idle instance.
SQL > ORA-01078: failure in the treatment of system settings
ORA-01565: error to identify the file ' F:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\SPFILEROVM. ORA'
ORA-27041: could not open the file
04002 - OSD: could not open the file
S/O-error: (OS 2) the system cannot find the file specified.
Disconnected1 find the log of alerts for this instance
2. look for the section where the database is put into service. All default settings will be listed here. Copy the parameters by using Ctrl + c
3. create a file F:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\initrovm.ora
4. Paste the settings in this file
5. start a dos commands prompt
6 set oracle_sid = rovm
7 sqlplus / as sysdba
8. create spfile from pfileYour database must begin now.
-----------
Sybrand Bakker
Senior Oracle DBA -
will not connect to the database
So, I have a database on our server that I have access via phpmyadmin.
I need to connect it to my dreamweaver site so I can add a dynamic content.
I entered the information on the test server were the same as the remote info because we have not specifically set up a test server and can also 'test' on the regular server.
When I get the information I have on the database in the control panel applications to connect and create a Recordset. I get the error that it cannot communicate with the testing server.
any idea?
When you set the MySQL connection, set SQL server as localhost?
The test server is not necessarily distinct from the regular server. It doesn't have to be defined so DW knows where the database.
I hope this helps.
-
Logon sqlplus from the database server do not.
I want to export data from the a database. I can sqlplus as a particular user (owner of the table) from a remote server. But when I try to sqlplus or run the exp from the database server (the server where the database is running), I refused to sign. Is there a configuration in the database in order to prevent this loggin user from the database server
/U01/Oracle/app/product/10.2.0/DB/bin-> sqlplus testuser / *.
SQL * more: release 10.2.0.3.0 - Production on Thu Apr 29 14:28:30 2010
Copyright (c) 1982, 2006, Oracle. All rights reserved.
ERROR:
ORA-01017: name of user and password invalid. connection refused
/U01/Oracle/app/product/10.2.0/DB/bin->. / testuser exp / * file=/tmp/interface.dmp tables = interface
Export: Release 10.2.0.3.0 - Production on Thu Apr 29 14:28:53 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
EXP-00056: ORACLE error 1017
ORA-01017: name of user and password invalid. connection refused
TIA
RaviTry this.
1. the cd in your home directory.
2. starting at the prompt, so source oraenv
-> . oraenv
3. When prompted enter the name of your database, in the same case, as in/etc/oratab.
4. try to connect now
-> sqlplus testuser / *.If it works for you, then you must ensure you environments ORACLE_HOME, ORACLE_SID and path are correct - as oraenv does for you.
-
Compression/free space in the database.
Hello
I need to copy the version of database 8.1.7.4 on solaris 9 to another box under solaris 10 to upgrade to 10 gr 2. The size of the data files (all data files) has data is about 600 GB where the database size is approximately 270 GB. The traget box has storage capacity is 450 GB. What all the options and best practices for implementing this plan. Time is also a problem. The two servers are not in the same place of geo.
Please give me your expert advice.
Thank you
NaveedTransportable tablespaces require copies data from the source to the destination files. In this case, you have not enough space on the destination for the data files of the target system.
Justin
-
I need to see what is in a cookiefile, where the cookies are stored?
I need to know where the cookies are stored files, so I can study what happens in them (cookiefile).
Hi pasmark,
You should take a look at the article delete cookies to remove the information from Web sites is stored on your computer. It will show you how to view, manage, and delete cookies in Firefox.
Hope this helps!
-
The specified display list is invalid or points of view have been selected using a different pattern
Hello Experts,
I get an error when I perform the aggregation using the aggregation view which was working fine before. We have ASO cube.
'The list of the specified view is invalid or points of view have been selected using a different scheme'
No major changes has been (as change the ownership/megaupload type etc).
No addition of level in one of the dimension.
Only members are added at the same level
Please let me know what would cause to become invalid.
Thank you
Raja Mohamed
RajaMohamed wrote:
The change is only the addition of members at the same level.
Only way I can see what is possible is if the dimension change your attributes, and where you had already all members, associated with an attribute, you have now a few not associate members.
Take a good copy of the outline (or restore from backup) and run the MaxL following on the old and the new cubes:
query database app.db list aso_level_info;
That should show you where the differences are.
-
Access the views Where the access to the underlying data, through a role
I have a user (say User1) who granted select access to motherlode via a role table
User1 has a bunch of useful views created I want User2 to have access to the. User2 should have access only to these points of view, not to the underlying table.
User1 can grant access to his point of view because it has no direct access granted to motherlode tables.
I managed, based on a technique that I have for the most part, but do not entirely understand, give User2 access to data through a function. The solution is below.
My general question is: y at - it an easier way (other than the grant direct access to the motherlode User1 tables)?
My question is: the definition is possible shorter somehow. I know I can automate the production of the code for some of the statements using metadata, but, for example, is it possible to base the declaration of type (t_p5) on the existing view? (I have about 15 views I need to provide access)
Solution is, where v_p5 is the original view:
User 1:
CREATE or replace type t_p5 as an object
(< columns and data types of v_p5 >
) ;
CREATE or REPLACE TYPE t_p5_tab AS TABLE OF THE t_p5;
FUNCTION to CREATE or REPLACE f_provide_p5 RETURN t_p5_tab
PIPELINED IS
l_cur SYS_REFCURSOR;
l_rec v_p5% rowtype;
BEGIN
L_cur OPEN FOR ' SELECT * FROM v_p5';
LOOP
EXTRACTION l_cur
IN l_rec;
EXIT WHEN l_cur % NOTFOUND;
GUIDELINE (t_p5 (area = > l_rec.region))
, district_name = > l_rec.district_name
, current_month = > l_rec.current_month
, p_current = > l_rec.p_current
, previous_month = > l_rec.previous_month
, p_prev = > l_rec.p_prev
, diffp = > l_rec.diffp
, diff_perc = > l_rec.diff_perc
, previous_year = > l_rec.previous_year
, p_year = > l_rec.p_year
, diffy = > l_rec.diffy
, perc_diffy = > l_rec.perc_diffy
));
END LOOP;
RETURN;
EXCEPTION
WHILE OTHERS THEN
raise_application_error (-20000, SQLERRM |) Chr (10) | l_sql);
END;
And user2:
VIEW to CREATE or REPLACE v_p5 AS
SELECT * FROM TABLE (User1.f_provide_p5);
I can then do a select * from v_p5 in User2 and return the view data.
Thank you.
Hello
Don't bother with the pipeline and PL/SQL functions. Everything will be easier, more effective and more reliable if you use only views.
Privileges through roles do not create a view on a table in another schema.
If user1 can create a view on motherlode.table_x, then user1 should have direct privileges already (or user1 must have a privilege of system as SELECT ANY TABLE).
User1 needs the same privileges WITH GRANT OPTION in order to grant privileges on his point of view to User2. To do this, have motherlode grant privileges to user1, like this:
GRANT SELECT ON table_x to User1 WITH GRANT OPTION;
GRANT SELECT ON table_y to User1 WITH GRANT OPTION;
Repeat for each table that user1 uses in the views.
Then user1 will be able to grant privileges on views to User2 like this:
GRANT SELECT ON my_view_01 TO user2.
This will NOT allow user2 directly see the motherlode.table_x. User1 will have the power to give privileges to User2, but simply grant privileges on the view does not give User2 these privileges.
If you don't want User1 to have this power, then create the views in the motherlode scheme, or create a new schema only for the putpose to own these views.
-
How to use the same point of view as read only in the ADF and editable
Hello
How to use the same point of view as read only in the ADF and editable? How can we succeed in TF?
-James
Hello
Steven Davelaar wrote a presentation on this 'building highly reusable Taskflows.
From slide 14, that's where your use case comes into play
Frank
-
Hello
OS: Windows xp
Oracle: 10.2.0.1
Please below, cut and paste from sqplus session:
My question is how this user is able to create the function, still is not having any default tablespace and quota zero on system tablespace. In which tbs has retained this function and if sys has set a zero quota on the tablespace default then why he demonstrated 'USERS' as default tablespace? How and why oracle that it allow to create and save the function without any quota?Enter user-name: sys/*** as sysdba Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production With the Partitioning, OLAP and Data Mining options SQL> create user test identified by test 2 quota 0 on system; User created. SQL> grant connect to test; Grant succeeded. SQL> grant create procedure to test; Grant succeeded. SQL> ALTER USER TEST QUOTA 0 ON USERS; User altered. SQL> select username,default_tablespace from dba_users where username='TEST'; USERNAME DEFAULT_TABLESPACE ------------------------------ ------------------------------ TEST USERS SQL> connect test/test; Connected. SQL> create or replace function mysysdate return date 2 is 3 begin 4 return sysdate+10; 5 end; 6 / Function created. SQL> select sysdate,mysysdate from dual; SYSDATE MYSYSDATE --------- --------- 08-DEC-09 18-DEC-09 SQL> connect sys/*** as sysdba Connected. SQL> select object_name from dba_objects where owner='TEST'; OBJECT_NAME -------------------------------------------------------------------------------- MYSYSDATE SQL> select segment_name,tablespace_name from dba_segments where owner='TEST'; no rows selected SQL>
kindly tell me how and why it works.
concerning
NishaIt's strange thread, it is much misconception or at least misunderstanding.
As already said, but ignored somehow, all the code function/procedure/package/relax/view /... are stored in the SYSTEM tablespace, regardless of the default tablespace and the quota of the user logged in with to create these objects. These objects have no (lines of code) segment, a segment is a use/allocation of space, that's why you have not any mention of these objects in xxx_segments or xxx_extents.
So, it's not a problem with the database or quota | user default tablespace (who manage the use of the space), but attached to the grant, you must create/procedure/package/trigger/view /...Nicolas.
-
What is the name of the file where the contacts are stored.
I need to restore my contacts from a backup. What is the name of the file where the contacts are stored?
According to the contacts or the premises or in iCloud:
~/Library/application support/address book/metadata for local contacts
~/Library/application Suport/address book/Sources find the iCloud account and file metadata
However, if your backup is located in Time Machine, open the contacts application and any asset, enter Time Machine. Go back in time to find contacts. Select them and click on restore.
-
Where the photos are stored... How to write on a dvd?
Where the photos are stored... How to write on a dvd?
How can I backup my photos in Photos? Can I use a DVD?
Maybe you are looking for
-
I used the windows partition on my mac with bootcamp. Rather than turn off the laptop the right way, I decided to force quit by holding the power button, which is where I messed up. So the next time I tried to turn on my laptop that I was greeted wit
-
Off-page connector text...
Hello Use education edition-Multisim, (to 11.0.278). I would like to be able to place the name of net correspondent (label) in the middle of the arrow on the side of the connector off-page. But to do this, I need to place the text to be off-grid. Is
-
During the installation of an update Ireceived this error Microsoft .NET Framework 2.0 Service Pack 2 update for Windows Server 2003 and Windows XP x 86 (KB976569). Can someone help me solve this probably. Thank you
-
original title: file sharing? File sharing is automatically turned on whenever I turn on my PC window vista 32 bit operating system-buisness? I cut file sharing at least a thousand times and find this desktop pc which is not wireless it is pluged to
-
Restore permanently deleted the folder
Hi, I am on Windows 7. I accidentally deleted pemanently my save game folder the Sims 3 to My Documents in the c: directory. Is any way to restore it? I'm so desperate, I tried using many file recovery programs but cannot find the savegame folder. I