On Sep 15, Tom Janofsky quoth:
> Could you post to the list (or email me) what the snag was that you got
> over? I'm going to be doing exactly this over the weekend.
The snag wasn't something we specifically conquered. After upgrading from
pr4 to Beta (1?) we monkeyed about with our sql type mappings and the
contents of the jaws.xml file until it worked. Here is what we have done,
as for which of these makes it 'work' I can only guess.
1) removed all unused type-mapping sections from the type-mappings portion
of jaws.xml.
2) individually specified each of the fields along with their type
mappings in the entity portion of the jaws.xml.
2) used TEXT as the sql-type for the large text attributes
3) used LONGVARCHAR as the jdbc-type of same
4) provided order entries (ORDER BY) in each finder definition
Number 1 I feel had little to do with making it work. Number 4 was to get
around a specific null pointer exception when it was left blank. Our
finders don't depend upon or require a specific ordering of the data and
given a preference we would rather leave it out.
We are using two custom finders in addition to the findAll() method
provided by jaws. We do not specify the findAll() method in jaws.xml.
We were *UNSUCCESSFUL* in mapping booleans into the database via jaws and
instead 'faked' it by having our get/set methods map the boolean into an
integer stored as a TINYINT (sql and jdbc type).
Everyone here is very happy with JBoss and can't wait to launch our
product using it.
> > I wanted to follow up my own request for info by saying that we have been
> > successful using large text areas greater than 255 charaters in length.
> > Thanks to those who offered suggestions.
--------------------------------------------------------------------------
There are no significant bugs in our released software that any significant
number of users want fixed. -Bill Gates, Focus Magazine, Oct 23, 1995
--------------------------------------------------------------------------
Caskey <caskey*technocage.com> /// TechnoCage Inc.
--------------------------------------------------------------------------
"Welcome to the slippery slope, here is your handbasket.
...say, can you work 70 hours this week?"
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]