gen « Seam « JPA Q&A





1. Seam - Entity Query - dynamic restrictions    stackoverflow.com

I have an EntityQuery - addressList generated by Seam-gen for Entity Address. Lets say that address has following fields : streetName and city, so Seam-gen generate restrictions for them. I would like ...

2. Hibernate yes_no for char(1) vs seam-gen    seamframework.org

I added the following code to my project's seam-gen.reveng.xml expecting it to let my CHAR(1) Y/N flags be mapped appropriately. It helped, but wasn't quite perfect.One of my new booleans was art of a composite key. The isDefinedId method included code like: if (getTblId().getFlag() == 0) return false;Because ...

3. seam-gen and hibernate    seamframework.org

HiI am using Dan Allens book (Seam in Action) and have been following theinstructions to get seam-gen going. I have hit an error in 'seamgenerate' related to Hibernate and I am unsure of how to troubleshootit. If anyone has any ideas I would appreciate it. Find below the output:C:\Documents and Settings\paulmeehan\MyDocuments\Development\jboss-seam-2.2.0.GA>seam generateSEAM_HOME: C:\Documents and Settings\paulmeehan\MyDocuments\Development\jboss-seam-2.2.0.GAUsing seam-gen sources from: C:\Documents and Settings\paulmeehan\MyDocuments\Development\jboss-seam-2.2.0.GA\seam-genBuildfile: ...

4. Seam gen crud and hibernate validator    seamframework.org

In every List page seam gen creates a search form for the entity. My entitys are annoted with Hibernate Validator (like email validation) and in my search form these validations are been executed. In the search form i have no s:validate ou s:validateAll, it shouldnt execute this validation at this point. It forces me to write a valid email to search ...