Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Query.getResultList() returns null if the table does not exist

I don't understand how you are not getting an exception if the table does not exist. Can you show how you create and execute the query? Running on an Oracle DB, I get a SQLException: ORA-00942: table or view does not exist.
Best Regards,
Chris



cowwoc wrote:
Ooops, "empty set" should read "empty list".

Gili


cowwoc wrote:
I am expecting it to return an empty set as per "Effective Java" best
practices. I'd like to file a bug report for this. What do you think?

PS: Anyone working on JPA 2.0 should please clarify the Javadoc on this
point.

Gili




Back to the top