List of EJB object published in database
how is it possible to list of EJB object published in database ?
I'm using Oracle 8.1.7.
Thanks
Enterprise Manager --> DBA Pack --> Connect to JServer
Similar Messages
-
Command to provide list of all objects and their scripts from database
Hi,
How do i get the list of all objects and their scripts/source from database?
I guess using dbms_metadata package or Toad tool we can achieve the above task
But i do not know the steps to get the objects and their scripts.
Im using oracle database 11g R2 11.2.0.2
Kindly ge me the advice
Thanks in AdvanceHow do i get the list of all objects and their scripts/source from database?
I guess using dbms_metadata package or Toad tool we can achieve the above task
But i do not know the steps to get the objects and their scripts.
Im using oracle database 11g R2 11.2.0.2If you want the all the metadata of whole database, then it is quiet difficult to get from DBMS_METADATA, as it is very complex because you need to gather for each object of each schema in whole database and to spool.
http://www.orafaq.com/node/57
I want to know, what is the use of entire database metadata, Certainly need of objects of metadata.
or if you want to whole database, then i suggest you go for export full backup and import as impdp sqlfile option, -
Unable to Publish Access database to SharePoint site in 2013
I have a user requesting to publish access (2007/2010) web database into SharePoint 2013. I am able to publish this database on all sites under one site collection (test) but fails on the other site (different site collection). I have compared site collection
and site features and both site collection (working and non-working one) has SharePoint Server Enterprise Site features enabled. Is there any other features that should be turned on?
Initially it looks it has succeded but then give mesesage
"Publish Failed - Your application has encountered errors while attempting to publish. The publish operation has failed and the target site has not been created. For more details, see the following tables
Moveto SharePoint Site Issues"
Move to SharePoint Site Issues
Issue
Reason
Object Type
Object Name
Field Name
There was an error uploading properties and/or data macros on this table.
Table
mytab
Errors have prevented one or more tables from being uploaded to the server.
Table
Could not save this object's changes to the server. You must enter a value in the 'Name' field.
Navigation Pane
Navigation Pane
Could not save this object's changes to the server. You must enter a value in the 'Name' field.
VBA Properties
VBA References
Could not save this object's changes to the server. You must enter a value in the 'Name' field.
Database Properties
DBProps
Could not save this object's changes to the server. You must enter a value in the 'Name' field.
Theme
Office Theme
<tfoot></tfoot>
I am unable to make any sense as it's one empty table and able to publish same table on another site (under different site collection).
MK SinHi MK,
According to your description, my understanding is that you got an error when you published Access database to SharePoint 2013.
Please deactivate SharePoint Server Enterprise Site Collection features at site collection level and deactivate SharePoint Server Enterprise Site features at site level, then activate them again, compare the result.
Per the error message, please type a value in the ‘Name’ filed, then publish the table, compare the result.
In addition, here is a similar article, please check whether it is useful for you:
http://support.microsoft.com/kb/2711562
I hope this helps.
Thanks,
Wendy
Wendy Li
TechNet Community Support -
Woes wiring up an ejb to use a database control
first my question & then background:
how do i wire up an ejb to use a database control jcx object so that the dbcontrol is instantiated at runtime?
here's the scene:
i created a java page flow from a database control & this works correctly, but i also need to be able to expose some of the functionality to another deployed application. this application, incidentally is not a workshop application; but rather is a hand-coded war.
the first application (a workshop app) renders forms that use a database control to persist the data. it only uses one table & therefore, there is only one pojo. as i mentioned, this resides in web project & works correctly. i abstracted my dbcontrol & my pojo to a separate java controls project & built this as a library. the jpf still has no problems seeing the dbcontrol.
there is a second application (a non workshop app) that needs to be able to use a method provided by the dbcontrol. i created an ejb in a third project in the first application that makes the call to dbcontrol in the exact same way that the jpf did. but i am finding, however, that the dbcontrol is null whenever the ejb makes the call to it's method.
here's the more detailed design:
i started with a database control. i mapped to my datasource, wrote out the sql for the methods i wanted & generated the pageflow from this. i rewrote the pageflow/jsps to suit my needs & everything just works. i did notice at the time that i generated the page flow that the dbcontrol was never instantiated. here is a snippet of the jpf:
<pre>
public class SiteAlertMessageManagementController extends PageFlowController {
* This is the control used to generate this pageflow
* @common:control
private SiteAlertMessageDBControl dbControl;
public Forward getCurrentMessage() {
SiteAlertMessage currentMessage = dbControl.getCurrentMessage();
</pre>
because SiteAlertMessageDBControl is an interface, i assumed that the '@common:control' annotation told weblogic what it needed to know in order to instantiate a runtime class of time SiteAlertMessageDBControl. because it just worked, i never questioned this.
with the form read/write functionality complete, i assumed i could quickly wrap an ejb around the dbcontrol method & be done with it. i soon realized that i could not create an ejb inside a web project & that an ejb project would not have classpath visibility to my dbcontrol & pojo, so i put the dbcontrol & the pojo into a java control project & made a library out of this. i double checked that the web project could see the classes in the library & they could.
so i created a separate ejb project that also could now see the classes in the library. i thought i was in the home stretch. i now have these projects in my first application:
administrationControls, administrationWeb, & administrationEjb. i moved the administrationControls.jar & the administrationEjb.jar over to the WEB-INF/lib directory of my (remember: non-workshop) war & wired up the code to pull the bean off jndi tree to make the rmi call. but it didn't work. so i backtracked & created a new jsp back in my workshop project that would make the same rmi call so that i could use the debugger. with this as the background, here is my specific problem.
what i noticed is that the ejb code itself works correctly. i guess i should show it as well.
<pre>
public class SiteAlertMessagesAPI extends GenericSessionBean implements SessionBean {
* This is the control used to generate this pageflow
* @common:control
private SiteAlertMessageDBControl dbControl;
public void ejbCreate() {
// Your code here
* @ejbgen:remote-method
public SiteAlertMessage getCurrentMessage() throws Exception {
SiteAlertMessage message = null;
try {
// dbControl is null here
message = dbControl.getCurrentMessage();
catch (Exception e) {
e.printStackTrace();
return message;
</pre>
the problem is that my dbControl object is null. what i did was cut & paste the code from the jpf over to my bean. like i stated earlier, i assumed that the annotation would tell weblogic to instantiate an instance. this was obviously not the case. incidentally, i rewrote my ejbCreate() method like this:
<pre>
public void ejbCreate() {
// Your code here
dbControl = new SiteAlertMessageDBControl();
</pre>
but workshop gives me a "error: this type is abstract and thus cannot be instantiated" warning.
my question is: how do i wire up an ejb to use a database control jcx object so that the dbcontrol is instantiated at runtime?
any light you could shed on this would be most appreciated. thanks,
dougHi,
unfortunatly, it's not possible to use a control outside a control or a
web service...
Emmanuel
douglas thomas a ?crit :
first my question & then background:
how do i wire up an ejb to use a database control jcx object so that the dbcontrol is instantiated at runtime?
here's the scene:
i created a java page flow from a database control & this works correctly, but i also need to be able to expose some of the functionality to another deployed application. this application, incidentally is not a workshop application; but rather is a hand-coded war.
the first application (a workshop app) renders forms that use a database control to persist the data. it only uses one table & therefore, there is only one pojo. as i mentioned, this resides in web project & works correctly. i abstracted my dbcontrol & my pojo to a separate java controls project & built this as a library. the jpf still has no problems seeing the dbcontrol.
there is a second application (a non workshop app) that needs to be able to use a method provided by the dbcontrol. i created an ejb in a third project in the first application that makes the call to dbcontrol in the exact same way that the jpf did. but i am finding, however, that the dbcontrol is null whenever the ejb makes the call to it's method.
here's the more detailed design:
i started with a database control. i mapped to my datasource, wrote out the sql for the methods i wanted & generated the pageflow from this. i rewrote the pageflow/jsps to suit my needs & everything just works. i did notice at the time that i generated the page flow that the dbcontrol was never instantiated. here is a snippet of the jpf:
<pre>
public class SiteAlertMessageManagementController extends PageFlowController {
* This is the control used to generate this pageflow
* @common:control
private SiteAlertMessageDBControl dbControl;
public Forward getCurrentMessage() {
SiteAlertMessage currentMessage = dbControl.getCurrentMessage();
</pre>
because SiteAlertMessageDBControl is an interface, i assumed that the '@common:control' annotation told weblogic what it needed to know in order to instantiate a runtime class of time SiteAlertMessageDBControl. because it just worked, i never questioned this.
with the form read/write functionality complete, i assumed i could quickly wrap an ejb around the dbcontrol method & be done with it. i soon realized that i could not create an ejb inside a web project & that an ejb project would not have classpath visibility to my dbcontrol & pojo, so i put the dbcontrol & the pojo into a java control project & made a library out of this. i double checked that the web project could see the classes in the library & they could.
so i created a separate ejb project that also could now see the classes in the library. i thought i was in the home stretch. i now have these projects in my first application:
administrationControls, administrationWeb, & administrationEjb. i moved the administrationControls.jar & the administrationEjb.jar over to the WEB-INF/lib directory of my (remember: non-workshop) war & wired up the code to pull the bean off jndi tree to make the rmi call. but it didn't work. so i backtracked & created a new jsp back in my workshop project that would make the same rmi call so that i could use the debugger. with this as the background, here is my specific problem.
what i noticed is that the ejb code itself works correctly. i guess i should show it as well.
<pre>
public class SiteAlertMessagesAPI extends GenericSessionBean implements SessionBean {
* This is the control used to generate this pageflow
* @common:control
private SiteAlertMessageDBControl dbControl;
public void ejbCreate() {
// Your code here
* @ejbgen:remote-method
public SiteAlertMessage getCurrentMessage() throws Exception {
SiteAlertMessage message = null;
try {
// dbControl is null here
message = dbControl.getCurrentMessage();
catch (Exception e) {
e.printStackTrace();
return message;
</pre>
the problem is that my dbControl object is null. what i did was cut & paste the code from the jpf over to my bean. like i stated earlier, i assumed that the annotation would tell weblogic to instantiate an instance. this was obviously not the case. incidentally, i rewrote my ejbCreate() method like this:
<pre>
public void ejbCreate() {
// Your code here
dbControl = new SiteAlertMessageDBControl();
</pre>
but workshop gives me a "error: this type is abstract and thus cannot be instantiated" warning.
my question is: how do i wire up an ejb to use a database control jcx object so that the dbcontrol is instantiated at runtime?
any light you could shed on this would be most appreciated. thanks,
doug -
List of all objects in the data dictionary
How to capture the list of all objects in the data dictionary named like PSDFDI and verify they are granted to the FDIREADR role
See the database security guide http://docs.oracle.com/cd/B28359_01/network.111/b28531/authorization.htm#BABFHBFH
Finding Information About User Privileges and Roles
This section discusses the system views that have the grant information.
The tricky part of this is that because roles can be granted to other roles the data is hierarchical.
So start with the grants made to the FDIREADR role. So referring to the doc above;
select * from role_role_privs where role = 'FDIREADR'will list the roles granted to your role.
You will want to look at ROLE_ROLE_PRIVS, ROLE_TAB_PRIVS and ROLE_SYS_PRIVS.
I suggest you walk thru the views manually to see how the information is related. Then write a test script that queries the views for you. -
List of all objects authorized for standard abap role
Hi all,
Can any body help me to get " List of all objects authorized for standard abap role "
And List of all objects authorized for "admin role".
Thanks
BasuSee the database security guide http://docs.oracle.com/cd/B28359_01/network.111/b28531/authorization.htm#BABFHBFH
Finding Information About User Privileges and Roles
This section discusses the system views that have the grant information.
The tricky part of this is that because roles can be granted to other roles the data is hierarchical.
So start with the grants made to the FDIREADR role. So referring to the doc above;
select * from role_role_privs where role = 'FDIREADR'will list the roles granted to your role.
You will want to look at ROLE_ROLE_PRIVS, ROLE_TAB_PRIVS and ROLE_SYS_PRIVS.
I suggest you walk thru the views manually to see how the information is related. Then write a test script that queries the views for you. -
Representing list of polymophic objects in db
Let's suppose I have a list of derived objects from some base:
class Circle : public Shape;
class Rectangle : public Shape;
There is object, which has vector of Shape * as member variable:
class Screen {
std::vector<Shape *> shapes_;
But now I need to persist this in database (PostgreSQL to be precise). Only way I thought of is to have table per class, something like this:
table screen ();
table circle (
int screen_id;
table rectangle (
int screen_id;
And after retrieving from object of type Screen do query for Circles and Rectangles with screen.id. Should be doable.
However I fear that when number of types grows (and it will), it would mean many db queries for just one object retrieval/persist.
Right know we'll have about 10 types I think? That's 11 db queries just to retrieve one Screen object.
So my questing is, is there better way to achieve my goal? I'm fine with redesigning my code if needed, I just would like some O(1) solution in correlation to number of types (my solution is O(n) ).
Thank you guys ^_^
NOTE: based on comment I'm adding that tables of Circles and Rectangles etc. will be used
only to put together Screen object. I don't access (look-up, retrieve, persist, ...) to them individually, only as parts of Screen(s). They don't even have to be in their own table. Just didn't find a way to nicely put it all together :/All you need is one table, with a simple design. You need
A field for the uid
Possibly a field for a timestamp (you may need that, you may not, don't know your particular circumstances).
A field in which you serialize the Screen object and all the Shapes it contains.
That means just one write to save and one read to recover the Screen and its shapes. Why do more, given how simple your requirements are?
I recommend you serialize to a json format. Postgresql now has a JSON data type and JSON operators and functions. So you can validate and examine the serialized data in the db if you want to, without having to extract and normalize it.
Other benefits of this approach:
If you later decide to serialize somewhere else (into a file or memory cache, for example), it would require minimal change to the code.
No need to change your db schema if you add new types of Shapes or change the structure of any existing objects. -
Use EMCLI to get list of Application Servers related to Databases?
Hi,
Is it possible to use EMCLI to get from OEM a list of Application Servers related to Databases? If not, is there another method recommended by Oracle?
Thanks,
YoniMohana,
I want my Replication Program to:
1. Create a copy of all objects stored in specific schema at the remote site in a local schema.
2. Be able to replicate the addition and removal of records.
Database link has been created between remote and local schema.You can query the remote site as if it is part of your local database and hence you can query the system tables to find out what objects are in remote site.
When query the system tables i want to look for objects that are owned by HAROON. -
How to find out a list of modified objects in an SAP system
Hi all, not sure if this is the right place to ask.
In preparation for an upcoming upgrade of a SAP 4.6c system, I have been asked to generate a list of SAP objects that have been modified over the years.
Is there a table or a report that I can use to find this out? Thanks!Hi,
Please check the table TADIR. From that table u can get the modified object details.
thanks,
Senthil Kumar.C -
How to get list of custom objects used in abap report program?
Hi friends,
I have a requirement in which I have to scan the entire abap report and retrieve list of custom objects used in it for example custom tables, data elements, structures, table types etc,. Is there any provision in SAP like fuction modules to do this functionality? As of now I am coding everything manually where so many possibilities are there for all kinds of objects. Provide your answers and suggestions...
Thanks,
NasteraHi,
The best way to do this is environment analysis. Follow the steps:
1. Open se38, type in the program name (don't click on on display/change or create button, stay on first screen only)
2. Click on environment analysis button (hot key SHIFT+F4)
3. It will throw a pop-up, which will ask for type of object you want to see, which are linked /used by this program. select all (or may be if you are only interested in Tables, then select table only)
4. Hit 'Enter'
You will get the full list of all objects used in this report program. Just note down the one which starts with Z or Y and that's it.
Cheers,
Anid -
Newbie ques : How to get the list of all tables in the database
Hi,
I'm very new to Oracle (using Oracle8i currently). I wanted to know if there is a way to get the list of all tables in the database. Like in mySQL you can use the command " show tables" to get the list of all the tables.
Any help will e greatly appreciated. Please "cc" any reply to [email protected] also.
thanks
DevenHi
Select table_name, owner from all_tables;
will give u all the tables in the database.
all_tables, dba_tables, user_tables
all_objects, dba_objects, dba_objects
there are many, more tables. login as system and query the tab and try to describe the tables.
Thanks
Malar -
Creating smartform from attachment list of service object
Hi,
How can i create a smartform containing attachment list from generic object services(active workflow Box) in tcode VA02, Also let me know in which table this attachment lists are stored.
Thanks,
JPI found following Solution:
I copied the following classes and changed them in some way to fit my requirements:
1.CL_GOS_ATTACHMENTS
2.CL_GOS_SRV_ATTACHMENT_LIST
3.CL_LIST_BROWSER
Changes to the Classes:
1.Type of the attribute GO_INSTANCE changed to ZCL_GOS_ATTACHMENTS.
Changed method INIT_BROWSER:
go_browser ?=
zcl_list_browser=>zcreate_browser( cl_browser=>gc_list_browser ).
2.Type of the attribute GO_ATTACHMENT_LIST changed to ZCL_GOS_ATTACHMENTS
3. Copied Method CREATE_BROWSER of Class CL_BROWSER to ZCREATE_BROWSER:
method zcreate_browser.
case ip_btype.
when gc_list_browser.
*create object ro_browser type zcl_list_browser.*
when gc_tree_browser.
create object ro_browser type cl_tree_column_browser.
when others.
raise exception type cx_sobl_browser
exporting
gp_error = cx_sobl_browser=>gc_wrong_type
exit.
endcase.
endmethod.
Modified the code of method ___DISPLAY to my needs. -
Disable pushbuttons from Attachment list for Service Object
Hi,
I want to disable push buttons for delete and edit from the toolbar of Attachment list from service objects.
how can this be achieved ?
thanks in advance.
Best Regards,
VinayakaHi Sandeep,
I am not totallt getting your point but can suggest following points:
1. Check whether these object are displaying in DIR's as object links.
2. If it is there then it shoud be displayed in document data of those objects.
3. Check that documents are properly checked-in.
Hope this may help.
Regards,
Ravindra -
Hi all,
Is it possible in the DI API to get a list of business objects (for example business partners) from the Company object or do I have to use a recordset with an SQL statement? If so, how. And if not, where do I find a translation of tablenames (e.g.: AACP, INV6 etc.) to business objects.
This seems a pretty generic question, but I cannot seem to find the answer. Does anyone have a pointer to good reading on the DI API subject?
Thanks!
Best regards.
Chris G.Hi Chris,
this is an excerpt from the SDK Help file.
It works on other object too, of course.
Private Sub DataBrowserOperations()
'// A Data Browser object can not be created, it is invoked
'// as a property of a business object.
'// The BusinessPartners object is used to demonstrate the
'// use of a DataBrowser object
Dim BusinessPartners As SAPbobsCOM.BusinessPartners
'// A DataBrowser object contains a Recordset object.
'// Because a DataBrowser Object can not be created,
'// a Recordset Object should be created and then assigned
'// (linked) to the Recordset Property of the DataBrowser
Dim oRecordSet As SAPbobsCOM.Recordset
'// Get a new BusinessPartners object
Set BusinessPartners = oCompany.GetBusinessObject(oBusinessPartners)
'// Get a new Recordset object
Set oRecordSet = oCompany.GetBusinessObject(BoRecordset)
'// Perform the SELECT statement.
'// The query result will be loaded
'// into the Recordset object
oRecordSet.DoQuery ("Select cardcode from ocrd where cardtype = 'C'")
'// Asign (link) the Recordset object
'// to the Browser.Recordset property
BusinessPartners.Browser.Recordset = oRecordSet
'// Access the data
'// Once the Browser points to a row in the
'// result set you can use the properties directly
BusinessPartners.CardCode
BusinessPartners.CardName
'//Get the next Business Partner
If BusinessPartners.Browser.EOF = False Then
BusinessPartners.Browser.MoveNext
End If
'//Get the previous Business Partner
If BusinessPartners.Browser.BoF = False Then
BusinessPartners.Browser.MovePrevious
End If
End Sub -
How do i get a list of all objects in a combo box
I want to get the list of all Objects in a JComboBox. I appreciate your help! Thanks!
I already know the solution with getItemCount and
then the for loop with getItemAt. I'm curios if there
exist somethig like Object[] getAllItems()If it's not in the API, then it's not available. You can create your own ComboBoxModel that will return an Object[] of elements and call setModel on your combobox.
Maybe you are looking for
-
While doing inter co. transfer-error tran type not possible(no affiliateed)
Hi sap Gurus, When i am doing inter company transaction i am getting an error releated to transaction type. the error is transaction type 7777not possible ( no affiliated co. specified) this is the error i am getting here 7777 is my co.code please g
-
(HR) 연말정산 작업후 소득자료제출집계표의 과세및 비과세 값을 분석할수 있는 SCRIPT
제품 : HR_PER 작성날짜 : 2006-05-15 (HR) 연말정산 작업후 소득자료제출집계표의 과세및 비과세 값을 분석할수 있는 SCRIPT ================================================== PURPOSE 연말정산 작업후 소득자료제출집계표의 내용을 분석할수 있는 Script Explanation Input값은 "&business_place_id" 입니다. set serveroutput on decla
-
Changing my iCloud/appleID on my iPhone
I have a 5c. It is setup with my old appleid. It asks me to put in the password to log out so I can login with my new account. I don't have a password anymore. That email address is deleted. Can someone help me bypass or delete the old so I can use m
-
Change multiple transitions simultaneously
How would I change transitions for multiple text or highlight boxes simultaneously?
-
I currently have vista and I have been a long time itunes user always adding songs to my library by simply dragging them from a folder into my library. Recently I was sent files from home into a folder and when I try to add them into my library the s