Display users IP Address
How can I display the IP address of the user in APEX?
Is there any way to avoid displaying just the Proxy's IP address?
Btw - I searched the forum and found this select statement:
select utl_inaddr.get_host_name(OWA_UTIL.GET_CGI_ENV('REMOTE_ADDR')) hostname from dual;
but this one is giving me a ORA-06502: PL/SQL: numeric or value error Error - what is the reason for that?
Thank you!
Hello,
Does select utl_inaddr.get_host_address() hostname from dual; return the value you want?
Greetings,
Roel
http://roelhartman.blogspot.com/
You can reward this reply by marking it as either Helpful or Correct ;-)
Similar Messages
-
Hi all experts,
I want to display the user's machine IP address that are connected to the oracle database. For example, if the users machine IP address is 65.345.347.111 and connected to PROD database, i want to display like below
USERNAME IP ADDRESS DB NAME
How i could do this? I do not see any column in v$session that will display the user machine IP address. Please give me some feedback.Hi,
for oracle 9i above query is working but for oracle 8i i am getting following error.
SQL> select sid, machine, UTL_INADDR.get_host_address (substr(machine,instr(machine,'\')+1)) ip
2 from v$session
3 where type='USER' and username is not null
4 order by sid;
select sid, machine, UTL_INADDR.get_host_address (substr(machine,instr(machine,'\')+1)) ip
ERROR at line 1:
ORA-03113: end-of-file on communication channel
SQL> select sid,machine,UTL_INADDR.GET_HOST_ADDRESS (machine)
2 from v$session
3 where type = 'USER' and username is not null
4 order by sid;
where type = 'USER' and username is not null
ERROR at line 3:
ORA-03113: end-of-file on communication channel
any thing to be changed in query for oracle 8i.
Thanks
Prakash -
Regarding Display of Invoice address in Smartform
Hi we are displaying invoice address in Smartfrom(ZBBP_PO)(Purchase Order Output). But it is displaying only in English.Even if the communication language of the user is DE(German),I debugged the program what i found is in ADRC(Addresses (Business Address Services)) table they are maintained particular address number
in EN only.So to display the Invoice address in both language what can i do now?
can i insert the table entry manually?
wafting for help.
Regards
Channappa Sajjanar.Hi,
You could log on in German and enter the invoice address. However, my thought is that addresses don't translate. For example, the address for SAP UK is
Clockhouse Place,
Feltham,
Middlesex
TW14 8HD
ENGLAND
In German this is;
Clockhouse Place,
Feltham,
Middlesex
TW14 8HD
ENGLAND
Regards,
Nick -
operate C# to modify PPT's hyperlink, while configuring the hyperlink's text to display attribute, the address value will be assigned as null. Anyone know this issue? Any solution?
How to reproduce the issue:
1.Create a new PPT slide in Office2010.
2. Insert a certain text/characters, such as Mircosoft blablabla,
3. Insert an URL right after the text part , TextToDisplay is the “Test”,Address is the "Url".
4. The content in the ppt is ”Microsoft Test“,here "Test" is the hyperlink which we would like to convert. Please execute the code we list below.
5. The problem will be reproduced by the above steps.
PPT.Application ap = new PPT.Application();
PPT.Presentation pre = null;
pre = ap.Presentations.Open(mFileName, Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState.msoFalse);
foreach (PPT.Slide mSlide in pre.Slides)
PPT.Hyperlinks links = mSlide.Hyperlinks;
for (int i = 1; i <= links.Count; i++)
PPT.Hyperlink mLink = links[i];
mLink.TextToDisplay = mLink.TextToDisplay.Replace(mLink.TextToDisplay,"url");
mLink.Address = mLink.Address.Replace(mLink.Address, "url");
Modify texttodisplay, the address vaule will be assigned as null. Anyone knows how to solve it?
Does it caused by a PPT API's Limitation?I've tried the below code and it works, you can refer this article:
https://msdn.microsoft.com/en-us/library/office/ff745021.aspx
to find that the hyperlink needs to be associated with a text range, and thats what I did in the code below with the help of the link sent by Tony.
Microsoft.Office.Interop.PowerPoint.Application ap = new Application();
Microsoft.Office.Interop.PowerPoint.Presentation pre = null;
pre = ap.Presentations.Open(@"C:\Users\Fouad\Desktop\abcc.pptx", Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState.msoFalse);
foreach (Microsoft.Office.Interop.PowerPoint.Slide mSlide in pre.Slides)
Microsoft.Office.Interop.PowerPoint.Hyperlinks links = mSlide.Hyperlinks;
Microsoft.Office.Interop.PowerPoint.Shape textShape = mSlide.Shapes[1];
for (int i = 1; i <= links.Count; i++)
Microsoft.Office.Interop.PowerPoint.Hyperlink mLink = links[i];
Microsoft.Office.Interop.PowerPoint.TextRange range1 = textShape.TextFrame.TextRange;
TextRange oTxtRng = range1.Find(((Microsoft.Office.Interop.PowerPoint.Hyperlink)mLink).TextToDisplay,After:range1.Start,WholeWords:Microsoft.Office.Core.MsoTriState.msoTrue);
oTxtRng.Replace(((Microsoft.Office.Interop.PowerPoint.Hyperlink)mLink).TextToDisplay, "url");
oTxtRng.ActionSettings[Microsoft.Office.Interop.PowerPoint.PpMouseActivation.ppMouseClick].Hyperlink.Address = "http://www.microsoft.com";
Fouad Roumieh -
I am unable to show the User IP , php file is working fine
Followed this article : http://active.tutsplus.com/tutorials/actionscript/get-user-ip-address-using-php-and-action script-3/
My html : http://awaisahmad.info/uploads/user_ip.html
myphp : http://awaisahmad.info/uploads/ipfile.php
http://awaisahmad.info/uploads/Main.as
FLASH file
package
import flash.display.Sprite;
import flash.net.URLLoader;
import flash.net.URLRequest;
import flash.events.Event;
import flash.events.MouseEvent;
import fl.transitions.Tween;
import fl.transitions.easing.Strong;
public class Main extends Sprite
var urlLoader:URLLoader = new URLLoader();
var tween:Tween;
public function Main():void
getButton.addEventListener(MouseEvent.MOUSE_UP, getIP);
private function getIP(e:MouseEvent):void
urlLoader.load(new URLRequest("http://awaisahmad.info/uploads/ipfile.php"));
urlLoader.addEventListener(Event.COMPLETE, showIP);
tween = new Tween(getButton, "y", Strong.easeOut, getButton.y, 340, 1, true);
private function showIP(e:Event):void
ipField.text = e.target.data;
ipFieldPressed.text = e.target.data;
PHP
$ip = $_SERVER['REMOTE_ADDR'];
echo $ip;I am calling at as3
urlLoader.load(new URLRequest("http://awaisahmad.info/uploads/ipfile.php"));
how should I solve this issue ? -
Tracking user IP addresses?
Does Tarantella log which IP address a given user logs in from? I noticed
in the Object Manager that you can see what IP address a current user is
logged in from. Is it possible to track that information through Billing
Services?
Thank you,
SteveYes, I need to track all user logons and where those users logon from. I'm
not as interested in what emulator sessions they run but that information
is welcome.
Escape 27 wrote:
Steve,
You could probably try adding "*/*/*:all_%%PID%%.log" to your log filters to
see if you can find the necessary info in the log file. If you do, you can
then modify the filter log only those specific components. I'm sure the
client IP address is being logged in one of these components, but can't
remember which one though.
BTW - what are you trying to achieve by tracking the user IP address?
"Steve T" <[email protected]> wrote in message
news:cnjd1u$n87$[email protected]..
Thank you for your response. After considering it, I believe that it would
cause a problem: issuing the TTA emulatorsession command consumes high CPU
resources. To track the majority of the user sessions would require
running this command every minute in cron. This would not be good for
performance. Even if it was run every 5 minutes, it would still impact
performance on an already busy TTA server.
Also, we would miss any quick sessions that may have started and ended
after the previous emulatorsession poll took place. (The TTA
emulatorsession command will only display currently active sessions.)
I was hoping that there would be a log filter that could be configured to
modify what Billing Services keeps track of.
Regards,
Steve
Tillmann Basien wrote:
if you use "tarantella emulatorsession list" you can see the IP Adress of
the Users Client WS.
Writing an cron based script, and analyse the output.
TAB
"Steve T" <[email protected]> schrieb im Newsbeitrag
news:cniutc$inn$[email protected]..
Does Tarantella log which IP address a given user logs in from? I
noticed
in the Object Manager that you can see what IP address a current user
is
logged in from. Is it possible to track that information through
Billing
Services?
Thank you,
Steve -
Hi!
When i use any iview to display user information, i get in the user name fiel de id user instead of the user name.
It is the same for all the place where the portal use the user infomation display (CLP, search user, roles search, etc).
Is anybody knows how to change this?
I thank you in advance.Customizing Users' Display Name
Use
A users display name is the friendly name that is displayed for a user in most user interfaces, for example in list of results when you search for a user in the UME administration console. Programmatically, it is the name that is returned by the method IUser.getDisplayName().
By default the display name is the users last name followed by the first name. It is possible to customize it, to display a different friendly name, for example the users salutation followed by first name and then last name.
Procedure
The name returned by the method IUser.getDisplayName() is calculated by the user attributes specified in the user management property ume.users.displayname_template.
The default value is ume.users.displayname_template=,
To change the display name, change the value of this property. It can be a combination of:
u00B7 User attributes: The available user attributes are: , , , , , , , , , , , , , , , , , , ,
u00B7 Characters: Most characters whose unicode lies between \u0020 and \u007E can be written as they are. These are characters such as A-Z, a-z, commas, semicolons, and so on.
u00B7 Unicode characters: Characters whose unicode does not lie between \u0020 and \u007E, must be written in the form \uXXXX
Example
You change the value to:
ume.users.displayname_template=
For a user whose first name is Peter, second name is Miller and salutation is Mr, the display name would be Mr Peter Miller.
This display name would appear on all user interfaces that use the method IUser.getDisplayName().
attributeMapping>
If you are using an LDAP directory as a data source for your user-related data, the logical attribute names used by the Java application programming interface (API) of SAP User Management Engine (UME) must be mapped to the physical attribute names used in the schema of your corporate LDAP directory.
In the preconfigured files shipped with UME, the logical attributes of the Java user management API are mapped to the physical attributes used for the object class inetOrgPerson in the X.500 standard. If you use this standard without any modifications, you will not need to change the attribute mapping data. If you have extended this object class in your LDAP directory, or use a different object class, you can flexibly add additional attributes to the attribute mapping data or change the attribute mapping data as required. By providing you with the means to map attributes, UME allows you to use any schema that suits your companys requirements.
The following examples illustrate scenarios where you need to change the attribute mapping data:
The logical attribute for a users e-mail address used by the user management component is named email, but the physical attribute in the schema for your corporate LDAP directory is named mail. You must map email to mail in the configuration file.
In your company, you wish users to log on with their e-mail address and password instead of with their user ID and password. In a user account, the logical attribute j_user defines the logon ID. By default this attribute is mapped to the unique ID (uid) of a user. By mapping j_user to the physical attribute for the users e-mail address, for example mail, users can in future log on with their e-mail address.
For a list of the set of fixed logical attribute names used in the API, see Logical Attributes.
Example
<dataSources>
<dataSource id="CORP_LDAP"
className="com.sap.security.core.persistence.datasource.imp.LDAPPersistence"
isReadonly="false"
isPrimary="true">
<responsibleFor>
<principal type="account">
</principal>
<principal type="user">
<nameSpaces>
<nameSpace name="com.sap.security.core.usermanagement">
<attributes>
<attribute name="firstname" populateInitially="true"/>
<attribute name="displayname" populateInitially="true"/>
<attribute name="lastname" populateInitially="true"/>
<attribute name="fax"/>
<attribute name="email"/>
<attribute name="title"/>
<attribute name="department"/>
<attribute name="description"/>
<attribute name="mobile"/>
<attribute name="telephone"/>
<attribute name="streetaddress"/>
<attribute name="uniquename" populateInitially="true"/>
</attributes>
</nameSpace>
</nameSpaces>
</principal>
<principal type="group">
</principal>
</responsibleFor>
<attributeMapping>
<principals>
<principal type="account">
</principal>
<principal type="user">
<nameSpaces>
<nameSpace name="com.sap.security.core.usermanagement">
<attributes>
<attribute name="firstname">
<physicalAttribute name="givenname"/>
</attribute>
<attribute name="displayname">
<physicalAttribute name="displayname"/>
</attribute>
<attribute name="lastname">
<physicalAttribute name="sn"/>
</attribute>
<attribute name="fax">
<physicalAttribute name="facsimiletelephonenumber"/>
</attribute>
<attribute name="uniquename">
<physicalAttribute name="uid"/>
</attribute>
<attribute name="loginid">
<physicalAttribute name="null"/>
</attribute>
<attribute name="email">
<physicalAttribute name="mail"/>
</attribute>
<attribute name="mobile">
<physicalAttribute name="mobile"/>
</attribute>
<attribute name="telephone">
<physicalAttribute name="telephonenumber"/>
</attribute>
<attribute name="department">
<physicalAttribute name="ou"/>
</attribute>
<attribute name="description">
<physicalAttribute name="description"/>
</attribute>
<attribute name="streetadress">
<physicalAttribute name="postaladdress"/>
</attribute>
<attribute name="pobox">
<physicalAttribute name="postofficebox"/>
</attribute>
<attribute name="preferredlanguage">
<physicalAttribute name="preferredlanguage"/>
</attribute>
</attributes>
</nameSpace>
</nameSpaces>
</principal>
<principal type="group">
</principal>
</principals>
</attributeMapping>
</dataSources>
In the above example, the section on the data source CORP_LDAP contains all the configuration data for the LDAP directory.
The section on <responsibleFor> defines which data is stored in the LDAP directory and in particular the logical attributes that are stored in the directory. For each attribute listed here, there must be an entry in the attribute mapping section.
By default the section on <attributeMapping> contains attribute mapping data for the object class inetOrgPerson in the X.500 standard. Here you can modify the physicalAttribute name (the attribute name in the LDAP directory) or you can add an additional attribute mapping for attributes outside of inetOrgPerson that you have added to your LDAP schema.
<attribute name="firstname">
<physicalAttribute name="givenname"/>
</attribute>
Even if the physical and logical attribute name are identical, you should map them. For example, in the above example, displayname maps to displayname.
If an attribute is not mapped, the API will not have access to this data.
Some logical attributes are mapped to "null". This means that the API uses this logical attribute, but the logical attribute does not map to a physical attribute. Instead it maps to a computed value.
Ensure that all inetOrgPersons in your LDAP directory contain a valid value for the attribute uid. In the default configuration, this attribute is used to search for users for display in user-management applications such as the role assignment tool.
Alternatively, change the attribute mapping so that uniquename is mapped to cn instead of uid.
<attribute name="uniquename">
<physicalAttribute name="cn"/>
</attribute>
In this way, cn is used to search for users for display in user-management applications.
Namespaces
Another useful feature is that you can map logical attributes to different physical attributes depending on the namespace. For example, an application in the namespace com.mycompany.app1 might use the physical attribute uid as displayname, whereas another application com.mycompany.app2might use the physical attribute sn as displayname. This would be mapped as follows:
<attributeMapping>
<principals>
<principal type="user">
<nameSpaces>
<nameSpace name="com.mycompany.app1">
<attributes>
<attribute name="displayname">
<physicalAttribute name="uid"/>
</attribute>
</attributes>
</nameSpace>
<nameSpace name="com.mycompany.app2">
<attributes>
<attribute name="displayname">
<physicalAttribute name="sn"/>
</attribute>
</attributes>
</nameSpace>
</nameSpaces>
</principal>
</principals>
</attributeMapping>
You need to meintain this property in the sapup.properties file.
Therefore in the portal you select: System Administration ->
System Configuration -> UM Cinfiguration -> Direct editing.
Then you add the property in the textfield, save and restart the
J2EE Engine in order to activate this value.
Best regards,
Patricio. -
Syncing contacts: user defined address type won't show in iPod
Hey,
I have contacts in my address book with user defined address types. For example, I defined an address type "parents" to save the postal address of my friend's parents.
After having synced my contacts using iTunes 7.6, my friend's parental address shows up as her private address whereas her private address isn't displayed at all.
Is this a bug in the iPod firmware (1.2.3) or in AddressBook (Mac OS 10.5.1)?
Is there a workaround available?
Thanks for any hint,
MarkusYep, I had the same problem as sfraize - exactly. Address Book showed in the Dock as being active, but didn't display, and wasn't showing in the Force Quit window either.
Here's what I did:
1. removed Address Book from the Dock;
2. tried to launch it from the Applications folder (but it crashed the Finder and I had to shut down by holding the Start key);
3. on reboot, launched Address Book again from the Applications folder and this time, magically, it worked;
4. I've now put it back into the Dock, from where it seems to launch just fine.
Hope this helps people with similar problems!
I really don't like this horrible leather-effect-torn-pages appearance of the OS apps, by the way. About as progressive and witty and elegant as printing CDs with images of vinyl records (anyone else remember World Party's 1990 album Goodbye Jumbo?) -
Even though I have it correctly set in Preferences , i.e. "Use Smart Addresses" is unchecked, the addressee automatically changes to the person's name rather than the email address. I am unable to find a way to display the actual email address option on iMail (Yosemite) I do not want nicknames/short names but want the actual email address to display on my address line. Can anyone advise please?
Thanks, Ernie
I wasted about 20 minutes looking for it and couldn't find it
cheers,
tom -
How to display user profile information in master page header
I am trying to display user profile info like following in custom master page.
I have just added a html code for displaying this info.
Now, please tell me how could i achieve this
I am doing this in sharepoint 2013 on-premise.see below is example for javascript and userprofile information
<script type="text/javascript">//<![CDATA[
$(document).ready(function
var currentUser;
// Ensure that the SP.js is loaded
if (SP.ClientContext
!= null)
SP.SOD.executeOrDelayUntilScriptLoaded(getCurrentUser,
'SP.js');
else
SP.SOD.executeFunc('sp.js',
null, getCurrentUser);
function getCurrentUser()
var context = new SP.ClientContext.get_current();
var web = context.get_web();
currentUser = web.get_currentUser();
context.load(currentUser);
context.executeQueryAsync(onSuccessMethod, onRequestFail);
function onSuccessMethod(sender, args)
var account = currentUser.get_title();
var currentUserAccount = account.substring(account.indexOf("|")
+ 1);
var currentUserAccountUnderScore = currentUserAccount.toLowerCase().replace(/\s/g,
//alert(currentUserAccount);
$("#username").text(currentUserAccount);
$("#ProfileImage").attr("src",
"https://mydomain-my.sharepoint.com/User%20Photos/Profile%20Pictures/"
+ currentUserAccountUnderScore +
"_mydomain_onmicrosoft_com_MThumb.jpg");
$("#ProfileImage").attr("alt", currentUserAccount
+ " User Profile Image");
$("#ProfileImage").attr("class",
"ss-profile-image");
//This function runs if the executeQueryAsync call fails.
function onRequestFail(sender, args)
alert('request failed' + args.get_message()
+ '\n' + args.get_stackTrace());
$("#ProfileImage").attr("src",
"https://mydomain.sharepoint.com/SiteAssets/userImageDefault.jpg");
//]]>
</script>
-Nilesh -
I am loging in SAP. Initial screen come where it display User Menu and Sap
Dear All,
When i am loging in SAP. Initial screen come where it display User Menu and Sap Menu, but User menu is in active not showing but T code are executing then what object i have missed.
can u help me?
Thanks,
Regards,
SachinHi Sachin,
It doesn't care if you're using SAP_ALL or any of those profile. That is not relevant. I had that case a few days ago, I'm not using any of those profiles and I made it work with help of one post.
If you put the transactions in the tab "Menu" of the role in the PFCG, and if you activate parameters I mentioned in a prior post, then you should see the Menu.
Tables SSM_CUST and USERS_SSM. The first is global and the other is user-especific.
The link in one of the first post of this thread hace all the info.
That should work, that worked in my case.
What values the parameters have on those tables? The more the info the better.
Updating the parameters on those tables should help. If still doesn't work then you should check another parameter using transaction RZ10 or report RSPARAM.
If my info solves your problem, points are appreciated, if not, we will try...
Jose -
IMessage displays my email address instead of contact name on other peoples iPhone
iMessage displays my email address instead of contact name on other peoples iPhone and everything I try does not fix it!!
Please help!!!!!!!whether your number or email address is desplayed depends on how you have Caller ID set.
Settings -> Messages ->Receive At ->Caller ID (chose what you want displayed) -
System_Mail_Send - Get user email address
Hi,
I am trying to use System_Mail_Send to send a notification in the end of a Job Chain.
How I can retrieve user email address from SAP CPS user(UME)?
I want to use this information as To destination.
Regards,
André FerreiraHi Andre,
Actually, I had no time to test what I wrote earlier ... the code below should work in a library source:
// Example code to illustrate
package masalan;
import com.redwood.scheduler.api.model.SchedulerSession;
import com.redwood.scheduler.api.model.Subject;
import com.redwood.scheduler.api.model.enumeration.SubjectType;
import com.redwood.scheduler.api.scripting.variables.*;
public class user
public static String getEmailAddress(String username)
//Default email address is [email protected]
String defaultEmail = "[email protected]";
if (username == null || username.trim().isEmpty()) return defaultEmail;
SchedulerSession jcsSession = ScriptSessionFactory.getSession();
Subject subject = jcsSession.getSubjectByTypeName(SubjectType.User, username);
String email = "";
if (subject != null) email = subject.getEmail();
if (email != null && email.endsWith("@company.com")) return email;
return defaultEmail;
You create REL entry points:
Name - getEmail
FQ Class Name - masalan.user
Method Signature - getEmailAddress(String)
Now, create a parameter Username on the job chain.
Parameter To should have the value =Custom.getEmail(chainParameters.Username)
You specify the username in the Username parameter, the email address will be retrieved from CPS. The user must have logged on to CPS at least once, alternatively, you can import the user.
Note that to import the user, you must assign at the very least the AccessScheduler action in UME.
Regards,
HP
Message was edited by: h. Carpenter - missed an import and add SchedulerSession
Message was edited by: h. Carpenter - Improved error handling, more secure code (it uses default email address if anything goes wrong or if somebody tries to use an external email address) -
How to display user ids having non aplabetics
Hi,
I want to display user ids which are having non alphabetics.
CREATE TABLE TEST(USERID) AS
select 'ALINDSTRÖM' from dual union all
select 'ANÄSVALL' from dual union all
select 'JAMES' from dual union all
SELECT 'BLINDÉN' FROM DUAL UNION ALL
SELECT 'SEKHAR' FROM DUAL;
Expected output is:
USERID
ALINDSTRÖM
ANÄSVALL
BLINDÉN
Abover id's having non alphabetics like Ö,Ä,É. Please help me.
Iam using oracle 10gSQL> CREATE TABLE TEST
2 as
3
3 select 'ALINDSTRÖM' userid from dual union all
4 select 'ANÄSVALL' from dual union all
5 select 'JAMES' from dual union all
6 SELECT 'BLINDÉN' FROM DUAL UNION ALL
7 SELECT 'SEKHAR' FROM DUAL
8 ;
Table created
SQL> select userid
2 from test
3 where regexp_instr(userid,'[^A-Z]',1,1) > 0
4 ;
USERID
ALINDSTRÖM
ANÄSVALL
BLINDÉN -
Sql Devloper 4.0.0.13 - problems with displaying user data types
Hi,
I have installed new version of sqldeveloper and have discovered some problems with displaying user data types. The data that is described as VARCHAR2 are displayed with ‘???’.
The problem persist in table view, script output and exported files.
My type is described as follows:
create or replace TYPE "DPTY_ADRESA" AS OBJECT
ID_DPSF_OPCINE NUMBER,
ID_DPSF_MJESTA NUMBER,
OPCINA VARCHAR2(100),
MJESTO VARCHAR2(100),
ULICA VARCHAR2(200),
BROJ VARCHAR2(20),
SPRAT VARCHAR2(20),
OSTALO VARCHAR2(100),
CONSTRUCTOR FUNCTION dpty_adresa RETURN SELF AS RESULT
add MEMBER FUNCTION dajAdresu RETURN VARCHAR2 cascade;
when make select column from table that contains this type I get next results:
CASE 1:
SQLDeveloper Version 3.2.20.09; Build MAIN-09.87; JDK 1.6.0_43; Windows 7 64 bit
Select:
select id, adresalokacija
from dptr_saglasnosti
where id = 1;
Result:
ID ADRESALOKACIJA
1 COMP.DPTY_ADRESA(124,4913,'TRAIK','TURBE','BABANA','3452','0',NULL)
END CASE 1;
CASE 2:
SQLDeveloper Version 4.0.0.13; Build MAIN-13.80; JDK 1.7.0_40; Windows 7 64 bit
Select1:
select id, adresalokacija
from dptr_saglasnosti
where id = 1;
Result1:
ID ADRESALOKACIJA
1 COMP.DPTY_ADRESA(124,4913,'???','???','???','???','???',NULL)
But if I select one element it is displayed normal.
Select2:
select id, a.adresalokacija.opcina
from dptr_saglasnosti a
where id = 1;
Result2:
ID ADRESALOKACIJA.OPCINA
1 TRAVNIK
END CASE 2;
I have tried this scenario on three different pc with same output.
Pleas help me to get rid of the '???' in result.
Best Regards,
OmerI tried on SQLDeveloper Version 4.0.0.13; Build MAIN-13.80; JDK 1.7.0_45; Windows 7 64 bit; NLS setting is default
all data can show,No ??? in result
Test step as following:
create or replace TYPE "DPTY_ADRESA" AS OBJECT
ID_DPSF_OPCINE NUMBER,
ID_DPSF_MJESTA NUMBER,
OPCINA VARCHAR2(100),
MJESTO VARCHAR2(100),
ULICA VARCHAR2(200),
BROJ VARCHAR2(20),
SPRAT VARCHAR2(20),
OSTALO VARCHAR2(100),
CONSTRUCTOR FUNCTION dpty_adresa RETURN SELF AS RESULT
alter TYPE "DPTY_ADRESA" add MEMBER FUNCTION dajAdresu RETURN VARCHAR2 cascade;
CREATE TABLE dptr_saglasnosti (
adresalokacija DPTY_ADRESA,
id number);
INSERT INTO dptr_saglasnosti VALUES (
DPTY_ADRESA (65,225,'Vrinda Mills', '1-800-555-4412','sss','aaaa','eeeee','attta'),1 );
select id, adresalokacija from dptr_saglasnosti where id = 1;
ID ADRESALOKACIJA
1 HRCP.DPTY_ADRESA(65,225,'Vrinda Mills','1-800-555-4412','sss','aaaa','eeeee','attta')
Maybe you are looking for
-
How to load XML audit trail into an oracle table
Gents, I have a task to load XML sys audit information into a database table. Here is a sample audit.xml file: <?xml version="1.0" encoding="UTF-8"?> <Audit xmlns="http://xmlns.oracle.com/oracleas/schema/dbserver_audittrail-11_1.xsd" xmlns:xsi="http:
-
Problem viewing logged-in users
I have Cisco Secure ACS Solution Engine v3.3. I have configured it to authenticate users agains Microsoft Active Directory Windows 2003. In The server i have installed Remote Agent. In Reports and Activity i can see Passed Authenticactions, but when
-
How to fix an incorrect address in iPhone maps
My customers are getting very frustrated because iPhone maps takes them 7 miles away from my business to another town. I have reported the problem MANY times on the iPhone to no avail. My correct business address is: Wash 'N Wags Pet Grooming 4735 La
-
Dng colour shift from bridge to jpg's....cs2
Hello everyone. I am very new at this so I really hope that someone can help me. I have a new eos 5 mark 11. I use cs2 which doesn't recognise the RAW images. I have downloaded dng and started colour correction in bridge. I have saved the files as jp
-
WDS - Client Configuration Help
Hi All, I have many ap1252ap's, I have configured WDS on the one ap and it authenticate to itself OK - to the locally configured radius server. state = wlccp_ap_st_registered The problem is that I do not know where to go from here. I have followed th