org.mmbase.module.database.support
Class MMHypersonic2Node
java.lang.Object
|
+--org.mmbase.module.database.support.MMSQL92Node
|
+--org.mmbase.module.database.support.MMHypersonic2Node
- All Implemented Interfaces:
- MMJdbc2NodeInterface
- public class MMHypersonic2Node
- extends MMSQL92Node
MMSQL92Node implements the MMJdbc2NodeInterface for
sql92 types of database this is the class used to abstact the query's
needed for mmbase for each database.
It is now deprecated and only kept for people using the old
hypersonic database instead of the new version Hsqldb.
Eduard:
This class is not depricated, since Orion 1.6.0 still uses this
database as is example database with jndi resource's
- Author:
- Daniel Ockeloen
| Methods inherited from class org.mmbase.module.database.support.MMSQL92Node |
addField, changeField, commit, convertXMLType, create_real, create, created, createObjectTable, decodeDBnodeField, decodeStringField, drop_real, drop, getAllowedField, getDBByte, getDBKey, getDBKeyOld, getDBText, getDisallowedField, getMatchCREATE, getMMNodeSearch2SQL, getNumberString, getOTypeString, getOwnerString, getReverseHash, getShortedByte, getShortedText, init, insert_real, insert, isAllowedParentBuilder, matchType, parseFieldPart, registerParentBuilder, removeField, removeNode, setDBByte, setDBText, size, tableSizeProtection, updateTable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MMHypersonic2Node
public MMHypersonic2Node()
getConnection
public MultiConnection getConnection(JDBCInterface jdbc)
throws java.sql.SQLException
- Overrides:
getConnection in class MMSQL92Node
decodeDBnodeField
public MMObjectNode decodeDBnodeField(MMObjectNode node,
java.lang.String fieldname,
java.sql.ResultSet rs,
int i,
java.lang.String prefix)
- Overridden since the hypersonic has following problems:
-
rs.getString(i) does not return the same as
new String(rs.getBytes(i)) (was added for encoding
problem. Actuall we need 2 settings for MMBase. 1 for pages and 1
for database layer. When we keep using one will only give problems
-
fieldnames have to be in lower case
- Overrides:
decodeDBnodeField in class MMSQL92Node
MMBase build 1.6.5.20030923