1. Hibernate criteria to get a maximum length of the column value stackoverflow.comI wonder if it is possible to write a criteria or set a projection to get a maximum result of the string value length? Thanks in advance. so I try to do ... |
2. 2.1 RC1 foreign key column length forum.hibernate.orgNewbie Joined: Thu Oct 23, 2003 6:39 pm Posts: 16 Hi there I'm struggeling to integrate a legacy system with hibernate. All ids are assigned, many composite. Problem is that 2.1 RC1 seems to ignore the length of the id of the referenced column in many-to-many relationships. Case: 2 persistent classes, Item and AcademicGroup in a bidirectional relationship, both have assigned ... |
3. How can I get column name and length of table... forum.hibernate.org |
4. How to define the column length via a typedef forum.hibernate.org |
5. Defining the length of the column forum.hibernate.orgNewbie Joined: Sat Nov 11, 2006 1:27 am Posts: 1 Hibernate version:3.0 Name and version of the database you are using:HSQL Problem: I have used hibernate annotations in my class...........But even after specifying the column length annotation its taking the default value(255)............ For example I have defined the value of contact number field in the class below as 15.......But even when ... |
6. Conrolling column "length" property forum.hibernate.org |
7. How do i get the column length. forum.hibernate.orgI need to get the column length for some entity properties so we can perform some data validation before saving. Is there a way to do this? There was a suggestion on another post to obtain the underlying JDBC connection and get the info from there, but the connection method has been deprecated (we're using version 3.2.6) I should mention that ... |
8. Weird Column Length problem forum.hibernate.orgHi folks! We are using Hibernate as our persistence layer with NetBeans 6.7.1, EJB3, Glassfish and PostgreSQL. We have almost 200 tables defined as EJB entities. We use annotations on the entities to define the tables/columns. As we are still in an early testing phase, we regularly drop all the tables in the database and use the Hibernate auto schema update ... |