Re: Custom DB Field Typ in Cayenne Modeler 3.1

2015-04-08 Thread John Huss
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 wrote: > Hi André, > > Are you sure you can't add your custom type to Cayenne Modeler? On the > ObjEnt

Re: Custom DB Field Typ in Cayenne Modeler 3.1

2015-04-08 Thread Michael Gentry
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,

Custom DB Field Typ in Cayenne Modeler 3.1

2015-04-07 Thread André Koppany
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