[JBoss-user] Re: blob field in cmp
I thought you used jboss.xml. Do you use CMP1.1? What is the exception? PS: please, keep it on jboss-user forge wrote: Hello, Alex I couldn't find jboss in server/default/conf directory, but there is a standardjboss.xml. And I found the following lines in it: org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager I created a sample project in jbuilder, containing a cmp with 2 fields: an Integer field as id and a byte[] field as photo. When called ejbcreate, jboss throws db2.jdbc exception: invalid data type, SQL= HY004. I don't know what error I made. Regards, Forge --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Re: blob field in cmp
Can you try with JBossCMP engine instead of JAWS? Just use org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager in jboss.xml forge wrote: Thanks, Alexey. Do you mean I should modify standardjaws.xml? No, I didn't modify it. I found following settings in jaws.xml: DB2 java.lang.Object JAVA_OBJECT BLOB(2000) Need I modify it? Regards, Forge Message: 8 Date: Fri, 12 Dec 2003 14:09:04 +0200 From: Alexey Loubyansky <[EMAIL PROTECTED]> Organization: JBoss Group Europe To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] blob field in cmp Reply-To: [EMAIL PROTECTED] It's absolutely ok. You just need to configure the mapping, i.e. jdbc-type and sql-type. Do you specify both yourself or use the defaults? --http://www.eyou.com --нх╤╗©и©©╣д╣ГвспеоД сОрТсй╪Ч рф╤╞йИг╘ хуюЗ╥ЧнЯ мЬбГ╢Ф╢╒...рзсйн╢╬║ --http://vip.eyou.com --©Л©Л╣гб╪рзсйVIPпеоД в╒╡АдЗжпрБ╣дсц╩╖цШ --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Re: blob field in cmp
Thanks, Alexey. Do you mean I should modify standardjaws.xml? No, I didn't modify it. I found following settings in jaws.xml: DB2 java.lang.Object JAVA_OBJECT BLOB(2000) Need I modify it? Regards, Forge > >Message: 8 >Date: Fri, 12 Dec 2003 14:09:04 +0200 >From: Alexey Loubyansky <[EMAIL PROTECTED]> >Organization: JBoss Group Europe >To: [EMAIL PROTECTED] >Subject: Re: [JBoss-user] blob field in cmp >Reply-To: [EMAIL PROTECTED] > >It's absolutely ok. You just need to configure the mapping, i.e. >jdbc-type and sql-type. Do you specify both yourself or use the defaults? > --http://www.eyou.com --Îȶ¨¿É¿¿µÄµç×ÓÐÅÏä ÓïÒôÓʼþ Òƶ¯ÊéÇ© ÈÕÀú·þÎñ ÍøÂç´æ´¢...ÒÚÓÊδ¾¡ --http://vip.eyou.com --¿ì¿ìµÇ¼ÒÚÓÊVIPÐÅÏä ×¢²áÄúÖÐÒâµÄÓû§Ãû --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user