He's talking about the JDBC type. I don't think Java has a JDBC type for JSON currently, so yes, you have to modify the schema creation manually.
On Wed, Apr 8, 2015 at 1:11 PM Michael Gentry <mgen...@masslight.net> wrote: > Hi André, > > Are you sure you can't add your custom type to Cayenne Modeler? On the > ObjEntity's Attribute's tab, you should be able to type in the name of your > custom class in the Java Type field. You'll have to use the full > package/class name for it, though. > > mrg > > > On Tue, Apr 7, 2015 at 7:27 AM, André Koppany <kopp...@mackoy.de> wrote: > > > Hi, > > > > I would like to use the json type from PostgreSQL 9.4 in my database > table. > > > > I did write a custom Type to handel the conversion from and to a JSON > > object which works nice from my first tests. > > > > My only problem is that I cannot define the json field type in the > cayenne > > modeler 3.1 and have to modify the sql code for schema creation > > by hand for this. Is there a way to add and use my own types in the > > cayenne modeler ? > > > > Best, > > André > > > > > > > > > > > > > > > > > > > > > > > > >