Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

java - Performance implications of handling CLOBs with Oracle JDBC using SetBigStringTryClob -


i in process of reviewing old java/jdbc code clob-handling on oracle database. existing code uses approach similar approach mentioned in this question.

i found an article states:

prior oracle jdbc 10g, manipulate clob data in jdbc, oracle extension class oracle.sql.clob used. now, oracle jdbc 10g has few enhancements simplifies clob manipulation in jdbc applications. enables handling of large data using of available standard apis, instead of using oracle extension classes.

the article gives following information details of enhancement:

by default, method preparedstatement.setstring() allow processing of strings 32765 bytes. in order insert data greater 32765 bytes, newly introduced connection property - setbigstringtryclob can set. forces preparedstatement.setstring() use newly introduced method, oraclepreparedstatement.setstringforclob() instead.

however warns:

... handling large amounts of data way may not wise; streaming data better alternative.

but above performance-related warning in article. question if of clob access in code already being done through string objects, should worry other potential performance problems change of approach might cause? in other words, app not using benefit offered streaming load clobs in string objects above warning can ignored because not aiming @ performance improvement @ moment. there other performance-related issues might arise because of switching technique?

how big talking about? regularly handle short audio files , web images in memory without performance issues. these kilobyte scale files. think if run megabyte sizes streaming better. using streaming lob pretty easy standardized stuff.


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -