hibernate3 Questions
15
Solved
In Hibernate 3, is there a way to do the equivalent of the following MySQL limit in HQL?
select * from a_table order by a_table_column desc limit 0, 20;
I don't want to use setMaxResults if poss...
Anatase asked 6/8, 2009 at 15:33
7
Solved
I am developing a web application using maven spring and hibernate and I need to create schema using hibernate for which I had the following in my pom.xml to connect to MySQL 5.5 database.
<!-...
Givens asked 8/1, 2012 at 17:32
3
Solved
Using JPA2/Hibernate, I've created an entity A that has a uni-directional mapping to an entity X (see below). Inside A, I also have a transient member "t" that I am trying to calculate using a @Pos...
Libertinage asked 21/12, 2010 at 10:24
2
Solved
I'm upgrading an old project from hibernate3 to hibernate5. The project has a dependency on hbm2java (the so-called reverse engineering tool). In the old project this was executed with mvn hibernat...
Lancelancelet asked 11/6, 2017 at 4:38
1
Solved
I've just realized that there is no org.hibernate.cache.internal.NoCacheProvider class in Hibernate 4 Core packages. Maybe it is deprecated. So is there any alternive for Hibernate 4? Thank you in ...
Rotterdam asked 16/9, 2013 at 10:21
5
Solved
I would like to use hibernate-3.5-1.Final along with this plugin, what should be my dependencies here. It seems to be picking up a older set of jars and failing right now.
<plugin>
<gro...
Osmanli asked 29/4, 2010 at 5:31
5
Solved
HI, I have the following model:
@Entity
class Flight{
private Airport airportFrom;
private Airport airportTo;
@OneToOne(fetch=FetchType.LAZY,optional=false)
public Airport getAirportFrom(){
...
Stanwin asked 20/11, 2010 at 21:32
4
Solved
I'm trying to use Hibernate 3.5.5 with Spring HibernateJpaVendorAdapter on Glassfish V2 but I'm getting the following exception when the Spring context is initialised:
java.lang.NoSuchMethodError:...
Disabuse asked 1/10, 2010 at 15:55
4
Solved
Upgrading my project I'm thinking here about transactions.
Well, the thing is I'm not quite sure when should I use the transactions for my Hibernate queries in Spring.
Not that I completely don't u...
Lampyrid asked 13/5, 2011 at 15:6
3
Solved
I am working on a latency sensitive part of an application, basically i will receive a network event transform the data and then insert all the data into the DB. After profiling i see that basicall...
Grieg asked 12/6, 2010 at 0:6
1
© 2022 - 2024 — McMap. All rights reserved.