Historically, Hibernate facilitated the storage and retrieval of java domain objects via Object/Relational Mapping. Today, Hibernate is a collection of related projects enabling developers to utilize POJO-style domain models in their applications in ways extending well beyond Object/Relational ...

learn more… | top users | synonyms

0
votes
1answer
9 views

Hibernate or hsql does not respect column length

I have an application that uses hibernate to generate tables (since my application is still under development) for HSQL db. In my domain model I have set @Basic @Column(name = "about", length = 10) ...
0
votes
0answers
7 views

CDI injection in EntityListeners

Since JPA 2.0 does not support injection into EntityListener (JPA 2.1 will), decided to use JNDI lookup to get the BeanManager and through it get the logged in user. I defined an EntityListener ...
0
votes
1answer
16 views

what is the best way to deploy model project in tomcat

I have a multi module maven project containing a common model project and two web projects( 1 for the site uses jsf, and another is set of axis based web services used to collect data from the user) ...
0
votes
1answer
12 views

fetching all product from my data base too slow with hibernate “EGER”

hi i am using JPA hibernate as a persistance framwork all fetc type atribute on my class are EAGER , so when i am ettempting to find ALL product from my data Base it take 15 second , too slow :( is ...
0
votes
0answers
22 views

Insert or update row using hibernate session

I have a jtable with add row option.On saving,existing rows in the jtable gets updated and newly added rows gets inserted using hibernate session.The problem i have now is,insertion of one new row is ...
0
votes
0answers
8 views

Table Partitioning in MySql and Hibernate

In my project I have a table with around 20 columns. We have partitioned table on column 'status'. For the sake of simplicity let's say there are two possible values of status "ERROR" and "SUCCESS". ...
0
votes
0answers
6 views

Hibernate: @Formula incorrectly parsing alias

So I'm using the @Formula annotation to initialize a property with a query as is shown below: private Integer idVehicle; @Formula("(select count(*) " + "from vehicleServiceType as vs " ...
2
votes
2answers
21 views

handling database constraint hibernate

My project is using hibernate with spring transaction manager and my database is postgres (might be irrelevant). I'm trying to read big xml files and construct objects out of those (objects are not ...
0
votes
2answers
24 views

JBoss 7.1: No suitable driver found java:mysql - could not open connection

I was looking for an answer but didn't find solution. I'm developing simple web-app using JSF2 and Hibernate. This is first time I'm using Hibernate and I'm facing many problems with configuration. My ...
0
votes
0answers
20 views

scala hibernate/jpa - ignore autogenerated bitmap$init$0 mapping

Trying to use hibernate/jpa with scala. Running into interesting issue. This is my entity definition. @Entity class Product(n: String, d: Double) extends EntityBase { def this() = this("", 0) ...
0
votes
2answers
35 views

weird org.hibernate.LazyInitializationException: could not initialize proxy - no Session

Hi guys i'm having a weird problem in here, i'm using JPA, Hibernate and Spring MVC well in the controller class all the methods work great when i test them in the web browser EXCEPT the : public ...
3
votes
1answer
36 views

Hibernate and Composite Keys

I am lost on how to use composite keys with annotations and hibernate... So for instance I have this table that has: TABLE_A INIT, NUM, CNT, TYP TABLE_B INIT, NUM, V_CNT TABLE A and B primary ...
0
votes
2answers
25 views

Hibernate update not working

I am new with hibernate and I was trying to update a mapped object with the following code, but it does not update factory = config.buildSessionFactory(); session = factory.getCurrentSession(); ...
0
votes
0answers
12 views

Hibernate return object with annotation

I'm trying to create a webservice. I have a class UserVO with Hibernate annotations with the attributes login, password and id. I need to return the object but with those annotations I have this ...
0
votes
1answer
15 views

In a new class I got Target Unreachable, identifier ' ' resolved to null

I have a project with Spring, JSF and Hibernate. This project has been developed for 2 months. There are a lot of modules that work. I created ManagedBean in a new package and made reference to it ...

1 2 3 4 5 1044
15 30 50 per page