Ah sorry, I read your initial email wrong. That's what I get for skipping
lunch I suppose.

What happens if you remove that property altogether?

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Sudirikku Mohanjith
Sent: Thursday, February 21, 2008 12:19 PM
To: Yale CAS mailing list
Subject: Re: CAS services registry status

Hi Mike,
Thanks for the quick reply,

In my case hibernate.hbm2ddl.auto is set to update,

<prop key="hibernate.hbm2ddl.auto">update</prop>

Also if it was set to create-drop, none of the records will persist,
but it's only the statuses that doesn't persist.

My gut feeling is it is something to do with BIT datatype that is used
for boolean fields.

Cheers,
Mohanjith

On Fri, Feb 22, 2008 at 1:27 AM, Mike Kennedy <[EMAIL PROTECTED]> wrote:
> Mohanjith,
>
>  I think its because you probably have this property set in the
>  entityManagerFactory bean:
>
>  <prop key="hibernate.hbm2ddl.auto">create-drop</prop>
>
>  I think if you remove this line once the database is created you should
be
>  ok.
>
>  Mike
>
>
>
>  -----Original Message-----
>  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
>  Behalf Of Sudirikku Mohanjith
>  Sent: Thursday, February 21, 2008 11:35 AM
>  To: Yale CAS mailing list
>  Subject: CAS services registry status
>
>  Hi,
>   In my CAS deployment I'm using ServiceRegistry DAO based on MySQL and
>   Hibernate, as explained in
>   http://www.ja-sig.org/wiki/display/CASUM/Configuring. However the
>   status of the services in the registry is always reset everytime I
>   restart the application server.
>
>   Any help will be appreciated.
>
>   Cheers,
>   Mohanjith
>  _______________________________________________
>  Yale CAS mailing list
>  [email protected]
>  http://tp.its.yale.edu/mailman/listinfo/cas
>
>  _______________________________________________
>  Yale CAS mailing list
>  [email protected]
>  http://tp.its.yale.edu/mailman/listinfo/cas
>
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to