Questions tagged [entities]

Entity-relationship model (ER model for short) is an abstract and conceptual representation of data.

In software engineering, an entity-relationship model (ER model for short) is an abstract and conceptual representation of data. Entity-relationship modeling is a database modeling method, used to produce a type of conceptual schema or semantic data model of a system, often a relational database, and its requirements in a top-down fashion. Diagrams created by this process are called entity-relationship diagrams or ER diagrams.

832 questions
5
votes
0 answers

EntityScan in library project breaks SpringBootApplication auto configuration

I'm trying to build a library with spring which will handle task management for other spring boot applications. My library includes services, repositories and entities. Library will use data source of parent project for entities. My target is using…
cbidici
  • 51
  • 3
5
votes
1 answer

Room: related entities - usable public constructor

To get a OneToMany relation with Room I create a POJO with @Embedded object and @Relation variable. data class SubjectView( @Embedded var subject: Subject, @Relation(parentColumn = "idWeb", entityColumn = "subject_id", entity =…
5
votes
1 answer

How to use html entities in CSS content property?

Good day, I'm stuck with a problem this morning. I found out that content property which is nice but I can't use HTML entities in it. More specifically, I would like to use the é This is what I tried: content: 'test with eacute \233'; but the…
Cybrix
  • 3,248
  • 5
  • 42
  • 61
5
votes
1 answer

Automatically add `insertable = false, updatable = false` to Netbeans-generated entities

I am working on a Java EE project using Netbeans. I automatically generated the Entities and JPA Controllers using the database. I want to now update the Database by adding more tables or updating existing ones. Problem I run into is that I have to…
myselfmiqdad
  • 2,518
  • 2
  • 18
  • 33
5
votes
4 answers

cakephp 3.x saving multiple entities - newEntities

I'm having the hardest time with saving multiple records. I've tried a million things, but I end up with the same problem: my records are not saved and I can't see any errors. Bear in mind that I'm new to cakephp and a novice coder. Am I missing…
cKelly
  • 65
  • 1
  • 1
  • 5
5
votes
1 answer

DDD: entities mapped to tables with lots of databse columns

I am trying to follow the DDD approach to constructing entities where the properties have private setters and public getters and assignment is done through the constructor. The problem with this approach seems to be when you hit a table that has…
user1790300
  • 2,143
  • 10
  • 54
  • 123
5
votes
6 answers

Alternative to System.Web.HttpUtility.HtmlEncode/Decode?

Is there any 'slimmer' alternative to the System.Web.HttpUtility.HtmlEncode/.Decode functions in .net 3.5 (sp1)? A separate library is fine.. or even 'wanted', at least something that does not pull in a 'whole new world' of dependencies that…
Jörg Battermann
  • 4,044
  • 5
  • 42
  • 79
5
votes
3 answers

Symfony 2 : Generate SQL from specific entity

I'd like to generate my SQL from my entities. I know the commands php app/console doctrine:schema:create --dump-sql and doctrine:schema:update, but apparently there is no way to filter on Entities, not even to filter on Bundle, but only on…
Bonswouar
  • 1,521
  • 2
  • 17
  • 37
5
votes
4 answers

Cant find base path for bundle

I'm using Symfony2 and want to generate getters and setters for the entities by running: $ php app/console doctrine:generate:entities TestBundle The Console returns me the following message: [RuntimeException] Can't find base path for…
David
  • 4,027
  • 10
  • 50
  • 102
5
votes
1 answer

LINQ to Entities does not recognize the method 'Int32 ToInt32(System.String)' method, and this method cannot be translated into a store expression

I get this error when I try this code : TaxiEntities db = new TaxiEntities(); bool IsUserPassCorrected = db.tblOperators.Any(item => item.UserName.ToLower() == txtUserName.Text.ToLower() && item.Password == Convert.ToInt32(txtPassWord.Text)); if…
m0n5t3r
  • 51
  • 1
  • 1
  • 3
5
votes
2 answers

Passing business entities through layers in multi layer architecture

Currently I'm working on a project exploiting multi layer architecture as described in Application Architecture Guide 2.0 with 5 layers(DAL, BLL, Facade, Presentation Layer and Common Layer). Here we have a Business Logic Layer which consists of…
5
votes
2 answers

select an element from a custom column from a list

I am trying to implement Searching for a custom element in a list with a custom column name using a webservice for JQgrid, but I am out of ideas I would appreciate any help on this. I can't copy my code here but, for example, I have an entity…
Omar As'hab
  • 138
  • 5
5
votes
1 answer

Linq to entities parametrized constructor Datetime

i know that Linq to entities does not support parametrized constructors, but how to do this pls ?: date = new DateTime(int.Parse(SqlFunctions.StringConvert(l.rok).Trim()), int.Parse(SqlFunctions.StringConvert(l.mesic).Trim()), 1) Whole example: var…
Petr Pražák
  • 191
  • 2
  • 10
5
votes
1 answer

Is there some functionality in/for Delphi that converts a string with html named and numbered entities to unicode text?

I read data from a mysql database that has is filled by php scripts. All special characters are converted to named or numbered html entities (for example & a m p ; & # 2 8 6 ;). I know of no way to convert these characters back to the original ones…
user133370
  • 167
  • 1
  • 5
4
votes
2 answers

What are JPA entities?

I am starting to use JPA and I always get confused with the term of entities and their usage, I have read a lot but I still don't quite get it. I read the Oracle documentation of it but it does not really explain its role in the transaction. What…
engma
  • 1,849
  • 2
  • 26
  • 55