users@glassfish.java.net

Re: Glassfish is trimming values passed to findByPrimaryKey

From: Mitesh Meswani <Mitesh.Meswani_at_Sun.COM>
Date: Tue, 31 Mar 2009 16:15:04 -0700

Can you please let us know what version of Glassfish you are running
against and which database and driver are you using? Is your column
mapped to a CHAR column in database? What is the column definition and
actual data for the column?


glassfish_at_javadesktop.org wrote:
> In my application Primary Key's last character is space, when i pass this key as a param to findByPrimaryKey, it is throwing ObjectNotFoundException,
>
> my guess is that Glassfish is trimming the primary key and passing. The same application is working fine in WebLogic.
>
> Any help will be much appreciated
> [Message sent by forum member 'rajeshkannacse' (rajeshkannacse)]
>
> http://forums.java.net/jive/thread.jspa?messageID=339841
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>