I have an entity bean with a boolean column called active. The database table stores it as a bit(1). I see all the values have a b. I can't seem to update these regardless of what I do.
So for example:
My object has an attribute status of type boolean.
I create the object, set it to false and call em.persist. The value in the db is b.
I create the object, set it to false and call em.persist. The value is still b.
I was thinking of changing it to an int and doing the conversion myself but there has to be a way to get this work without mucking up the code.
Thanks for your help!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089006#4089006
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089006
Hi all,
I'm creating a page that contains mathematic equations. I used some LaTex library to convert a text to image. For example: the content is:
"this is my equation [TEX]my equation here[/TEX]" ...
When this content is displayed on the web, the string "[TEX]my equation here[/TEX]" will be replaced by an image. The content may contain many equations. I've just studied Seam and I don't know how to display the mixed content like that by JSF or Seam. Can I put some java code to the xhtml to render the page? Can you please show me the way to create a dynamic page like this?
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089005#4089005
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089005