In computer science an entity is an object which has an identity and can be uniquely determined, holds storable information or can be processed. As the term has a very abstract and general meaning prefer to use this tag only in conjunction with other more specific tags.

learn more… | top users | synonyms

0
votes
1answer
23 views

Entity Framework not always including child entities

I have a User that is assigned to a Client. When pulling out the User object, I get the Client object as part of it. Simple. This works as it should when logging in. The User object has a Client, no ...
0
votes
2answers
22 views

JPA Entity class Relationship

I have the following Entity class structure Product class @Entity @Table(name = "PRODUCTS") public class Product implements Serializable{ @Id private productSlNo; @Column(name = "PRODUCT_ID") ...
0
votes
0answers
15 views

EntitySet schema value dbo instead of database.dbo

Running EFProfiler found that the query running behind the scenes was SELECT [Extent1].[Total] AS [Total] FROM [dbo].[Invoice] AS [Extent1] The problem is that the DB name is incorrect. It should ...
0
votes
1answer
22 views

Ebean lazy load to see if resource exists

I am creating a REST API using play framework. I want to use lazy loading ( finder.ref(id) or Ebean.getReference(id) ) to see if an enity with a specific id exists in database. If it doesn't exist, I ...
0
votes
2answers
15 views

JPA Entity for Drop Down columns

I am using JPA 2.0 with Hibernate 4.1.0, I have the following in my Entity class @Entity @Table(name = "PRODUCTS") public class Product { private String productNo; private String productDesc; ...
2
votes
1answer
32 views

Clone an entity before form bind

With Symfony2, I need to save an entity before use $form->bind() to compare the old and new one before flush. I tried some functions : $command = $repository->findCommandProductsByCommand( $id ); ...
0
votes
0answers
9 views

Translating foreign key to object references in SpringJDBC

I am learning SpringJDBC and came across this post. Everything is clear except translating entities with foreign keys. For example, if now I have one more Course entity, with a foreign key to Person ...
1
vote
1answer
42 views

MS Dynamics CRM. Get users who current record shared with

I have a entity record which is shared with or more users. I would like to unshare this record when Deactivate it. I want to do that in Plugin. But I can't understand how to get all users from sharing ...
0
votes
0answers
29 views

How to persist a Map<Enum, Entity> with JPA 2

I got a problem with how to annotate with JPA 2 when trying to persist a Map where the key is an enum. I find quite a number of somewhat similar questions asked before, but none quite have the same ...
1
vote
3answers
41 views

find max value of columns using where method

Heres another problem : public int GetMaxValue(string listTask , int listActivity) { int maxQNo = Convert.ToInt32(context.questions.Max(q => q.QuestionNo).Where(q.TaskName.Contains(listTask) ...
0
votes
1answer
46 views

entity framework Where method

i need some help in this , how do i write a where clause statement where i want to retrieve record based on 2 columns : This is how i am trying to write in code : public IList<Model.question> ...
0
votes
1answer
23 views

Play Framework Entities connection

this is a beginner question, I'm trying to work with play framework and I have a question I can't seem to figure out Lets say I have classes A and B defined as package models; @Entity public class A ...
0
votes
1answer
15 views

Not able to insert using entity manager ORA00904

I am very new to the concept of EJB's. I am trying to insert values from the front end into database using Entity classes but every time I do that, i am getting this error: ...
0
votes
1answer
34 views

How to deal with calculated entity attribute

Let's say there is an entity called Staff. It has a number of persistent attributes, such as: - Name - Experience - Age I want to create a "virtual" attribute, that is based on the Experience and ...
1
vote
1answer
31 views

How to fetch all to many items from a specific Core Data parent entity ID

I am pretty new to this and assume I am missing something very simple, I have tried this site and anywhere I could search but found no straightforward answer. My situation.. My model can have many ...

1 2 3 4 5 154
15 30 50 per page