1. How to make the xml schema for PersistentEnum types? forum.hibernate.orgNewbie Joined: Fri Apr 02, 2004 2:19 pm Posts: 1 Sorry for my newie question but I haven't seen any example for that. My PersistentEnum class: Code: package hospital.admin; import net.sf.hibernate.PersistentEnum; /** * @author raul * * To change the template for this generated type comment go to * Window>Preferences>Java>Code Generation>Code and Comments */ public class TipoUsuario implements PersistentEnum { ... |
2. SchemaExport and table types forum.hibernate.orgHibernate version: 2.1.6 I am using the SchemaExport in my application to create the tables from the mapping files. I am using Hypersonic HSQLDB and want to use CACHED tables so say "CREATE CACHED TABLE" not "CREATE TABLE". I have been reading the hibernate source and as far as I can see there is no way of changing this without changing ... |
3. How to change default SQL types generated by schema export ? forum.hibernate.org |
4. SchemaExport sql-type problem forum.hibernate.orgNeed help with Hibernate? Read this first: http://www.hibernate.org/ForumMailingli ... AskForHelp Hibernate version: Hibernate 3.0.5 Mapping documents: |
5. JDK1.5 Enum Type & SchemaExport forum.hibernate.orgNeed help with Hibernate? Read this first: http://www.hibernate.org/ForumMailingli ... AskForHelp Hi, I am trying to generate a create table statement using schemaexport and ran into this problem. I thought it is easy to do. Apparently, I am missing something here. I wanted to create a table with two columns. text_id and state Text_id: PK state: enum I created the EnumUserType as ... |
6. embed oracle type creation SQL with schemaexport? forum.hibernate.orgIs there a way to ensure the existence of an Oracle object type as part of the generated schema? I have the following SQL statements to create PROPERTY_ARRAY, a SQL3 object: create or replace type PROPERTY as object ( PROPERTY_KEY VARCHAR2(256), PROPERTY_VALUE VARCHAR2(4000) ); create or replace type PROPERTY_ARRAY is VARRAY(1000) of PROPERTY; I also implemented a Hibernate user type that ... |
7. SchemaExport of calendar types - overriding the types forum.hibernate.org |
8. SchemaExport of calendar types - overriding the types forum.hibernate.orgDATE vs. TIME vs. TIMESTAMP It's noteworthy to point out how the registrationDate column, which is annotated to be TemporalType.DATE, simply gets a year-month-day value, whereas the lastAccessTime column is populated with a full timestamp, including both the day and the time (TemporalType.TIME is the third option which would have simply saved the time, and not the calendar day). By the ... |