[jboss-user] [JBoss Seam] - Re: seam-gen problem with generate-ui and repeated types
Yes, known issue. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129957#4129957 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129957 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen problem with generate-ui and repeated types
Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129979#4129979 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129979 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen makes EARs that are 12X bigger than they need t
Nice work :) We need stuff like this on the new website for sure. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4125143#4125143 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4125143 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen makes EARs that are 12X bigger than they need t
[EMAIL PROTECTED] wrote : nickarls - good idea. Fancy writing one? :) Sure, I'll have some spare time as soon as the kids move out in 2023 or so ;-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124543#4124543 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124543 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen makes EARs that are 12X bigger than they need t
Well, most info can already be found in http://docs.jboss.org/tools/2.0.0.GA/seam/en/html_single/index.html View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124593#4124593 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124593 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen makes EARs that are 12X bigger than they need t
Well, they didn't move out yet but at least they went to sleep ;-) http://web.abo.fi/~nickarls/JBossToolsQuickStart.pdf (so far mosttly screenshots covering the install deploy of the skeleton project in WAR format) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124589#4124589 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124589 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen makes EARs that are 12X bigger than they need t
nickarls - good idea. Fancy writing one? :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124382#4124382 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124382 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen makes EARs that are 12X bigger than they need t
So what libs are actually required by a seam app? I know I can always add more libs to my project. What is the minimum ? Just jboss-seam.jar and jboss-el.jar ? So if I am running on a fresh Jboss 4.2.2.GA install what libs need to be added for Seam? Thanks for listening! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124518#4124518 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124518 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen makes EARs that are 12X bigger than they need t
just choose which library you want to include in your ear. Go and take a look build.xml. Remove libraries that you don't require in your project. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124230#4124230 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124230 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen makes EARs that are 12X bigger than they need t
The JBoss Tools plugins seem to create a more slim skeleton. In fact, the JBoss Tools is so noob-friendly that I think there ought to be a section Getting started with Seam, using JBoss Tools section in then manual since clicking through to a workable example is much more simple than the seam-gen - import cycle View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124255#4124255 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124255 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen generate-entities broken
Please file a JIRA issue, and post back a link here. This is a bug, sorry about that. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4119856#4119856 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4119856 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen generate-entities broken
JIRA issue. http://jira.jboss.org/jira/browse/JBSEAM-2498 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4119901#4119901 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4119901 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam gen in eclipse?
Use JBoss Tools [url]http://labs.jboss.com/tools[url] - follow the docs link and read the Seam docs. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4119011#4119011 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4119011 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam gen in eclipse?
I allready have Jboss tools-plugin installed. But I found a solution I just use the command prompt. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4119201#4119201 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4119201 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen with rf 3.1.3 simpleTogglePanel float clearing
seam-gen is fixed in CVS. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4118467#4118467 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4118467 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen with rf 3.1.3 simpleTogglePanel float clearing
im using seam 2.0.0GA and RF 3.1.3 i think im getting this issue. i added the suggestion theme.css but no joy i tried in firefox and it looked the same in IE it was almost correct but the bottom part of the panel was not showing. have i missed somethig all i have added is the .rich-stglpanel-body { overflow: auto; } lines to the bottom of my css file cheers View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4118043#4118043 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4118043 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen : reverse DB : many-to-many convention ?
exactly. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4116362#4116362 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4116362 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen with rf 3.1.3 simpleTogglePanel float clearing
Please report this in JIRA so we can fix the issues for the Seam 2.0.1 release. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4115259#4115259 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4115259 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen with rf 3.1.3 simpleTogglePanel float clearing
http://jira.jboss.org/jira/browse/JBSEAM-2425 http://jira.jboss.org/jira/browse/JBSEAM-2426 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4115260#4115260 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4115260 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen with rf 3.1.3 simpleTogglePanel float clearing
Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4115269#4115269 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4115269 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen : reverse DB : many-to-many convention ?
I haven't try to use seam-gen to generate many-to-many relationship from DB. But I use the new generate-ui target to do it from existing classes. It needs changes not only in view templates (view, list and edit.xhtml.ftl) but also in EntityHome.java.ftl. About M2M and reverse DB: you should be able to find a old thread in jira where the seam team discussed this issue View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4114120#4114120 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4114120 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen : reverse DB : many-to-many convention ?
When I say doesn't support, perhaps what I mean is isn't garunteed to do it correctly. I believe it works fine in Hibernate Tools (the reveng from db part) but not in generating the UI as atao says. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4114428#4114428 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4114428 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen : reverse DB : many-to-many convention ?
Hello, Thanks for the reply, but it seams to do. Indeed, I've managed to generate a many-to-many relationship with seam-gen between two tables NAME1 and NAME2: The many-to-many relationship table should: - its name should be NAME1_NAME2 - it has the right to have only 2 columns : a double primary key relying on the two foreignKey columns : FK1 and FK2 named as you want but with reference integrity constraints towards the primary key of the two tables : NAME1 and NAME2. It has generated me the getters and setters of the list in each entity NAME1 and NAME2 : Expl : - The class NAME1 contains the function public SetNAME2 getName2s() and its setter and - The class NAME2 contains the function public SetNAME1 getName1s() and its setter and no entity has been generated for the table NAME1_NAME2, that is right because it is a utility table and not a table reflecting a business objet to be persisted. The hibernate relationship has been created also : | @ManyToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY) | @JoinTable(name = NAME1_NAME2, catalog = mycatalogname, joinColumns = { @JoinColumn(name = NAME1_ID, nullable = false, updatable = false) }, inverseJoinColumns = { @JoinColumn(name = NAME2_ID, nullable = false, updatable = false) }) | public SetName2 getName2s() { | return this.name2s; | } | | public void setName2s(SetName2 name2s) { | this.name2s = name2s; | } | I still have a problem in the following step : As the returned list is of type java.util.Set and not java.util.List, I do not (for the moment) manage to display this list in a rich:datatable : | rich:dataTable var=name2s |value=#{name1Home.instance.name2s} | rendered=#{name1Home.instance.name2s != null} | rowClasses=rvgRowOne,rvgRowTwo | id=name2sTable | h:column | f:facet name=headerid/f:facet | #{name2s.id} | /h:column | Caused by javax.servlet.ServletException with message: /Name1Edit.xhtml: Property 'id' not found on type org.hibernate.collection.PersistentSet javax.faces.webapp.FacesServlet.service(FacesServlet.java:256) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) Caused by javax.el.ELException with message: /Name1Edit.xhtml: Property 'id' not found on type org.hibernate.collection.PersistentSet com.sun.facelets.compiler.TextInstruction.write(TextInstruction.java:48) com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:39) org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:280) If anyone can help me on this point. Thanks, Damien View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4114098#4114098 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4114098 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen : reverse DB : many-to-many convention ?
seam-gen doesn't support many-to-many relationships. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113989#4113989 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113989 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen, javax.el.PropertyNotFoundException when runnin
Nevermind. I was being stupid. The seam-gen build.xml file simply wasn't compiling the example classes because I had copied them to a location where the build script wasn't looking for them. Everything works fine now. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4110653#4110653 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4110653 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen, javax.el.PropertyNotFoundException when runnin
Sorry, forgot to mention my configuration: Seam 2.0.0 GA JBoss 4.2.2 GA View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4110642#4110642 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4110642 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen : list.xhtml - Create Button issue
Created a separated issue from 1493 : http://jira.jboss.org/jira/browse/JBSEAM-2330 Thank you atao and pete ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4109444#4109444 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109444 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen : list.xhtml - Create Button issue
Sorry i wrote too quickly. Indeed it should have been anonymous wrote : The JBSEAM-1493 Seam-gen: allow return to original page should take this case into account. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4109385#4109385 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109385 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen : list.xhtml - Create Button issue
Raise a jira. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4109271#4109271 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109271 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen : list.xhtml - Create Button issue
The JBSEAM-1493 Seam-gen: allow return to original page takes this case into account. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4109377#4109377 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109377 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: -Seam-gen PropertyNotFoundException after generate-entit
Here is my entity: package org.hk.crossroads.shippingapp.model; // Generated 15/11/2007 14:57:06 by Hibernate Tools 3.2.0.b10 import java.util.Date; import java.util.HashSet; import java.util.Set; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import static javax.persistence.GenerationType.IDENTITY; import javax.persistence.Id; import javax.persistence.OneToMany; import javax.persistence.Table; import org.hibernate.validator.Length; import org.hibernate.validator.NotNull; /** * SApplication generated by hbm2java */ @Entity @Table(name = s_application, catalog = shipping_nh) public class SApplication implements java.io.Serializable { private Integer applicationId; private String shipmentCode; private String region; private String country; private String province; private String organisation; private String contactPerson; private String projectType; private String projectBrief; private String contentsRequired; private String stateOfRegistration; private String oldForms; private String statusOfApplication; private String referees; private String outcomeOfApplication; private String notes; private String reviewFeedback; private String status; private Date dateEntered; private String enteredByUser; private String updatedByUser; private Date dateLastUpdated; private Set SCorrespondences = new HashSet( 0); public SApplication() { } public SApplication(String shipmentCode, Date dateEntered, Date dateLastUpdated) { this.shipmentCode = shipmentCode; this.dateEntered = dateEntered; this.dateLastUpdated = dateLastUpdated; } public SApplication(String shipmentCode, String region, String country, String province, String organisation, String contactPerson, String projectType, String projectBrief, String contentsRequired, String stateOfRegistration, String oldForms, String statusOfApplication, String referees, String outcomeOfApplication, String notes, String reviewFeedback, String status, Date dateEntered, String enteredByUser, String updatedByUser, Date dateLastUpdated, Set SCorrespondences, Set SCorrespondences_1) { this.shipmentCode = shipmentCode; this.region = region; this.country = country; this.province = province; this.organisation = organisation; this.contactPerson = contactPerson; this.projectType = projectType; this.projectBrief = projectBrief; this.contentsRequired = contentsRequired; this.stateOfRegistration = stateOfRegistration; this.oldForms = oldForms; this.statusOfApplication = statusOfApplication; this.referees = referees; this.outcomeOfApplication = outcomeOfApplication; this.notes = notes; this.reviewFeedback = reviewFeedback; this.status = status; this.dateEntered = dateEntered; this.enteredByUser = enteredByUser; this.updatedByUser = updatedByUser; this.dateLastUpdated = dateLastUpdated; this.SCorrespondences = SCorrespondences; this.SCorrespondences_1 = SCorrespondences_1; } @Id @GeneratedValue(strategy = IDENTITY) @Column(name = Application_ID, unique = true, nullable = false) public Integer getApplicationId() { return this.applicationId; } public void setApplicationId(Integer applicationId) { this.applicationId = applicationId; } @Column(name = Shipment_Code, nullable = false, length = 10) @NotNull @Length(max = 10) public String getShipmentCode() { return this.shipmentCode; } public void setShipmentCode(String shipmentCode) { this.shipmentCode = shipmentCode; } @Column(name = Region, length = 25) @Length(max = 25) public String getRegion() { return this.region; } public void setRegion(String region) { this.region = region; } @Column(name = Country, length = 100) @Length(max = 100) public String getCountry() { return this.country; }
[jboss-user] [JBoss Seam] - Re: seam-gen 'generate-entities' generates invalid code for
I think this is related with http://www.jboss.com/index.html?module=bbop=viewtopicp=4104865#4104865 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4104866#4104866 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4104866 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: -Seam-gen PropertyNotFoundException after generate-entit
I should point out that I've switch to 2.0.0 GA with the same issues... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4104869#4104869 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4104869 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: -Seam-gen PropertyNotFoundException after generate-entit
I think this is related to http://www.jboss.com/index.html?module=bbop=viewtopict=123682 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4104865#4104865 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4104865 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen entities: cascading bug or accepted behavior?
I have submitted the feature request to the hibernate tools team. I have also added an entry on the Seam Problems FAQ: http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamProblemsFAQ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4104873#4104873 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4104873 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: -Seam-gen PropertyNotFoundException after generate-entit
Ahh. I had no joy with the generated class used for object list and search. This class, SApplicationsListEntityQuery is a subclass of EntityQuery from the seam framework. It did not work for me but I was able to get a list of data after configuring an equivalent type in component.xml ie framework:entity-query name=sApplicationList ejbql=select app from SApplication app order=shipmentCode framework:restrictions lower(app.shipmentCode) like lower(concat(#{applicationSrch.shipmentCode},'%') ) lower(app.region) like lower(concat(#{applicationSrch.region},'%') ) lower(app.country) like lower(concat(#{applicationSrch.country},'%') ) lower(app.contactPerson) like lower(concat(#{applicationSrch.contactPerson},'%') ) lower(app.status) like lower(concat(#{applicationSrch.status},'%') ) /framework:restrictions /framework:entity-query View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4104880#4104880 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4104880 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: -Seam-gen PropertyNotFoundException after generate-entit
nharrison wrote : I've made further progress now. Here is what I've found. | | 2. The error in my first post is solved by configuring the SApplicationsList EntityQuery object instead of using the generated EntityQuery subclass. | | | What do you mean by configuring the SApplicationsListEntityQuery? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4104877#4104877 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4104877 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen 'generate-entities' generates invalid code for
I did some more research and have a theory what is happening: The error message tell us that 'tUser' is not a property of TUserList. When I change the getter to gettUser it is working. So I conclude BeanELResolver just concats 'get' + 'tUser' and does not obey the rules how to map property names to getter/setter methods. The code should uppercase the first letter of the property and then do the concatenation. Does someone know which class is responsible for scanning classes for properties? See the stacktrace for details: SCHWERWIEGEND: Error Rendering View[/home.xhtml] | javax.el.PropertyNotFoundException: The class 'com.seamguru.seamquizadmin.TUserList_$$_javassist_0' does not have the property 'tUser'. | at javax.el.BeanELResolver.getBeanProperty(BeanELResolver.java:574) | at javax.el.BeanELResolver.getValue(BeanELResolver.java:280) | at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143) | at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64) | at org.jboss.el.parser.AstPropertySuffix.getValue(AstPropertySuffix.java:53) | at org.jboss.el.parser.AstValue.getValue(AstValue.java:67) | at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186) | at org.jboss.seam.core.Expressions$1.getValue(Expressions.java:112) | at org.jboss.seam.navigation.Param.getStringValueFromModel(Param.java:132) | at org.jboss.seam.navigation.Pages.getStringValuesFromModel(Pages.java:688) | at org.jboss.seam.ui.component.UISeamCommandBase.getUrl(UISeamCommandBase.java:51) | at org.jboss.seam.ui.renderkit.LinkRendererBase.doEncodeBegin(LinkRendererBase.java:26) | at org.jboss.seam.ui.util.cdk.RendererBase.encodeBegin(RendererBase.java:79) | at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:788) | at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:280) | at org.richfaces.renderkit.html.ToolBarRendererBase.encodeChildren(ToolBarRendererBase.java:81) | at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812) | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886) | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592) | at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108) | at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216) | at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106) | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) | at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) | at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141) | at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281) | at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at
[jboss-user] [JBoss Seam] - Re: seam-gen 'generate-entities' generates invalid code for
could also be the seam-gen code generation templates that are not doing the Right Thing. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4104973#4104973 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4104973 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen 'generate-entities' generates invalid code for
Max you pointed me into another direction which helped me to find the reason for this unexpected behavior. It seams as if seam-gen / hibernatetools cannot handle table names having the following format: a single character followed by underscore '_' followed by any other character sequence. The behavior only shows up with a single character before the underscore. Weired. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4105144#4105144 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4105144 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen 'generate-entities' generates invalid code for
can you give me an example of such table ? hibernate tools should handle that fine; e.g. x_customer should become XCustomer i still think it is in seam-gen templates about how it assumes casing of names...I don't think it using the methods we have in hibernate tools to figure that out (and if they are not easily available we just need to make them available) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4105178#4105178 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4105178 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen entities: cascading bug or accepted behavior?
it's a default behavior - there isn't implemented suport for taking into account db specific constraints. Open a feature request against hibernate tools ;) p.s. you can use reveng.xml to control parts of this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4104845#4104845 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4104845 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen entities: cascading bug or accepted behavior?
Max, Thanks for clearing that up. I'll submit a feature request to the hibernate tools project to adjust the cascade attribute so that it matches the database-defined behavior. I'll also submit a request to the seam team for a mention of this behavior in the Getting started with Seam, using seam-gen section of the reference. BTW - just as an example of what can happen if one does not change the default behavior: Delete a (sales) employee. This cascades to delete all of the customers associated with that employee, which, in turn, cascades to delete all of the sales orders and line items associated with that customer. Also, if the employee table has a self-referential foreign key to identify the employee's boss, a whole chain of other employees (and their customers and sales orders) can be deleted... Stephen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4104850#4104850 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4104850 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: -Seam-gen PropertyNotFoundException after generate-entit
I've made further progress now. Here is what I've found. 1. MySQL LONGTEXT columns are not mapped correctly. The workaround is to add the following annotation @Column(name = Contents_Required, length=2147483647) 2. The error in my first post is solved by configuring the SApplicationsList EntityQuery object instead of using the generated EntityQuery subclass. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4104853#4104853 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4104853 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen is not a solution worth trying for existing EJB
juntao wrote : Siarhei, | | Sorry, I have not had a chance to install Resin and try out your fix. ;) If we do commit to this to the code, we will need to maintain it for every Seam release. Can you help us with this? | | Also, since Seam 2.0.0 has just been released, can I ask you to update the issue with the latest examples? It will be great if you can send us a build-resin.xml for JPA and Hibernate2 examples. Thanks! | | cheers | Michael Michael, I've updated the issue with the latest examples and also made the Resin team aware of problems in their latest server version. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4104326#4104326 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4104326 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen is not a solution worth trying for existing EJB
calm down please ;) 1) If you want specific features in the generated code then please contribute it - its just a matter of adding/fixing the templates. 2) seam-gen as it is in the ant scripts is just done via reverse engineering but hibenate tools supports using existing entities just fine and there are even a jira for it to be applied - someone just need to pick that up and get it applied properly. It's described at http://jira.jboss.com/jira/browse/JBSEAM-843 and even with a patch you can easily try out if you want. 3) Just to prove it works - then In JBoss Tools you have two options when you choose seam generate entities you have the option of selecting Reverse Engineer from database OR Use exiting entities. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4103409#4103409 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4103409 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen is not a solution worth trying for existing EJB
Hi Max Sorry about the tone. I wasn't meant to be rude. I've just been fighting with these thing for a while now without much luck. My frustrations is actually more a result of a lack of help and documentation regarding these matters. (Like why do I have to use something found in a jira containing a few attachments but no intro). It seams like the sources of information is spread into too many places: - This forum - Michael Yuan's blog - Hibernate Tools' website - in.relation.to - various articles and blogs online - Some slideshows presented at various conferences etc. Why not set up a wiki / confluence or something similar where users can contribute to a gathered documentation. 1) If you want specific features in the generated code then please contribute it - its just a matter of adding/fixing the templates. I would gladly do that but how do I start when I can't figure out what the status of the various projects / subprojects are? 2) seam-gen as it is in the ant scripts is just done via reverse engineering but hibenate tools supports using existing entities just fine and there are even a jira for it to be applied - someone just need to pick that up and get it applied properly. It's described at http://jira.jboss.com/jira/browse/JBSEAM-843 and even with a patch you can easily try out if you want. I've seen the Jira, but it is not very well documented or described. I've tried downloading the build-jpa.xml and adding a generate-ui target in the build.xml file, but it gives me some errors like: view/extension not found. How to use the .patch files I don't know. 3) Just to prove it works - then In JBoss Tools you have two options when you choose seam generate entities you have the option of selecting Reverse Engineer from database OR Use exiting entities. That is great. I'll give it another shot. Starting from JBoss Tools I think... Please let me know if there's anything I can contribute with making seam the success it should be. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4103412#4103412 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4103412 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen is not a solution worth trying for existing EJB
Installing JBoss IDE causing problems: I get the following error: org.jboss.ide.eclipse.ejb3.feature (1.0.2.GA) requires plug-in org.eclipse.jdt.source. How do I proceed from that? My starting point is MyEclipse. Thanks Morten View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4103414#4103414 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4103414 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen is not a solution worth trying for existing EJB
JBoss IDE does not have these things integrated - you should be looking at JBoss Tools. And I just checked - there are zero references to org.eclipse.jdt.sourceorg.eclipse.jdt.source in JBoss Tools (don't know about older JBoss IDE) p.s. I can't guarantee anything on top of MyEclipse; only Eclipse WTP p.p.s. husk at stemme - jeg kan desvaerre ikke ;) /max View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4103419#4103419 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4103419 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen is not a solution worth trying for existing EJB
@ Morten: MyEclipse likes to ship own/different version of WTP, I also had problems there some time ago when I was using MyEclipse. Then I just started using Exadel plugin when it became decent enough. So don't be surprised if you have that kind of issues. Try it on Eclipse Europa first and see if the problem comes back. Or raise an issue at MyEclipse to include the latest version of WTP. @ Max: do I have the right impression that there is lack of committers for Seam? Some issues hang in Jira for half a year or even longer (even though there are patches which merely need to be checked and merged). With Michael Yuan left Red Hat is he still a committer or is there a replacement? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4103423#4103423 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4103423 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen is not a solution worth trying for existing EJB
@Svadu: Michael Yuan is still a committer and we got a good set of committers, but we can always use an helping hand - especially around the tooling (both seamgen and hibernatetools ;) I have spent most of my time focusing on JBoss Tools/RHDS so I haven't been able to pick up the generate entities functionallity in seam-gen yet View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4103424#4103424 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4103424 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
Re: [jboss-user] [JBoss Seam] - Re: seam-gen is not a solution worth trying for existing EJB
OK, I'll try using eclipse (europe) and make sure that I use Jboss Tools and not JBoss IDE. I actually considered using Redhat Developer Studio, but I'm using Mac here, so that's not an option... To MAX: og jeg skal nok huske at stemme :-)... Nogen forslag :-) (Sidder du i USA siden du ikke kan stemme?) Shit it's on Danish, Hansi... Just stumbled accross jpa2web that creates a zk webapp based on JPA annotated entities. (Doesn't work though) Regards Morten 2007/11/10, [EMAIL PROTECTED] [EMAIL PROTECTED]: @Svadu: Michael Yuan is still a committer and we got a good set of committers, but we can always use an helping hand - especially around the tooling (both seamgen and hibernatetools ;) I have spent most of my time focusing on JBoss Tools/RHDS so I haven't been able to pick up the generate entities functionallity in seam-gen yet View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4103424#4103424 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4103424 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user -- Morten Matras Udviklingschef GAMP media og Blob Communication ApS Vindegade 99-103 5000 Odense C Tlf: 61711103 E: [EMAIL PROTECTED] T: 76 654321 W: www.blobcom.com E: [EMAIL PROTECTED] ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen is not a solution worth trying for existing EJB
Siarhei, I am still working with Seam and JBoss Tools everyday. :) But yes, Seam can certainly use more help -- especially in areas related to non-JBoss application servers. Please let us know if you want to contribute! :) cheers Michael View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4103433#4103433 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4103433 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen is not a solution worth trying for existing EJB
Well since you mentioned other servers, this is for the starters: http://jira.jboss.com/jira/browse/JBSEAM-1022 I've submitted it in March and it's getting postponed with every release. I don't like to hijack topics so if there is further discussion about that we can move it to another topic. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4103435#4103435 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4103435 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen is not a solution worth trying for existing EJB
Siarhei, Sorry, I have not had a chance to install Resin and try out your fix. ;) If we do commit to this to the code, we will need to maintain it for every Seam release. Can you help us with this? Also, since Seam 2.0.0 has just been released, can I ask you to update the issue with the latest examples? It will be great if you can send us a build-resin.xml for JPA and Hibernate2 examples. Thanks! cheers Michael View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4103436#4103436 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4103436 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen is not a solution worth trying for existing EJB
I will certainly try (for both questions) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4103437#4103437 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4103437 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: -Seam-gen PropertyNotFoundException after generate-entit
Post the involved entities and xhtml View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102981#4102981 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102981 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam-gen generates compile error
Yes, please post a JIRA issue. Sorry, that was a mistake on my part. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4103099#4103099 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4103099 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam-gen generates compile error
The issue has been posted. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4103114#4103114 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4103114 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen with hxtt
I have to rise the topic. Now the problem is: while deploying an application i'm having an exception: 2007-11-02 14:40:54,142 DEBUG [org.jboss.ejb3.ServiceDelegateWrapper] Starting failed persistence.units:ear=nica2.ear,unitName=nica2 javax.persistence.PersistenceException: org.hibernate.HibernateException: Wrong column type: GOD_INF, expected: smallint at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:720) at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:127) at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:246) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:103) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy72.start(Unknown Source) at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:120) at org.jboss.ejb3.Ejb3Deployment.startPersistenceUnits(Ejb3Deployment.java:627) at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:351) at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at
[jboss-user] [JBoss Seam] - Re: seam-gen in components.xml wrongly puts action execute
Looks like execute might be the new way, per http://jboss.com/products/seam/components-2.0.xsd but it seems my JBossIDE for Eclipse doesn't know yet. Cached Schema from how long ago? Also http://jboss.com/products/seam/pages-2.0.xsd now uses execute instead of expression. Per reference documentation it seem though pageflow-definition is still using expression. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4101168#4101168 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4101168 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen in components.xml wrongly puts action execute
yes, its better to disable schema caching in eclipse unless you really need it. We have a jira issue open with jbpm to change their action expression to action execute for consistency. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4101183#4101183 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4101183 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen with hxtt
thank you, that works. Now there's the next problem: i am getting an exception while deploying an application: | javax.persistence.PersistenceException: org.hibernate.HibernateException: Hibernate Dialect must be explicitly set for database: HXTT DBF | i've tried to put hibernate.jar into ear archive - no any affect... were can the problem be? ) Thank you View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4100528#4100528 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100528 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen with hxtt
the problem solved by setting value at persistence.properties View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4100703#4100703 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100703 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen with hxtt
hibernate.jar should be on the seam-gen classpath anyway. But put both in seam-gen/lib View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4100147#4100147 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4100147 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen generate entities errors
Make sure you bring this to hibernate tools team's attention at http://tools.hibernate.org View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4099187#4099187 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4099187 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen generate entities errors
anonymous wrote : nothing to do with seamgen I think so. You can try: - to add sql-type=char(32) in @Column(name = id, unique = true, nullable = false, length = 32) - or to extend MySQLDialect class. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4098666#4098666 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4098666 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen generate entities errors
Tried with seam2.0.0.CR3, same errors. As suggested, adding columnDefinition=char(32) to the id key fixes the problem with hibernate validation. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4099067#4099067 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4099067 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen generate entities errors
Perhaps it is related to the fact(according to mysql documentation) that mysql will silently change the char(32) field (which shows as char(32) in the schema) to a varchar(32) that is actually stored. If you describe the table from mysql, it shows char(32), perhaps this was read to generate the entities, and somehow the validation is finding about the silent change in column type. According to mysql documentation (13.1.5.1. Silent Column Specification Changes), this does not affect how you use the columns in any way. Since hibernate is generating the java, and doing the validation, it may be a hibernate bug, nothing to do with seamgen? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4098624#4098624 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4098624 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen generate entities errors
Commenting out the line in the persistence-dev.xml file removes the error and allows the generated project to work. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4098006#4098006 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4098006 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen generate entities errors
Problem line: property name=hibernate.hbm2ddl.auto value=validate/ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4098007#4098007 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4098007 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen generate entities errors
The line | property name=hibernate.hbm2ddl.auto value=validate/ | is not the problem. It's just the tool which tells you that you have a problem with the column type of column id: | Wrong column type: id, expected: varchar(32) | Here the issue may be with the MySql dialect. I had the same type of error with bit type and Hsqldb dialect. Check hibernate forum. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4098050#4098050 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4098050 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen generate entities errors
Sorry, forgot to post persistence.xml file seamgen produced, related to above issues: !-- Persistence deployment descriptor for dev profile -- | persistence xmlns=http://java.sun.com/xml/ns/persistence; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd; | version=1.0 | |persistence-unit name=infosys | providerorg.hibernate.ejb.HibernatePersistence/provider | jta-data-sourcejava:/infosysDatasource/jta-data-source | properties | property name=hibernate.dialect value=org.hibernate.dialect.MySQLDialect/ | property name=hibernate.hbm2ddl.auto value=validate/ | property name=hibernate.cache.use_query_cache value=true/ | property name=hibernate.show_sql value=true/ | property name=jboss.entity.manager.factory.jndi.name value=java:/infosysEntityManagerFactory/ | /properties |/persistence-unit | | /persistence View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4097652#4097652 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4097652 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen EntityList, how to disable auto search
griffitm - start a new topic for new subjects View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4096508#4096508 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4096508 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen EntityList, how to disable auto search
I too have a related need. I want to be able to provide a date range search on an Entity that has a due date field. It sounds like this can't be done with EntityQuery? I have to write a session bean and handle it that way? Any advice? Best Regards, MG View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4096228#4096228 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4096228 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen EntityList, how to disable auto search
I haven't reached reached searching by date yet, though perhaps in a week time; I guess I will face the same issue. please post your solution if you figure it out. At the moment I am trying to workout how to search by parent record using SelectOneMenu for search. eg, selecting a user from the SelectOneMenu to search userActivityLogs. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4096357#4096357 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4096357 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen problem when same table is referenced two times
I see ... http://jira.jboss.com/jira/browse/JBSEAM-994 does not point you to a solution. It only said is quite complicate to solve. The patch is only solving the compilation problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095332#4095332 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095332 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen EntityList, how to disable auto search
You'll need to get your scoping correct here. I would add some manager component, which outjects a new entity query object when you hit search. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094905#4094905 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094905 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen EntityList, how to disable auto search
The EntityQuery (compare to EntityHome) is much harder to grasp in terms of how it works; in the absence of documentation. Is there any example even if psudo-code which shows how to pass jsf parameters values to EntityQuery, execute and outject it... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094906#4094906 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094906 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen : old issues
anonymous wrote : JBSEAM-843 is about generate from existing entities; why shouldn't that make it into seam-gen ? If so I misunderstood you. I'll be very happy if seam-gen can generate from existing entities. anonymous wrote : alot of temp files are generated what does that mean ? The patch: - starts by create one text file for each entity class, the temp files, with the root name of each message key - then creates the final properties files from this temp files View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092842#4092842 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092842 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen : old issues
Why does it need to create a temp file for each entity ?! should be enough to just iterate all the entities in one file, right ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092856#4092856 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092856 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen : old issues
in target generate-entities: - a template is used to put the list of all the root keys needed by an entity in a text file; this template combines the structures of list.xhtml.ftl and edit.xhtml.ftl to be sure to cover all the messages needed by an entity - and an other template will put the list of all the entity name in an other text file - then an ant task will read all theses files and generate a unique file for each language with all the final keys and the messages associated To do the job, this last task will read: - /locale-config in faces-config.xml to get the list of languages to deal with - a xml file provided by the developper to get all the translations wished. If a translation is missing, the task will create a default message from the key, e.g.: Worker.grossWage - entity.worker.gross.wage.label=Gross Wage I'm ok to use any straight way to iterate on many entities to extract all the keys needed and put them directly in a unique file. In my first patch I used fmpp library to do this, but Seam team asked me to do without it, then the current solution. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4093113#4093113 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4093113 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen : old issues
If I have any say in the matter, I would like to see these changes (or some variation of them) integrated. seam-gen had a lot of other areas where it needed attention, which was addressed for the 2.0 release. Once we are beyond 2.0, I think we can continue to make seam-gen produce better and more flexible applications. While seam-gen cannot be everything to everybody, I do feel that it can still do a better job. My personal goals for seam-gen is to trim down the code as much as possible while integrating a very rich set of features. It should be more than just a fun prototype, but an excellent place to start with new applications. Trust that we do want contributions such as yours. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092407#4092407 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092407 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen : old issues
multiforeignkeys are not trivial to solve but is probably worth the trouble IFF it can be done right (something that just compiles is not enough, it needs to also actually work); i18n probably is easy to fix but needs fixes to hibernatetools to not overwrite files that are changed etc. I'm not against all these I just think some of the templates are (unnecessarily) complex as is (same for the generated result) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092481#4092481 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092481 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen : old issues
anonymous wrote : | something that just compiles is not enough, it needs to also actually work | patch proposed with JSEAM-994 IS working here. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092569#4092569 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092569 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen : old issues
anonymous wrote : | i18n probably is easy to fix but needs fixes to hibernatetools to not overwrite files that are changed etc. | The current version here of this feature deals with it through separation of properties files: - one with constant messages provided by Seam: can be modified by developer, but to be avoided (see below); - one with all the messages generated each time that generate-entities is executed: must not be modified by developer - one with specific messages provided by the developer. In this last one, developer can even put messages which will overwrite thoses of the 2 other files. When new translations is provided by developer, a new run of generate-entities will automatically takes them in account. So, no fixes of hibernatetools were needed. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092576#4092576 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092576 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen : old issues
anonymous wrote : | I'm not against all these I just think some of the templates are (unnecessarily) complex as is (same for the generated result) | I guess that it's JBSEAM-1206 which is concerned here. Mainly I replaced each hard coded message in templates by a #{messages['...']. I guess that what you are speaking about is: - in a few cases I used messages with parameters - some of the templates are quite rough and can be optimized. But at least it works. I'm ok to rework any unnecessarily complex cases... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092604#4092604 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092604 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen : old issues
anonymous wrote : | related is that we handle JBSEAM-843 ... in jboss tools/rhds now...just fyi ;) | does rhds manage manytomany associations? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092665#4092665 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092665 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen : old issues
ato: The patch might have been updated last time I saw it; but the first patch I looked at generated *alot* of additional files 1 per view artifcat...if that is not the case anymore then I rest my case ;) about many-to-many then that is an issue with seam-gen's templates; and since RHDS does its best to work with the seam developed templates we don't have a fix for that. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092693#4092693 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092693 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen : old issues
and yes #{messages...} for every reference makes the code hard to read for newbies IMObut maybe I just need some more convincing ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092694#4092694 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092694 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen : old issues
About i18n: I agree with you, the #{messages...} are ugly, but it's the standard way to do i18n with Seam... An other way is #{interpolator.interpolate...}, but imo it's worse and should be used only if necessary. I think that seam-gen is not only for beginners, or a fun prototype, but an excellent place to start with new applications as said Dan Allen. An option would be to be able to generate: - either monolanguage application with hard coded messages, by default for beginners or if no multi languages is needed - or fully i18n application if required but then it adds a little more complexity in templates. About i18n (2): anonymous wrote : | The patch might have been updated last time I saw it; but the first patch I looked at generated *alot* of additional files 1 per view artifcat...if that is not the case anymore then I rest my case ;) | I don't remember exactly what does the first patch. At least the second patch still uses a lot of properties files but not one per view artifact! And now the current version here uses by default 3 properties files by language, as stated before: - one with constant messages provided by Seam - one with all the messages generated - one with specific messages provided by the developer A lot of temp files are generated, but only the properties files above are to be know by the developer. About many-to-many: anonymous wrote : | then that is an issue with seam-gen's templates; and since RHDS does its best to work with the seam developed templates we don't have a fix for that | If I understand, this issue has to be managed by seam-gen. Then the situation is: - many-to-many can't be managed by target generate-entities: I don't remember where but on the forum or in jira there is a discussion on this issue. - I wrote a patch to add many-to-many above the patch for JBSEAM-843 - but JBSEAM-843 will not be added to seam-gen So now I have no clear vision of the next step... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092800#4092800 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092800 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen : old issues
JBSEAM-843 is about generate from existing entities; why shouldn't that make it into seam-gen ? btw. alot of temp files are generated what does that mean ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092807#4092807 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092807 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen changes character
dan - shouldn't we just allow - where it is ok (project names), and change it to _ where its not allowed (package/class names ?) ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092327#4092327 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092327 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen : old issues
related is that we handle JBSEAM-843 and JBSEAM-1136 in jboss tools/rhds now...just fyi ;) The best way to fix the other issues is patches and testcases (note: that seam-gen does not try to be everything to everybody and simplicity will be preffered over complexity if it is not a *big* requirement) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092328#4092328 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092328 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen : old issues
anonymous wrote : | related is that we handle JBSEAM-843 and JBSEAM-1136 in jboss tools/rhds now...just fyi ;) | Good! anonymous wrote : | The best way to fix the other issues is patches and testcases | About 994, 1493 1206: a patch was proposed for each of them. So... anonymous wrote : | seam-gen does not try to be everything to everybody and simplicity will be preffered over complexity if it is not a *big* requirement | About 994 and 1493: imo, they are not new features but expected behaviors. About 1206: atm, all the messages are hard coded in english. If they are translated, as soon as you run again seam generate-entities all the translations are lost. It's not really i18n friendly. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092362#4092362 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092362 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen setup and maven
Pete, I'm trying to use the nightly build from today (Build #350) and am getting the same problem:Unable to resolve artifact: Missing: | -- | 1) org.jboss.seam:jboss-seam-gen:jar:2.0.0-CR2 I assume that the nightly builds would include the fix that you mention above? The 3 steps you outlined don't work for me with this release. Cheers, Damian. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4091940#4091940 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4091940 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam-Gen Project Directory Structures
Feel free to raise a jira request for coverage support in a seam-gen project. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4091545#4091545 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4091545 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam-Gen Project Directory Structures
Thanks I will. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4091718#4091718 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4091718 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen
If there isn't a built in type for char in hibernate you can always create a usertype View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4091751#4091751 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4091751 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen changes character
THX it works now. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4091757#4091757 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4091757 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user