I am using the hibernate module and it works well. However, I need to
do some stuff before Hibernate loads. I have tried using the @Startup
annotation on a method in AppModule, but this appears to run after
Hibernate starts up. I have also tried something like:
public static void
contributeRegistryStartup(OrderedConfiguration<Runnable>
configuration)
{
configuration.add("dbMigration", new Runnable() {
public void run() {
//code that needs to run before Hibernate
}
});
}
But that also seems to run after Hibernate has started.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]