thanks to michael and tore for their help, it's now obvious...
Jerome
2007/4/2, Michael Gentry <[EMAIL PROTECTED]>:
I hate to follow up my own message, but I forgot to mention that the two
main reasons implemented the extended types are:
1) Better type safety. Methods could be setLienPositio
I hate to follow up my own message, but I forgot to mention that the two
main reasons implemented the extended types are:
1) Better type safety. Methods could be setLienPosition(LienPosition
lienPosition) instead of setLienPosition(Integer lienPosition). Only values
that represented actual lien
On Apr 2, 2007, at 15:05, jerome moliere wrote:
2007/4/2, Tore Halset <[EMAIL PROTECTED]>:
On Apr 2, 2007, at 11:02, jerome moliere wrote:
> CREATE TABLE PAITINGS_TBL(painting_id int primary key,painting_data
> bytea);
>
> CREATE TABLE ARTISTS_BIO(artist_id int primary key, artist_text_bio
I've used extended types to implement enumerations (essentially -- but mine
had a lot more oomph behind it), but these were all integer/string values,
not blobs. My implementation of that is on the Cayenne Wiki, but I wrote it
for Java 1.4 and a co-worker had trouble with it working under Java 1.
2007/4/2, Tore Halset <[EMAIL PROTECTED]>:
On Apr 2, 2007, at 11:02, jerome moliere wrote:
> CREATE TABLE PAITINGS_TBL(painting_id int primary key,painting_data
> bytea);
>
> CREATE TABLE ARTISTS_BIO(artist_id int primary key, artist_text_bio
> bytea);
>
>
> in this schema 2 tables with 2 BLOB
On Apr 2, 2007, at 11:02, jerome moliere wrote:
CREATE TABLE PAITINGS_TBL(painting_id int primary key,painting_data
bytea);
CREATE TABLE ARTISTS_BIO(artist_id int primary key, artist_text_bio
bytea);
in this schema 2 tables with 2 BLOB fields, the first one is simply
the JPEG
while t
2007/4/2, jerome moliere <[EMAIL PROTECTED]>:
Hi all,
I'd like to show on a simple test the Cayenne equivalent for the Hibernate
UserType, that is to say
a way to map some SQL types with some user provided code...
Example given is : my customers use sybase image type to store XML gzipped
huge fi
Hi all,
I'd like to show on a simple test the Cayenne equivalent for the Hibernate
UserType, that is to say
a way to map some SQL types with some user provided code...
Example given is : my customers use sybase image type to store XML gzipped
huge files...
I'd like to be able to be able to store/r