[jboss-user] [JBoss Seam] - Re: seam generate-entities failure

2007-10-13 Thread [EMAIL PROTECTED]
wo37830: this is just because of some weird datatype being returned by mysql 
driver/db...we just need to find out what type it is and we can add a mapping 
for it.   

But raise it in hibernatetools forum as pete suggests.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4094858#4094858

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094858
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: seam generate-entities failure

2007-10-11 Thread woo37830
int(7) is what you get if you do the default int assignment.  At least in my 
case it was.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4094022#4094022

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094022
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: seam generate-entities failure

2007-10-11 Thread [EMAIL PROTECTED]
Oops, sorry :(

Anyway, you should report this on the hibernatetools forum

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4094025#4094025

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094025
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: seam generate-entities failure

2007-10-11 Thread woo37830
The point of my question is not whether it is the appropriate tool to use to 
generate an application or to just get the initial generated start to that 
application, but rather that it should at least generate correct code for 
normal column attributes from mysql!  If it only works for one particular demo 
case, then just state that this is just a tool for doing cute demos, but is not 
intended to work for anything else but this cute demo we rigged up.

Don't try this for anything else, because it won't work and isn't intended to?


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4094031#4094031

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094031
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: seam generate-entities failure

2007-10-11 Thread woo37830
I don't find a hibernate tools forum in the list of forums for this site.

Where is it?


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4094033#4094033

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094033
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: seam generate-entities failure

2007-10-11 Thread [EMAIL PROTECTED]
http://forum.hibernate.org/viewforum.php?f=6

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4094048#4094048

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094048
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: seam generate-entities failure

2007-10-10 Thread woo37830
Why would Seam not provide a mapping for int?  It's not an odd or unusual 
mapping?  It's mapping it as a small blob it says.

I read the part about the xml file and changing it, but there wasn't much to go 
on there.  

Is this seam generation portion ready for use or is it a beta edition?  I 
really wanted to use it to create some maintenance screens for a lot of tables 
we use in applications.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4093474#4093474

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4093474
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: seam generate-entities failure

2007-10-10 Thread [EMAIL PROTECTED]
seam-gen is a tool for quickly bootstrapping an application - it's not supposed 
to generate code you put straight into production.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4093480#4093480

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4093480
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: seam generate-entities failure

2007-10-10 Thread franciscoacb
[EMAIL PROTECTED] wrote : seam-gen is a tool for quickly bootstrapping an 
application - it's not supposed to generate code you put straight into 
production.

Why not, Pete?

I mean, I have always thinked that seam-gen generated code was what is 
suggested by JBoss Seam Team as a good pratice, a good way to organize code 
etc.

You guys have a huge experience in developing web applications, infinitely 
greater than mine, as a newbie. So isn't it correct to assume that the 
generated code takes advantage of this experience and we can consider that the 
code is already (or at least almost) production-quality?

Cheers,
Francisco Antônio
The biggest weapon against stress is our ability to choose a thought instead 
of another one. (WILLIAM JAMES)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4093646#4093646

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4093646

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: seam generate-entities failure

2007-10-10 Thread woo37830
I didn't expect it to create my application, but to give me the starting point 
for a series of maintenance screens for a lot of tables we use in the 
applicaiton.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4093670#4093670

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4093670
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: seam generate-entities failure

2007-10-10 Thread [EMAIL PROTECTED]
franciscoacb wrote : Why not, Pete?

I would never ever put generated code into production without a complete review 
first.  This just seems like common sense to me.

anonymous wrote : I mean, I have always thinked that seam-gen generated code 
was what is suggested by JBoss Seam Team as a good pratice, a good way to 
organize code etc.

Sure, but its also auto generated - so the templates are best on our 
recommendations - but not the resulting app. 

anonymous wrote : You guys have a huge experience in developing web 
applications, infinitely greater than mine, as a newbie. So isn't it correct to 
assume that the generated code takes advantage of this experience and we can 
consider that the code is already (or at least almost) production-quality?

I would call it always a good starting point for your app - something that you 
can review, add to and play around with.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4093785#4093785

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4093785
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: seam generate-entities failure

2007-10-10 Thread [EMAIL PROTECTED]
As Max says - mysql is probably returning some odd information about the 
column.  I don't think int(7) is the default size for an int?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4093787#4093787

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4093787
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: seam generate-entities failure

2007-10-04 Thread woo37830
This is what I get for the table queue in question.

mysql describe queue;
++-+--+-+-+---+
| Field  | Type| Null | Key | Default | Extra |
++-+--+-+-+---+
| NAME   | varchar(32) | NO   | PRI | DEFAULT |   | 
| NEXT_ENTRY | int(7) unsigned | NO   | | 0   |   | 
| ENTRY_INCR | int(7) unsigned | NO   | | 10  |   | 
++-+--+-+-+---+
3 rows in set (0.09 sec)


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4091737#4091737

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4091737
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: seam generate-entities failure

2007-10-03 Thread [EMAIL PROTECTED]
what is the DDL for that table ?

apparently mysql is not returning a sql type that we have mapped.

to workaround it you can adjust the reveng.xml file to include mappings from 
the column type to the relevant hibernate type you actually want.

(see tools.hibernate.org for docs about reveng.xml)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4091166#4091166

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4091166
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user