Click here to Skip to main content
15,878,970 members
Home / Discussions / Database
   

Database

 
GeneralRe: Validate Date Time value on Sqlite before insert / update Pin
PIEBALDconsult20-Jun-14 9:45
mvePIEBALDconsult20-Jun-14 9:45 
GeneralRe: Validate Date Time value on Sqlite before insert / update Pin
Eddy Vluggen20-Jun-14 10:01
professionalEddy Vluggen20-Jun-14 10:01 
GeneralRe: Validate Date Time value on Sqlite before insert / update Pin
PIEBALDconsult20-Jun-14 10:30
mvePIEBALDconsult20-Jun-14 10:30 
GeneralRe: Validate Date Time value on Sqlite before insert / update Pin
Eddy Vluggen20-Jun-14 10:45
professionalEddy Vluggen20-Jun-14 10:45 
GeneralRe: Validate Date Time value on Sqlite before insert / update Pin
PIEBALDconsult20-Jun-14 9:43
mvePIEBALDconsult20-Jun-14 9:43 
AnswerRe: Validate Date Time value on Sqlite before insert / update Pin
Eddy Vluggen18-Jun-14 0:29
professionalEddy Vluggen18-Jun-14 0:29 
AnswerRe: Validate Date Time value on Sqlite before insert / update Pin
jschell18-Jun-14 11:23
jschell18-Jun-14 11:23 
AnswerRe: Validate Date Time value on Sqlite before insert / update Pin
PIEBALDconsult20-Jun-14 9:46
mvePIEBALDconsult20-Jun-14 9:46 
QuestionSQL search question Pin
Jassim Rahma16-Jun-14 22:14
Jassim Rahma16-Jun-14 22:14 
AnswerRe: SQL search question Pin
Eddy Vluggen16-Jun-14 22:29
professionalEddy Vluggen16-Jun-14 22:29 
AnswerRe: SQL search question Pin
NitinDhapte16-Jun-14 23:08
NitinDhapte16-Jun-14 23:08 
AnswerRe: SQL search question Pin
Shameel17-Jun-14 0:48
professionalShameel17-Jun-14 0:48 
GeneralRe: SQL search question Pin
Jassim Rahma17-Jun-14 1:35
Jassim Rahma17-Jun-14 1:35 
AnswerRe: SQL search question Pin
Shameel17-Jun-14 5:31
professionalShameel17-Jun-14 5:31 
GeneralRe: SQL search question Pin
Eddy Vluggen17-Jun-14 7:41
professionalEddy Vluggen17-Jun-14 7:41 
QuestionHow to Search a Text into a Database objects Pin
Ravindra Bisen16-Jun-14 20:27
Ravindra Bisen16-Jun-14 20:27 
AnswerRe: How to Search a Text into a Database objects Pin
$*Developer - Vaibhav*$16-Jun-14 20:41
$*Developer - Vaibhav*$16-Jun-14 20:41 
GeneralRe: How to Search a Text into a Database objects Pin
Ravindra Bisen16-Jun-14 20:43
Ravindra Bisen16-Jun-14 20:43 
GeneralRe: How to Search a Text into a Database objects Pin
$*Developer - Vaibhav*$16-Jun-14 20:45
$*Developer - Vaibhav*$16-Jun-14 20:45 
AnswerRe: How to Search a Text into a Database objects Pin
Ravindra Bisen16-Jun-14 21:07
Ravindra Bisen16-Jun-14 21:07 
AnswerRe: How to Search a Text into a Database objects Pin
Richard Deeming17-Jun-14 2:09
mveRichard Deeming17-Jun-14 2:09 
QuestionData Warehouse/SSAS Cube/Reporting and date assistance Pin
Member 1088784816-Jun-14 6:02
Member 1088784816-Jun-14 6:02 
AnswerRe: Data Warehouse/SSAS Cube/Reporting and date assistance Pin
Mycroft Holmes16-Jun-14 12:49
professionalMycroft Holmes16-Jun-14 12:49 
GeneralRe: Data Warehouse/SSAS Cube/Reporting and date assistance Pin
Member 1088784816-Jun-14 22:41
Member 1088784816-Jun-14 22:41 
QuestionORM Rant Pin
Tomaž Štih16-Jun-14 0:55
Tomaž Štih16-Jun-14 0:55 
At the end of the 90ties we somehow got into ORM. At the time - no matter how hard we tried - we always ended up with a messy and complicated code and filthy compromises. And it hasn't changed. But somehow frameworks like NHibernate and EntityFramework are becoming very popular.

So here is my rant.

Some time ago I worked on large projects and things were pretty predictable. You've got DB model. You generate your SQL procedure layer and your C# layer. Then you create your component / web service / wcf service / restful service and serialize results of your C# calls as POCOs.

Now try to do this with fancy NHibernate objects with auto-resolving proxy objects for related entities. It won't work. Because when objects are serialized their auto-resolving lazy evaluating proxies aren't. To solve it you duplicate /I'll write it again, for drama effect: duplicate/ your objects to create serializable POCOs. And then you create them CRUD functions on top of object models. Or even separate the entities /drama: dereference them having no two entities connected/... And, hey, you are back where you were with the stored procedures - only with lousier performance and three layers of crap on top of it.

So next time someone comes with a fancy-schmancy ORM wrapper it better already include web service / wcf service or restful service abstraction and work on top of it; rather then bellow it! Because otherwise we just off-load drudgery to the web services and call it "business layer" when in fact it is really a freaking "ORM back to stored procedures layer."

There. Hhhh...shhhh... I already feel better.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.