Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] NullPointerException in QuerySequence.java line 350--workaround?

On Wed, Feb 20, 2013 at 11:14 PM, Laird Nelson <ljnelson@xxxxxxxxx> wrote:
This happens for all sequencing involving JPA table generators.

This is after I have been attempting through various means to customize the session (though I haven't done anything other than call usePlatform() on the DatabaseSessionImpl class).

Should mention that when I set the database platform explicitly (by using the eclipselink.target-database property explicitly) this problem does not occur.

If I install the very same database platform subclass in a SessionListener as part of the postLogin() call via the usePlatform() method, then this problem occurs reliably.

If I install the very same database platform subclass in a SessionCustomizer, it is erased and ignored by subsequent core EclipseLink code.

Hope that helps narrow it down.  This is EclipseLink 2.3.2 as shipped with GlassFish 3.1.2.2.

Best,
Laird

--
http://about.me/lairdnelson

Back to the top