Getting rid of class="sql-timestamp"

View: New views
2 Messages — Rating Filter:   Alert me  

Getting rid of class="sql-timestamp"

by Ashvin Ramanjooloo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Is there a way to suppress the addition of class="sql-timestamp" when marshalling a date of type java.sql.Timestamp?

currently i'm getting :

<dateSituation class="sql-timestamp">2009-10-15</dateSituation>

and i want only

<dateSituation>2009-10-15</dateSituation>

Thanks

Re: Getting rid of class="sql-timestamp"

by Jörg Schaible-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Ashvin,

Ashvin Ramanjooloo wrote:

>
> Hi,
>
> Is there a way to suppress the addition of class="sql-timestamp" when
> marshalling a date of type java.sql.Timestamp?
>
> currently i'm getting :
>
> <dateSituation class="sql-timestamp">2009-10-15</dateSituation>
>
> and i want only
>
> <dateSituation>2009-10-15</dateSituation>

Then you have to declare the member "dateSituation" as SqlTimestamp.

- Jörg


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email