serializing java objects to the database

2007-12-05 Thread Danny Lin
How is a java object serialized to the database as the JAVA_OBJECT datatype? Sorry, I'm not seeing my previous post on the web archives.

RE: TypeHandler Problem

2008-02-19 Thread Danny Lin
Nevermind!! Config issue. From: Danny Lin [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 19, 2008 10:01 AM To: user-java@ibatis.apache.org Subject: TypeHandler Problem Hello, I'm getting an exception when trying to use a typeHandler to map an object to a column: ---

TypeHandler Problem

2008-02-19 Thread Danny Lin
Hello, I'm getting an exception when trying to use a typeHandler to map an object to a column: --- Cause: com.ibatis.sqlmap.client.SqlMapException: No type handler could be found to map the property 'transactionType' to the column 'transaction_type'. One or both of the types, or the combinati

n+1 selects and queryForMap

2008-04-03 Thread Danny Lin
Hello, I have an object with a property that is a HashMap of name/value pairs from a separate data table. If one of my properties on the 'food' class is a hashmap, I'm assuming I can create that hashmap using the following sql mapping correct? Is it possible to avoid the n+1 select issue and so

RE: n+1 selects and queryForMap

2008-04-03 Thread Danny Lin
Is this even a valid way to get a hashmap or do we need to use queryForMap? select * from food_attributes where food_id=#id# From: Danny Lin [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2008 10:31 AM To: user-java@ibatis.apache.org Subject