The Latest

DevX - Software Development Resource

Batch Processing in Hibernate

Suppose you need to insert 200,000 records into a database in Hibernate. You’ll need to adjust the following settings: //set the JDBC batch size (it is fine somewhere between 20-50)hibernate.jdbc.batch_size

DevX - Software Development Resource

Gain Control of your .NET Logging Using log4net

have always considered logging a critical function of any production application; however, it’s often overlooked. Logging is often added to the application only after the functionality is already defined and

DevX - Software Development Resource

Mono IDEs: Going Beyond the Command Line

ike the freely downloadable Microsoft .NET Framework 2.0 SDK, the free open source Mono platform provides a number of command line utilities used to compile .NET source code and manipulate

DevX - Software Development Resource

Cooperative Multithreading in BREW with IThread

y last article mentioned the BREW IThread as a possible solution to the challenges of dealing with blocking code on BREW. Whether you’re porting existing code to BREW or writing

DevX - Software Development Resource

Determine Whether a Table Has an Identity Column

This code is for MSSQL Server, but applicable for MS SSQL Server 7 or above. Check in T-SQL: SELECT OBJECTPROPERTY(object_id(‘TableToBeChecked’), ‘TableHasIdentity’) SQL Server returns 1 if the table has an

DevX - Software Development Resource

Platform-independent New Line Characters

Because you need to use the new line character in most outputs?and because the line-terminating characters differ on different systems?you need to be able to identify what kind of system

DevX - Software Development Resource

Store and Retrieve XML from Databases with XSU

ou can think of an XML document as a relational table where the various elements represent columns in a database table. Therefore, by mapping the various elements to a table,

DevX - Software Development Resource

Changing Column Names in Oracle

Oracle does not have a mechanism by which you directly change column names. But this workaround is quick and efficient. Consider TableA: COLUMN_1 NUMBERCOLUMN_2 VARCHAR2(500)COLUMN_3 DATE You want to change

DevX - Software Development Resource

Using XMLSchema DOM and SAX in JAXP 1.2

To take advantage of the power of XMLSchema in a SAX or DOM application, you simply have to set two properties. In JAXP 1.3, use the javax.xml.validation package. The two

DevX - Software Development Resource

Add a Fresh Set of Records to a Dataset

When you execute a new query and populate an existing dataset, the newly retrieved records are appended to the existing records in the dataset. If you wish to remove the

DevX - Software Development Resource

Quick Ways to Determine a Computer’s Name

Here are three quick ways to determine a computer’s name: Type Hostname in the Command Prompt, then press the Enter key. Press the Windows and Pause keys to bring up

DevX - Software Development Resource

Build a Custom Research Pane for Excel with VSTO

he previous article in this series discussed how to use the Visual Studio Tools for Office (VSTO) platform to build a custom alerting application that used Outlook as the alerting

DevX - Software Development Resource

Video on a Budget: Two Ways to Deliver Flash

treaming video is a very fashionable buzz phrase these days thanks to the pervasiveness of Internet video (which is, in turn, thanks, largely, to Flash). However, it’s also a widely

DevX - Software Development Resource

Getting Started with Sun Java System RFID

un Java System RFID Software is an RFID infrastructure framework that integrates data and RFID-enabled devices into enterprise application systems ranging from small projects to large deployments. Java System RFID

DevX - Software Development Resource

Struts to Stripes—A Road Worth Traveling

orting an existing Java Web application to a new framework is probably not at the top of most developers’ fun-stuff-to-do lists. In addition to the time of learning a new

DevX - Software Development Resource

Achieving Synchronicity: A ListBox Double Feature

uilding complex Web controls with rich-client interfaces often requires the integration of some client-side JavaScript code with the control’s server-side code. While in some cases this does not have to

DevX - Software Development Resource

Imitate Sealed Classes and Disable Object Copying

he keywords final and sealed in Java and C# respectively ensure that a certain class shall not be subclassed. C++ doesn’t have a similar keyword. Naive programmers are often tempted