query « Schema « JPA Q&A





2. Schema validation query executiong high number of times.    forum.hibernate.org

Recently we found out that a certain query (attached below) is executed a high number of times against our databases. As far as I know this is the query hibernate issues at start up to validate the mapping against database schema, however, the behavior were seeing is that the query is executed several times per second, causing high load on database. ...

3. Query Pagination Problem due to schema    forum.hibernate.org

Sorry about the long email first! Using Hibernate 3: This is a more general question rather than just Hibernate, I am posting here as I don't know where else to ask, just looking for some advice from expert database query experts. I have a situation where I am modifying an application that has a very generic data model such as: An ...

4. Database Schema update using Hibernate Query Language    forum.hibernate.org

Is it possible to alter a table or drop a table using Hibernate Query Language ? I dont want to use native SQL Query at those querries will be MySql specific. Through forums I came to know about Hibernate class SchemaUpdate. But it does not drop a table drop a column change a constraint on a column & I want all ...

5. Hibernate Produces Bad Schema (and Queries & Results)    forum.hibernate.org

Here is the relevant part of my JPA-annotated class (it's an item belonging to a category and also having an owner; both of these are many-to-one relationships): Code: { public class Item { @Id @GeneratedValue private long id; @NotNull private String ...

6. Prevent database schema from being prepended into queries    forum.hibernate.org

Hello, This is my first posting here so thank you in advance for your help. I'm using JPA with Hibernate implementation. The database is MySQL 5+ and I'm using java version 6. Operating system is Linux red hat. My hosting company tells me that I should not use sql statements that include the database schema. Here is my configuration in my ...