inner join problem when use constructor in JPQL

Description

I have 2 domain classes:
'Process' and 'Account' they are keeping Many-To-One relationship which means:
Process may belongs to one Account or not belongs to any Account,
and one Account can own multi-Process.

a query in Spring Framework like

when app is running i got:

no record retrieved.

if I change to

then I got:

this(inner join) is also not I want since account may be null in process object.

is this a bug?

Environment

Spring 3.1.1

Assignee

Unassigned

Reporter

deng hui

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure