<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4017917</id><updated>2011-07-15T05:24:33.842+08:00</updated><title type='text'>Techie Tortoise</title><subtitle type='html'>Anything on Java Programming</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://techtortoise.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4017917/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://techtortoise.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Yoke Ping</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>12</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4017917.post-111709800200768982</id><published>2005-05-26T16:48:00.000+08:00</published><updated>2005-05-26T17:00:02.013+08:00</updated><title type='text'>Torque - idMethod</title><summary type='text'>A lot of people overlook this important attribute "idMethod" in the "table" tag of the torque schema file. This determines whether you are using the native database generated sequential key.For instance, in MySQL,(1)  if you want your primary key to be auto-incremented by the DB, you should set the idMethod to be "native";(2) If you want to define your own primary key, you should set it to "none"</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4017917/posts/default/111709800200768982'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4017917/posts/default/111709800200768982'/><link rel='alternate' type='text/html' href='http://techtortoise.blogspot.com/2005_05_01_archive.html#111709800200768982' title='Torque - idMethod'/><author><name>Yoke Ping</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4017917.post-107799278710677615</id><published>2004-02-29T02:21:00.000+08:00</published><updated>2004-02-29T02:30:30.920+08:00</updated><title type='text'>Hibernate - ID unsaved-value</title><summary type='text'>Another lesson learnt.If the java type of your primary key "id" is of a primitive type int, long, double, etc, the "unsaved-value" attribute must be filled with a value. For instance, if you declare your primary key in your model class as "private int key;", then your unsaved-value should be 0. If you declare your primary key as "private int key = -1;", then your unsaved-value should be -1;</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4017917/posts/default/107799278710677615'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4017917/posts/default/107799278710677615'/><link rel='alternate' type='text/html' href='http://techtortoise.blogspot.com/2004_02_01_archive.html#107799278710677615' title='Hibernate - ID unsaved-value'/><author><name>Yoke Ping</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4017917.post-107778239980836381</id><published>2004-02-26T15:57:00.000+08:00</published><updated>2004-02-26T16:02:46.700+08:00</updated><title type='text'>JavaWorld - No more updated articles</title><summary type='text'>JavaWorld has announced that there will be no more updated articles. I am hoping that it is just a temporarily move.</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4017917/posts/default/107778239980836381'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4017917/posts/default/107778239980836381'/><link rel='alternate' type='text/html' href='http://techtortoise.blogspot.com/2004_02_01_archive.html#107778239980836381' title='JavaWorld - No more updated articles'/><author><name>Yoke Ping</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4017917.post-107711392950559209</id><published>2004-02-18T22:05:00.000+08:00</published><updated>2004-02-18T22:34:19.593+08:00</updated><title type='text'>Hibernate 2.1 - ehcache library required!</title><summary type='text'>Topic: DB Object MappingI just downloaded Hibernate 2.1.2 and was trying out the tutorial in the reference pdf file. As instructed, I copied the following to my webapp lib directory: cglib-2.0-rc2.jar, commons-collections-2.1.jar, commons-dbcp-1.1.jar, commons-lang-1.0.1.jar, commons-logging-1.0.3.jar, commons-pool-1.1.jar, dom4j-1.4.jar, hibernate2.jar, log4j-1.2.8.jar, odmg-3.0.jar. I must </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4017917/posts/default/107711392950559209'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4017917/posts/default/107711392950559209'/><link rel='alternate' type='text/html' href='http://techtortoise.blogspot.com/2004_02_01_archive.html#107711392950559209' title='Hibernate 2.1 - ehcache library required!'/><author><name>Yoke Ping</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4017917.post-107664897615424837</id><published>2004-02-13T13:07:00.000+08:00</published><updated>2004-02-18T22:32:32.966+08:00</updated><title type='text'>Comparison among various DB Object Mapping Tools</title><summary type='text'>Topic: DB Object MappingFound this site where someone makes some comparison on the various Object mapping tools. </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4017917/posts/default/107664897615424837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4017917/posts/default/107664897615424837'/><link rel='alternate' type='text/html' href='http://techtortoise.blogspot.com/2004_02_01_archive.html#107664897615424837' title='Comparison among various DB Object Mapping Tools'/><author><name>Yoke Ping</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4017917.post-107664398862330066</id><published>2004-02-13T11:43:00.000+08:00</published><updated>2004-02-18T22:31:48.610+08:00</updated><title type='text'>Another Object Mapping tools - iBATIS</title><summary type='text'>Topic: DB Object MappingCame across another object-mapping tool called iBATIS. This tool is abit different as it maps JavaBeans to SQL statement instead of the table schemas.For instance,&lt;mapped-statement name="getAddress"                  result-class="examples.domain.Address"&gt;      select        ADR_ID           as id,        ADR_DESCRIPTION  as description,        ADR_STREET       as</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4017917/posts/default/107664398862330066'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4017917/posts/default/107664398862330066'/><link rel='alternate' type='text/html' href='http://techtortoise.blogspot.com/2004_02_01_archive.html#107664398862330066' title='Another Object Mapping tools - iBATIS'/><author><name>Yoke Ping</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4017917.post-107511028341887322</id><published>2004-01-26T17:40:00.000+08:00</published><updated>2004-02-18T22:31:05.746+08:00</updated><title type='text'>Introduction to Hibernate</title><summary type='text'>Topic: DB Object MappingHere's a good introduction article to Hibernate based on version 2.0.3.I was trying to do some comparison between Torque, Hibernate and OJB. However, later I realise that Torque is out of the comparison as it is something different from the rest. It is more like  another persistence layer between the database and the other two. I will write more on this topic when I </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4017917/posts/default/107511028341887322'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4017917/posts/default/107511028341887322'/><link rel='alternate' type='text/html' href='http://techtortoise.blogspot.com/2004_01_01_archive.html#107511028341887322' title='Introduction to Hibernate'/><author><name>Yoke Ping</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4017917.post-107424811383920117</id><published>2004-01-16T18:07:00.000+08:00</published><updated>2004-02-18T22:29:50.903+08:00</updated><title type='text'>VARCHAR and VARCHAR BINARY</title><summary type='text'>Topic: MySQLUsually for String data, we would use VARCHAR data type. However, in my MySQL, do take note that if we use VARCHAR, the data stored would be case-insensitive. For case-sensitivity, you have to use VARCHAR BINARY.For instance, if you have the following table schema:CREATE TABLE MEMBER ( LOGIN_T  VARCHAR(20) PRIMARY KEY, PWD_T    VARCHAR(20));and the following records:abc|</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4017917/posts/default/107424811383920117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4017917/posts/default/107424811383920117'/><link rel='alternate' type='text/html' href='http://techtortoise.blogspot.com/2004_01_01_archive.html#107424811383920117' title='VARCHAR and VARCHAR BINARY'/><author><name>Yoke Ping</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4017917.post-107424576241002585</id><published>2004-01-16T17:34:00.000+08:00</published><updated>2004-02-18T22:41:02.670+08:00</updated><title type='text'>InnoDB Table Types</title><summary type='text'>Topic: MySQL Major Benefits (over ISAM and MyISAM):    * transaction-safe    * increase multi-user concurrency and performance    * supports Foreign key constraints    * supports auto-extending tablespaceForeign Key Constraints:Some points to take note while creating foreign key constraints    * Both tables must be InnoDB type    * Corresponding columns must have the same datatype. </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4017917/posts/default/107424576241002585'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4017917/posts/default/107424576241002585'/><link rel='alternate' type='text/html' href='http://techtortoise.blogspot.com/2004_01_01_archive.html#107424576241002585' title='InnoDB Table Types'/><author><name>Yoke Ping</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4017917.post-107396254314897804</id><published>2004-01-13T10:46:00.000+08:00</published><updated>2004-02-18T22:41:48.920+08:00</updated><title type='text'>JDBC Connection - Transaction Types</title><summary type='text'>Topic: JDBCHere's an interesting and easy-to-understand article that talks about the different transaction types of a connection. It also explains terms like "Dirty Read", "Phantom Reads" and "Non-Repeatable Reads". </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4017917/posts/default/107396254314897804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4017917/posts/default/107396254314897804'/><link rel='alternate' type='text/html' href='http://techtortoise.blogspot.com/2004_01_01_archive.html#107396254314897804' title='JDBC Connection - Transaction Types'/><author><name>Yoke Ping</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4017917.post-107364049788453455</id><published>2004-01-09T17:22:00.000+08:00</published><updated>2004-01-09T17:30:01.140+08:00</updated><title type='text'></title><summary type='text'>Here's an article on ANT's best practices.</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4017917/posts/default/107364049788453455'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4017917/posts/default/107364049788453455'/><link rel='alternate' type='text/html' href='http://techtortoise.blogspot.com/2004_01_01_archive.html#107364049788453455' title=''/><author><name>Yoke Ping</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4017917.post-107364109029658142</id><published>2004-01-09T17:20:00.000+08:00</published><updated>2004-01-09T18:00:21.263+08:00</updated><title type='text'></title><summary type='text'>I have decided to use this blog to keep track of some of the interesting technical articles and resources that I have read on the web. The articles that I "recommend" are usually quite simple to read and easy to learn as I am not very advanced with programming technologies. Technologies that I have used in my recent project includes:TorqueStrutsLOG4J</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4017917/posts/default/107364109029658142'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4017917/posts/default/107364109029658142'/><link rel='alternate' type='text/html' href='http://techtortoise.blogspot.com/2004_01_01_archive.html#107364109029658142' title=''/><author><name>Yoke Ping</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry></feed>
