[WireHose-dev] I did something?

Alex Cone abc at codefab.com
Mon Feb 11 17:18:54 EST 2008


Does the WHTag table have a DATEADDED column?  Perhaps the model got  
messed up or the table regenerated...

On Feb 11, 2008, at 1:58 PM, James Cicenia wrote:

> Yes, I did something and I have no idea what, but now I am getting  
> this weird sql error. Notice that the from is for WHTag which of  
> course has none of those columns?
>
>
>
>     Next exception:SQL State:42S22 -- error code: 1054 -- msg:  
> Unknown column 't0.DATEADDED' in 'field list'
> [2008-02-11 15:25:58 CST] <WorkerThread0>  
> com.webobjects.jdbcadaptor.JDBCAdaptorException: EvaluateExpression  
> failed: <com.webobjects.jdbcadaptor.MySQLPlugIn$MySQLExpression:  
> "SELECT t0.DATEADDED, t0.ENTITYTYPE, t0.GROUPID, t0.INDEXED,  
> t0.INHERIT, t0.NAME, t0.OPERATIONID, t0.PARENTID, t0.ROOTID,  
> t0.TAGID, t0.TEXTDESC, t0.ISUSER FROM WHTag t0 WHERE ((t0.ENTITYTYPE  
> = ? OR (t0.ENTITYTYPE = ? OR (t0.ENTITYTYPE = ? OR t0.ENTITYTYPE  
> = ?)) OR t0.ENTITYTYPE = ? OR (t0.ENTITYTYPE = ? OR t0.ENTITYTYPE  
> = ?)) AND t0.TAGID = ?)" withBindings: 1:"WHTag"(entityType),  
> 2:"WHEngageTag"(entityType), 3:"WHGroup"(entityType),  
> 4:"WHGroupTemplate"(entityType), 5:"WHOperation"(entityType),  
> 6:"WHPermission"(entityType), 7:"WHPermissionTemplate"(entityType),  
> 8:2(tagID)>:
>     Next exception:SQL State:42S22 -- error code: 1054 -- msg:  
> Unknown column 't0.DATEADDED' in 'field list'
>
>
> It is happening here:
>
>     public NSArray tags() {
>         return WHTaggable.DefaultImplementation.tags(this);
>     }
>
> I have a catalog (this) that has tags. That is it.
>
> What the heck did I do?
>
> Thanks
> James Cicenia
> _______________________________________________
> WireHose-dev mailing list
> WireHose-dev at public.codefab.com
> http://public.codefab.com/mailman/listinfo/wirehose-dev


__alex cone
         ceo  c o d e f a b  llc
         abc at codefab.com
         212.465.8484 x101
         http://www.codefab.com

If you are not living on the edge, you are taking up too much space.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.codefab.com/pipermail/wirehose-dev/attachments/20080211/f4d7dd4b/attachment.html


More information about the WireHose-dev mailing list