GetUsing

Gets the row specified by the fields set in an template object.

root@turing:/examples/dbo# java examples.dbo.Test -conf postgres.cnf -test examples.dbo.Getusing 
  -email 'mol@holografix.net' -is_active 'false'

INFO     New log level set to: LogLevel [3,INFO]
INFO     fc.util.FilePropertyMgrLoaded properties from file: postgres.cnf
>>> Retrieved 0 rows
JVM shutdown: fc.io.Log - closing all logs...

root@turing:/examples/dbo# java examples.dbo.Test -conf postgres.cnf -test examples.dbo.Getusing -email 'mol@holografix.net' -is_active 'true'

INFO     New log level set to: LogLevel [3,INFO]
INFO     fc.util.FilePropertyMgrLoaded properties from file: postgres.cnf
>>> Retrieved 1 rows
[Class Name: [mollytest] [isDiscarded=false] [isNew=false] [isModified=false]
Note: IsNullInDB only meaningful for existing rows (i.e., isNew=false)
 PK FK Field      Value              isModified isNullinDB isSerial/AutoInc 
 x  -  uid        1                  -          -          x                
 -  -  name       Molly Kolodny      -          -          -                
 -  -  email      mol@holografix.net -          -          -                
 -  -  password   blue9              -          -          -                
 -  -  created_on 2007-04-10         -          -          -                
 -  -  is_active  true               -          -          -                
]
JVM shutdown: fc.io.Log - closing all logs...
root@turing:/examples/dbo# java examples.dbo.Test -conf mysql.cnf -test examples.dbo.Getusing 
  -email 'mol@holografix.net' -is_active 'false'

INFO     New log level set to: LogLevel [3,INFO]
INFO     fc.util.FilePropertyMgrLoaded properties from file: mysql.cnf
>>> Retrieved 0 rows
JVM shutdown: fc.io.Log - closing all logs...

root@turing:/examples/dbo# java examples.dbo.Test -conf mysql.cnf -test examples.dbo.Getusing -email 'mol@holografix.net' -is_active 'true'

INFO     New log level set to: LogLevel [3,INFO]
INFO     fc.util.FilePropertyMgrLoaded properties from file: mysql.cnf
>>> Retrieved 1 rows
[Class Name: [mollytest] [isDiscarded=false] [isNew=false] [isModified=false]
Note: IsNullInDB only meaningful for existing rows (i.e., isNew=false)
 PK FK Field      Value              isModified isNullinDB isSerial/AutoInc 
 x  -  uid        1                  -          -          x                
 -  -  name       Molly Kolodny      -          -          -                
 -  -  email      mol@holografix.net -          -          -                
 -  -  password   blue9              -          -          -                
 -  -  created_on 2007-04-08         -          -          -                
 -  -  is_active  true               -          -          -                
]
JVM shutdown: fc.io.Log - closing all logs...