Re: data persistence using hibernate

2023-01-23 Thread Martin Grigorov
On Tue, Jan 24, 2023 at 8:50 AM James Pollard wrote: > I've managed to make some progress with database connectivity, ended up > using hikaricp instead > HikariCP is a just a connection pool. I am not sure what exactly you mean with "instead". A connection pool is not a replacement of an ORM fra

Re: data persistence using hibernate

2023-01-23 Thread James Pollard
I've managed to make some progress with database connectivity, ended up using hikaricp instead However, I can't workout where the most appropriate place to put the connection pool close call, is there a close or shutdown function I can override so that the connection pool can be closed cleanly.

Re: FormComponent and FormComponentPanel ClassCast Issue

2023-01-23 Thread Eric Hamel
If it helps here is the full ClassificationPanel class: - class ClassificationsPanel extends FormComponentPanel { private static final long serialVersionUID = 1L; private static final String TOGGLE_CLASS = "list-group-item-warning"; public ClassificationsPanel(String id, IModel mod

Re: FormComponent and FormComponentPanel ClassCast Issue

2023-01-23 Thread Eric Hamel
The hierarchy is DocumentSearchPanel extends BootstrapGenericPanel -> BodyPanel extends GenericPanel -> BootstrapForm -> FormGroup -> ClassificationPanel. ClassificationPanel is an anonymous class of DocumentSearchPanel. > On Jan 23, 2023, at 10:19 AM, Martin Grigorov wrote: > > Hi, > > On M

Re: FormComponent and FormComponentPanel ClassCast Issue

2023-01-23 Thread Martin Grigorov
Hi, On Mon, Jan 23, 2023 at 5:09 PM Eric Hamel wrote: > Good morning, > > We are running into intermittent issues on our WebSphere 8.5 environment. > The server keeps crashing and we see no cause in our logs. With that said, > admins have seen the following error in our logs and I can’t make sen

FormComponent and FormComponentPanel ClassCast Issue

2023-01-23 Thread Eric Hamel
Good morning, We are running into intermittent issues on our WebSphere 8.5 environment. The server keeps crashing and we see no cause in our logs. With that said, admins have seen the following error in our logs and I can’t make sense out of it. 07:48:51.632 ERROR [CVIENS | 10.79.49.41 | 5uRaDK