[jboss-user] [EJB 3.0] - Re: problem generics and pretty printer

axelgrrr do-not-reply at jboss.com
Thu Mar 8 06:38:27 EST 2007


ok also tried now with the 4.2.0.CR1 AS.
same situation as far as i can see; the pretty printer is throwing a
exception causing a rollback.
this certainly is a bug; should I file it to JIRA?

with a non-generic version of the class (using a String field instead):

2007-03-08 12:28:19,546 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] Flushed: 1 insertions, 0 updates, 0 deletions to 1 objects
2007-03-08 12:28:19,546 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections
2007-03-08 12:28:19,546 DEBUG [org.hibernate.pretty.Printer] listing entities:
2007-03-08 12:28:19,546 DEBUG [org.hibernate.pretty.Printer] application.server.TicketDataImpl_String{ticketId=component[id_i]{id_i=89547}, status=1, ticketPayload=testATestSpecificTicket}


And here it fails with the generic (P extends Serializable) class:

2007-03-08 12:28:19,593 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] Flushed: 1 insertions, 0 updates, 0 deletions to 1 objects
2007-03-08 12:28:19,593 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections
2007-03-08 12:28:19,593 DEBUG [org.hibernate.pretty.Printer] listing entities:
2007-03-08 12:28:19,593 DEBUG [org.hibernate.ejb.AbstractEntityManagerImpl] mark transaction for rollback


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026207#4026207

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026207



More information about the jboss-user mailing list