[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Date and JBOSSQL

2005-09-05 Thread gaferrero
Hi all!, i write a simple example to compare a range of dates, this is the method: | | | | findByDate | | java.lang.Integer |

[JBoss-user] [Persistence & CMP/JBoss] - Re: CMP, MYSQL & Blob

2005-06-29 Thread gaferrero
Thanks again for your reply tomerbd2, the method in the entity bean is public abstract byte[] getImagen(); public abstract void setImagen(byte[] imagen); In the SessionBean i call getImagen() and pass its return value to the ImagenMamo constructor, this class is serializable. View the original

[JBoss-user] [Persistence & CMP/JBoss] - Re: CMP, MYSQL & Blob

2005-06-28 Thread gaferrero
Thanks for replie, i still have the problem, when i retrieve the image in the client application and exception happens Caused by: java.io.NotSerializableException: sun.awt.windows.WImage at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054) at java.io.ObjectOut

[JBoss-user] [Persistence & CMP/JBoss] - CMP, MYSQL & Blob

2005-06-27 Thread gaferrero
Hi all, I'm deploying a simple application that uses JBOSS and CMP with MySQL data base, i have a little problem with a persistence field (blob field type in MySQL), could anyone help me with a simple example or with anything that you know about it, i want to storage an image saved in arrays o