<?xml version="1.0" encoding="UTF-8"?>











<rss version="2.0" xmlns:jf="http://www.jivesoftware.com/xmlns/jiveforums/rss">



<channel>
    <title>Support Forums: Message List - Using a BLOB data type in a CMP Entity Bean</title>
    <link>http://www.theserverside.com</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    
        <generator>Jive Forums Silver 5.5.30 (www.jivesoftware.com)</generator>
    
    <pubDate>Wed, 19 Jun 2013 14:55:02 -0400</pubDate>


    <item>

        <title>Using a BLOB data type in a CMP Entity Bean</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=28099</link>

        

        
            <description><![CDATA[<blockquote>I dont think its a good design</blockquote>I used byte Arrays 18 months ago for storing Excel Spreadsheets in an Oracle table (8.1.7). As the standard was to use CMP this is the only way I could get it working (under bea Weblogic 6.1 sp3)....]]></description>
        

        <pubDate>Thu, 19 Aug 2004 06:00:26 -0400</pubDate>

        

        <jf:creationDate>Thu, 19 Aug 2004 06:00:26 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 19 Aug 2004 06:00:26 -0400</jf:modificationDate>
        <jf:date>Aug 19, 2004</jf:date>
        <jf:author>Roger Lee</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>BLOB is good for us</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=28099</link>

        

        
            <description><![CDATA[On my current project we have to store a whole wack (TM) of images for a few thousand models in our system.  Rather than come up with a way of synchronizing the images across the file systems of 5 different tomcats and 3 application servers, we opted to...]]></description>
        

        <pubDate>Wed, 18 Aug 2004 14:42:36 -0400</pubDate>

        

        <jf:creationDate>Wed, 18 Aug 2004 14:42:36 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 18 Aug 2004 14:42:36 -0400</jf:modificationDate>
        <jf:date>Aug 18, 2004</jf:date>
        <jf:author>Donald Kittle</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Using a BLOB data type in a CMP Entity Bean</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=28099</link>

        

        
            <description><![CDATA[Jason,<br><br>Think about a company which has more than 10,000 employees and they want to store pictures of the images, how difficult to manage these pictures when you do not save this in database. So definitely BLOB is not a bad idea. We have thousands...]]></description>
        

        <pubDate>Wed, 18 Aug 2004 09:30:54 -0400</pubDate>

        

        <jf:creationDate>Wed, 18 Aug 2004 09:30:54 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 18 Aug 2004 09:30:54 -0400</jf:modificationDate>
        <jf:date>Aug 18, 2004</jf:date>
        <jf:author>Debu Panda</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Liferay JDBC Driver</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=28099</link>

        

        
            <description><![CDATA[&quot;What if you use Hibernate and not CMP? Does the new Oracle JDBC driver fix it automatically? Or is it tied to OC4J's CMP impl? &quot;<br><br>This was an issue with older versions of THIN drivers and has been fixed in 10g THIN driver. If you are...]]></description>
        

        <pubDate>Wed, 18 Aug 2004 09:15:00 -0400</pubDate>

        

        <jf:creationDate>Wed, 18 Aug 2004 09:15:00 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 18 Aug 2004 09:15:00 -0400</jf:modificationDate>
        <jf:date>Aug 18, 2004</jf:date>
        <jf:author>Debu Panda</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>This works fine</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=28099</link>

        

        
            <description><![CDATA[<blockquote>Two bad Ideas in one... Using BLOBS, and using Entity Beans. :)are we sure this isn't another anti-pattern?its hard to test &amp; doesn't scale well.  (for any blob of large size or for performance)anyone have good (real world) experience...]]></description>
        

        <pubDate>Wed, 18 Aug 2004 07:11:53 -0400</pubDate>

        

        <jf:creationDate>Wed, 18 Aug 2004 07:11:53 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 18 Aug 2004 07:11:53 -0400</jf:modificationDate>
        <jf:date>Aug 18, 2004</jf:date>
        <jf:author>Mike Skorik</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Using a BLOB data type in a CMP Entity Bean</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=28099</link>

        

        
            <description><![CDATA[I dont think its a good design, for a similar kind of requirement, We have used the file upload utility to upload the large image files ,directly to the server file system with adding the time stamp to the name of the file. the URL of this uploaded files...]]></description>
        

        <pubDate>Wed, 18 Aug 2004 02:51:33 -0400</pubDate>

        

        <jf:creationDate>Wed, 18 Aug 2004 02:51:33 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 18 Aug 2004 02:51:33 -0400</jf:modificationDate>
        <jf:date>Aug 18, 2004</jf:date>
        <jf:author>Shailendra Kumar</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Using a BLOB data type in a CMP Entity Bean</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=28099</link>

        

        
            <description><![CDATA[Two bad Ideas in one... <br>Using BLOBS, and using Entity Beans. :)<br>are we sure this isn't another anti-pattern?<br>its hard to test &amp; doesn't scale well.  (for any blob of large size or for performance)<br><br>anyone have good (real world)...]]></description>
        

        <pubDate>Wed, 18 Aug 2004 00:04:09 -0400</pubDate>

        

        <jf:creationDate>Wed, 18 Aug 2004 00:04:09 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 18 Aug 2004 00:04:09 -0400</jf:modificationDate>
        <jf:date>Aug 18, 2004</jf:date>
        <jf:author>jason poley</jf:author>
        <jf:replyCount>2</jf:replyCount>
    </item>


    <item>

        <title>Liferay JDBC Driver</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=28099</link>

        

        
            <description><![CDATA[What if you use Hibernate and not CMP? Does the new Oracle JDBC driver fix it automatically? Or is it tied to OC4J's CMP impl?]]></description>
        

        <pubDate>Tue, 17 Aug 2004 23:17:18 -0400</pubDate>

        

        <jf:creationDate>Tue, 17 Aug 2004 23:17:18 -0400</jf:creationDate>
        <jf:modificationDate>Tue, 17 Aug 2004 23:17:18 -0400</jf:modificationDate>
        <jf:date>Aug 17, 2004</jf:date>
        <jf:author>Brian Chan</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Liferay JDBC Driver</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=28099</link>

        

        
            <description><![CDATA[We have (fixed) worked around the 4K limit in the JDBC driver and OC4J 9.0.4 works great with size higher than 4K for CMP entity beans with BLOB/CLOB in Oracle database. Also there is a patch available for OC4J 9.0.3.<br><br>regards<br>Debu...]]></description>
        

        <pubDate>Tue, 17 Aug 2004 20:46:56 -0400</pubDate>

        

        <jf:creationDate>Tue, 17 Aug 2004 20:46:56 -0400</jf:creationDate>
        <jf:modificationDate>Tue, 17 Aug 2004 20:46:56 -0400</jf:modificationDate>
        <jf:date>Aug 17, 2004</jf:date>
        <jf:author>Debu Panda</jf:author>
        <jf:replyCount>2</jf:replyCount>
    </item>


    <item>

        <title>Liferay JDBC Driver</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=28099</link>

        

        
            <description><![CDATA[You can also use the Liferay JDBC driver, and use CMP without any changes to talk to long varchars. Columns over 4k break for DB2 and Oracle when you use CMP.<br><br>See <a href="http://www.liferay.com/documentation/development_databases.jsp#oracle"...]]></description>
        

        <pubDate>Tue, 17 Aug 2004 20:32:13 -0400</pubDate>

        

        <jf:creationDate>Tue, 17 Aug 2004 20:32:13 -0400</jf:creationDate>
        <jf:modificationDate>Tue, 17 Aug 2004 20:32:13 -0400</jf:modificationDate>
        <jf:date>Aug 17, 2004</jf:date>
        <jf:author>Brian Chan</jf:author>
        <jf:replyCount>3</jf:replyCount>
    </item>


    <item>

        <title>Performance using CMP for BLOB</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=28099</link>

        

        
            <description><![CDATA[I agree with George to the extent of using JDBC to write to DB.<br><br>When it comes to scaling and performance in general, using CMP beans to write directly to the DB may not be the most correct design. Granted, scaling/performance depend on the no. of...]]></description>
        

        <pubDate>Tue, 17 Aug 2004 17:21:37 -0400</pubDate>

        

        <jf:creationDate>Tue, 17 Aug 2004 17:21:37 -0400</jf:creationDate>
        <jf:modificationDate>Tue, 17 Aug 2004 17:21:37 -0400</jf:modificationDate>
        <jf:date>Aug 17, 2004</jf:date>
        <jf:author>Raghu Sampathkrishna</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Performance</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=28099</link>

        

        
            <description><![CDATA[I tried this solution before read your blog and I think that don't scale very well. To picture files, with about 1 megabyte it can seems work, but if you want use BLOB seriously (more than 20 megabytes) it will consume too many memory and will be slow....]]></description>
        

        <pubDate>Tue, 17 Aug 2004 15:04:42 -0400</pubDate>

        

        <jf:creationDate>Tue, 17 Aug 2004 15:04:42 -0400</jf:creationDate>
        <jf:modificationDate>Tue, 17 Aug 2004 15:04:42 -0400</jf:modificationDate>
        <jf:date>Aug 17, 2004</jf:date>
        <jf:author>George Tavares</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Using a BLOB data type in a CMP Entity Bean</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=28099</link>

        

        
            <description><![CDATA[You cannot directly map a java.sql.Blob field type in a CMP entity bean to a BLOB data type in the database and use byte to manipulate the BLOB data type. Debu Panda paints the picture for a work-around. <br><br>Read <a...]]></description>
        

        <pubDate>Mon, 16 Aug 2004 14:14:05 -0400</pubDate>

        

        <jf:creationDate>Mon, 16 Aug 2004 14:14:05 -0400</jf:creationDate>
        <jf:modificationDate>Mon, 16 Aug 2004 14:14:05 -0400</jf:modificationDate>
        <jf:date>Aug 16, 2004</jf:date>
        <jf:author>Nitin Bharti</jf:author>
        <jf:replyCount>12</jf:replyCount>
    </item>



</channel>
</rss>

