Thank you so much! 
You are great! It is true! And that seems to be the reason, why I saw those lod 
statements again and again. 


"Neelixx" wrote : 
  | If the tables can't be created, then your entity beans can't be 
initialized.  Ergo, your EM won't be bound.

But why does it work on the "NON PRODUCTION" version of jboss?

"Neelixx" wrote : 
  | If you already have your tables in your DB, turn off hbm2ddl.  It looks 
like you have it set at "create-drop".  Every time you deploy your application, 
it will try to drop your tables, and recreate them.

I had allready created the db schema, and hibernat tried to create them again 
and again. 
Now I set the value to update to switch the auto-generation to OFF. Is it the 
right way? Because I couln't find a "SWITCH OFF" property value.

<property name="hibernate.hbm2ddl.auto" value="update" />

Or is there another value, which you can set to 
the hibernate.hbm2ddl.auto property?

"Neelixx" wrote : 
  | Is this running on a production server?  If not, change your log settings 
to the following:
  | 
  | org.jboss.EJB3 = DEBUG
  | org.hibernate = DEBUG
  | 
  | Redeploy your app, and view the server log.  Maybe that will give you more 
insight.

I am using the "jboss 4.0.3 production version" but I guess you are speaking of 
another thing, don't you? 
No! It is my own pc at home. I  am developing a little application for my 
study. So I could easily change everything I have to change.

Now I will search the doc. fo find out, where I can set these "DEBUG" values.
I will tell you what happend.



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3901865#3901865

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3901865


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to