? Hibernate generating two different sequence Ids for PostgreSQL insert

I have an entity defined with a sequence-generated primary key:@Id@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "id_key_gen")@SequenceGenerator(name = "id_key_gen", sequenceName = "i
 ? Hibernate/JPA and PostgreSQL - Primary Key?

I'm trying to implement some basic entities using Hibernate/JPA. Initially the code was deployed on MySQL and was working fine. Now, I'm porting it over to use PostgreSQL. In MySQL, my entity class
 ? Different time in two date columns after inserting a new record using Hibernate

I have Entity with two columns that contains date:@Entity@Tablepublic class Document { @DateTimeFormat(pattern = DateUtils.DD_MM_YYYY_HH_MM) Generated(value = GenerationTime.INSERT) @Column(n
 ? HQL projection on entities/tables

I have two tables with one to one relationship - Person and HouseI tried to use HQL projection like Select p.name, p.dob from Person which returns me the name and dob fine.However, I dont know how to
 ? Hibenrate + Projection and Criteria for Entity with nested List Entity

I have an entity call Student with few fields related to student and a list of Subject with oneToMany relation. Here i need to get all the fields including the List of Subject except "image" as it use
 ? Hibenrate + Projection and Criteria for Entity with nested List Entity

I have an entity call Student with few fields related to student and a list of Subject with oneToMany relation. Here i need to get all the fields including the List of Subject except "image" as it use
 ? Hibenrate + Projection and Criteria for Entity with nested List Entity

I have an entity call Student with few fields related to student and a list of Subject with oneToMany relation. Here i need to get all the fields including the List of Subject except "image" as it use
 ? Using Projections in JPA 2

I need to convert a Hibernate criteria query like the followingcurList = session.createCriteria(Islem.class) .createAlias("workingDay", "d") .setProjection(Projec
 ? Hibernate Criteria + projection with no results

I need all distinct people with name <> null:List<Criterion> conditions = new ArrayList<Criterion>();conditions.add(Restrictions.ne("name", null));Projection projection = Projections.di
 ? Hibernate criteria projection JList

I have a gui with a JList which is supposed to contain all the fields and values ​​categories1 categories2 of a personality without duplicates and sorted alphabetically.To do this, I use a method with
 ? Save blob to DB using hibernate

I tried save file to MySQL using blob with hibernate3. But I always have java.lang.UnsupportedOperationException: Blob may not be manipulated from creating session org.hibernate.lob.BlobImpl.excep(Blo
 ? logback <logger> level ignored when logs come from jboss-logging

My web application (deployed on tomcat 7) is using hibernate 4.2 which logs using jboss-logging. Jboss logging is finding slf4j on the path and uses it. In turn, I have logback-classic to output the l
 ? Lucene BooleanQuery

How to use booleanQuery with StandardAnalyzer in Lucene Search? I presume you are referring to parsing boolean queries using the QueryParser object, correct? The Lucene query syntax documentation s
 ? Lucene BooleanQuery

How to use booleanQuery with StandardAnalyzer in Lucene Search? I presume you are referring to parsing boolean queries using the QueryParser object, correct? The Lucene query syntax documentation s
 ? Lucene BooleanQuery

How to use booleanQuery with StandardAnalyzer in Lucene Search? I presume you are referring to parsing boolean queries using the QueryParser object, correct? The Lucene query syntax documentation s
 ? FuzzyQuery and BooleanQuery

I work with Hibernate Search 3.1.1.GA.I am trying my luck at fuzzy queries. This query works (it retrieves records containing Shakespeare):lastName:shakespere~0.1But this one does not:firstName:shakes

Page 1 of 117  |  Show More Pages:  Top Prev Next Last