If you replace EntityLoader.java with the attached file, you won't have the
Transient and Overrride issues.

Marc http://www.nabble.com/file/p16742460/EntityLoader.java
EntityLoader.java 

mschipperheyn wrote:
> 
> Hi,
> 
> I have set up jpa2web to generate a UI. It's quite a cool thing because
> the forms are far more advanced than the current Appfuse out of the box.
> OneToMany relations, Calendar popups, OneToOne embedded form elements are
> all supported using Ajax. It's a backoffice out of the box but but it
> doesn't adher to your controller architecture. Not sure if it is useful in
> the long run but it's certainly interesting how all this advanced form
> functionality is reduced to a few custom tags. 
> 
> Some things to note when you try to get it to work:
> * All get methods in your model are read and presumed to be part of the
> storage model. Even @Transient and @Override. This will require you to
> prevent unexpected nullpointers at some points like toString methods and
> may also lead to errors in form generation here and there.
> * The example uses hibernate.connection.datasource in stead of
> hibernate.connection.url, which didn't work for me.
> * You need to include all your hibernate jars including entitymanager,
> annotations and annotations commons to the classpath of Tomcat
> 
> Cheers,
> 
> Marc
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Using-JPA2Web-to-generate-a-UI%3A-quite-cool-tp16741523s2369p16742460.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to