-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm teaching JEE, especially JPA, Spring and Spring MVC. As I have not so much experience in large projects, it is difficult to know what to present to students about optimisation of ORM.
At the present time, I present some classic optimisation tricks:
prepared statements (most of ORM implicitely…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Just wondering what everyones thoughts on what ORM to use for SQL Azure?
I'm fairly comfortable using LINQ-to-SQL and I believe it is possible to get it working with SQL Azure. However, from my understanding (correct me if I'm wrong), no further improvements will be made to Linq-to-SQL in future…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello,
although I read through the manual here:
http://www.doctrine-project.org/documentation/manual/1_2/hu/hierarchical-data
I couldn't find a way to move a node from a Leaf to become a Root node. Any clues?
The question is trivial for inserting a new node...but what about updating a node?
>>> More
-
as seen on Programmers
- Search for 'Programmers'
I've been thinking for a while about defining several namespaces in one php file and so, having several classes inside this file.
Suppose, I want to implement something like Doctrine\ORM\Query\Expr:
Expr.php
Expr
|-- Andx.php
|-- Base.php
|-- Comparison.php
|-- Composite.php
|-- From.php
|-- Func…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I want to remove the need for a username in the FOSUserBundle. My users will login using an email address only and I've added real name fields as part of the user entity.
I realised that I needed to redo the entire mapping as described here.
I think I've done it correctly but when I try to submit…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
So I've been getting into a bit of assembly lately and I'm a beginner so i was wondering if someone could clarify something. I take it every process has it's own set of registers, and each thread can modify these registers right?. How then do multiple threads use the same registers without causing…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm a beginner learning some assembly, when preserving the ESP register before a function call does it matter if you do it by adding or subtracting? hard to explain, consider the following
mov esi, esp
sub esp, 12 // on 32bit OS this would mean that there are 3 arguments to the function
// push,…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Sorry if I am not supposed to post beginner level questions here..I am new to this site
Please read the code below first
I am confused about getchar() 's role in the following code.. I mean I know its helping me see the output window which will only be closed when I press enter key
So getchar()…
>>> More
-
as seen on Oracle Blogs
- Search for 'Oracle Blogs'
Learning new technologies can be daunting. If you’ve never used a Mac before, you’ll probably be a bit baffled at first. But, you’re probably at least coming from a desktop computing background (Windows), so you common frame of reference.
But what if you’re just now learning…
>>> More
-
as seen on Programmers
- Search for 'Programmers'
My brother is just starting out college. He's studying the same thing I am here in Bolivia; Systems Engineer which is the equivalent of what a CS degree is in the US.
Being his big brother and a programmer myself I really want to guide him and give him the right material to learn and become good…
>>> More