Hi All,
I am new user for JBoss. But I have tested JBoss AS and I am quite happy with the progress. One thing where I get confused is deployment of ear.
As per my knowledge when we place *.ear file in $JBOSS_HOME/server/all/deploy directory and whenever we restarted JBoss server then it try to deploy those ears again which cause server to respond comparatively slow. Even response is good than also it is not good practice to let JBoss deploy ears again!!
Can anyone help me out for above problem.
Summary : I just want JBoss AS to deploy newly placed ear in the deploy directory, instead of all ears it tries to deploy.
Thanks,
Maulik
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997540#3997540
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997540
I'd say you have a serious problem there. If you use @ManyToOne, the referenced entity must exist. The only other option is to specify that field as a long and retrieve the referenced entity by means of a separate query. Be warned though, getSingleResult() from a Query throws an exception (NoResultException if memory serves) instead of returning null if it can't find the requested entity.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997533#3997533
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997533
Thanks for your answer.
I need to specify the columnnames because the databaseschema already exists and it's not an option to change this.
If I understand you correct, YES.
| Table A
| a_pk1 a_pk2 col3
| -----------------------------------
| 1 1 1
|
| Table B
| b_pk1 b_a_fk1 b_a_fk2
| -----------------------------------
| 1 1 1234567890123
|
With this lovely peace of art I want to show that table B has a reference to A, but the record doesn't exists i Table A. I would call this a error in the database but like a said it's not an option to change this.
Any ideas?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997526#3997526
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997526