The EntitySpaces Community

Share and learn about the EntitySpaces Architecture.
Welcome to The EntitySpaces Community Sign in | Join | Help
in
Home Forums Photos

Custom MyMeta plugin: Unknown Datatype

Last post 06-20-2008, 7:34 AM by crankyjim. 4 replies.
Sort Posts: Previous Next
  •  06-16-2008, 10:01 AM 9824

    Custom MyMeta plugin: Unknown Datatype

    Hi.  I've written a custom MyMeta plugin to work with my old old version of Oracle 7.3.4.  When I try to generate entityspaces objects using it, I get unknown datatypes everywhere for every datatype in the database.

     If i use this same MyMeta plugin against old doodads, it's no problem.  Everything is working well, which leads me to believe that it must be something in the code templates themselves? 

     Key bits of information:

     MyMeta properties when selecting a column:

    DataTypeName: VARCHAR2

    DataTypeNameComplete: VARCHAR2

    LanguageType: String

    DBTargetType: OleDbType:VarWChar

    Example Output:

    Code:
    			c = New esColumnMetadata(PsItemMetadata.ColumnNames.ItemGuid, 0, GetType(Unknown), esSystemType.Unassigned)	
    			c.PropertyName = PsItemMetadata.PropertyNames.ItemGuid
    			c.IsInPrimaryKey = true
    			c.CharacterMaxLength = 40
    			c.Description = "null"
    			_columns.Add(c) 
    				
    			c = New esColumnMetadata(PsItemMetadata.ColumnNames.PsGuid, 1, GetType(Unknown), esSystemType.Unassigned)	
    			c.PropertyName = PsItemMetadata.PropertyNames.PsGuid
    			c.IsInPrimaryKey = true
    			c.CharacterMaxLength = 40
    			c.Description = "null"
    			_columns.Add(c) 
    				
    

        
    Not sure where else to look now.  Language and Database mappings look correct to me.

    Any advice would be appreciated.

  •  06-17-2008, 8:27 AM 9846 in reply to 9824

    Re: Custom MyMeta plugin: Unknown Datatype

    We aren't ignorning you, I will respond later tonight ...
    EntitySpaces | Twitter | BLOG | Please honor our Software License
  •  06-19-2008, 12:47 PM 9899 in reply to 9846

    Re: Custom MyMeta plugin: Unknown Datatype

    Thanks!

     Any advice or clarification is, as always, appreciated.

     

    Jim

  •  06-20-2008, 4:37 AM 9907 in reply to 9899

    Re: Custom MyMeta plugin: Unknown Datatype

    Here's the issue. ES2008 comes with it's own metadata engine (EntitySpaces.MetadataEngine.dll) and we don't actually use MyMeta at all. We're kind of in a funky state as it concerns MyGeneration, we still use the MyGeneration connnection screen which does use MyMeta, so it's kind of complicated. CodeSmith is cleaner from this standpoint as we have our own connection dialog in CodeSmith. We plan to have our own generation platform in ES2009 so this will all go away. Right now, plugins for EntitySpaces really aren't workable (yet).

    EntitySpaces | Twitter | BLOG | Please honor our Software License
  •  06-20-2008, 7:34 AM 9911 in reply to 9907

    Re: Custom MyMeta plugin: Unknown Datatype

    rats.

    Thanks for the reply Mike.   I understand the issue now and I'll stop trying to get it working and instead wait patiently for 2009.  Back to old reliable for now. :)

     

     

    Jim

View as RSS news feed in XML