-
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'
Hi everyone,
I have a layout which does almost what I want. There's just one bug regarding the button at the bottom. I should stay at the bottom at all times. But whenever I bring up the soft-keyboard the button will be displayed above the keyboard. This is not what I want but it should become covered…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I've just created a prototype of interface for my android app and tried to run it. Unfortunately I get an error that my app has stopped unexpectedly (my reputation doesn't allow me to post images so follow my links):
screenshot of error message
This is layout mode of editing. Everything looks as…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I just updated my app and I am getting some odd complaints from people who update it. I am only getting complaints from people with non-stock android phones (phones that manufacturers have modified...HTC phones, cliq, pulse, etc), other phones like the Droid, Nexus work fine. My app (Photo Frame Deluxe)…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have problems getting some of my views aligned in a relative layout that I use inside a row of my listview.
Here is a screenshot from the layout builder in Eclipse, this is what I think it should look like:
The next image is from the emulator. Now the TestTestTest View is at the top and covers…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Whenever I use a RatingBar view in my layout, I suddenly get all kinds of compile errors. I'm using Android 2.0, but I've also tried 2.0.1, and 2.1, without joy. I also get a message: Shader 'android.graphics.BitmapShader' is not supported in Layout Editor, and an odd warning which may or maynot be…
>>> More