Re: How to set the type of the DB-field using @Externalizer

2007-04-10 Thread Lukas Ruetz
Hello! Am Dienstag, 10. April 2007 19:17 schrieb Abe White: > I can't reproduce this. When I leave out the @Persistent annotation > on the field or replace it with @Basic, I do indeed end up with a > binary column. But if I correctly include the @Persistent annotation > along with the @Externali

Re: How to set the type of the DB-field using @Externalizer

2007-04-10 Thread Lukas Ruetz
Hi! Am Dienstag, 10. April 2007 17:01 schrieb Abe White: > > I'm trying to use the @Externalizer annotation but have problems > > with the resulting type of the DB-field - it's always a byte-array. > > You shouldn't need the @Type annotation -- the type will be inferred > > from the return type of

How to set the type of the DB-field using @Externalizer

2007-04-10 Thread Lukas Ruetz
Hello list! I'm trying to use the @Externalizer annotation but have problems with the resulting type of the DB-field - it's always a byte-array. The following code is from the docs - the mapping-tool generates a table with a field 'url' of type byte-array. I tried to add the @Type annotation to s