Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6569055
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T14:34:43+00:00 2026-05-25T14:34:43+00:00

i tried get entity ID like that: NSLog(@entity id: %@,[channel objectID]); but in this

  • 0

i tried get entity ID like that:

NSLog(@"entity id: %@",[channel objectID]);

but in this case id is not number

output:

2011-09-11 20:40:39.932 n[3591:207] entity id: 0x591f6f0 <x-coredata://4FE0AAD6-289E-404D-B81A-0FC0917BE025/Channel/p3>

why it not returns 3?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T14:34:44+00:00Added an answer on May 25, 2026 at 2:34 pm

    A managed object ID is a form of URI that uniquely identifies a managed object as residing within a particular persistent store.

    It breaks down as:

    protocol://persistent-store-uuid/entity-name/object-num
    

    … because you can have many persistent stores with objects of the same entity stored in each, the ID for a managed object must include the store.

    You save managedObjectIDs as attributes by converting them to their URI representation and setting the attribute to the resulting URL.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my current project I have a inheritance structure that looks like this: @Entity
This seems like a common enough case, but as JPA newbie, I am having
I have like this entity, public class Receiving{ [Key] public int ID {get; set;}
How can I get an entity manager in a normal java class? I tried
I tried to get the SLDeviceVolumeItf interface of the RecorderObject on Android but I
I tried to get my application run at a specified time but I can't
I have tried to get tsung to work on ec2 but to no avail.
I have a SQL Server Stored Procedure that looks like this: CREATE PROCEDURE [dbo].[my_stored_procedure]
I have data that looks like this: entities id name 1 Apple 2 Orange
It seems that when using the following NHibernate query, I do not get a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.