-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Getting database native types
PostPosted: Wed Nov 26, 2003 1:56 pm 
Newbie

Joined: Sat Nov 22, 2003 8:42 pm
Posts: 9
Does Hibernate provide a way of getting native data types (the ones used by SchemaGenerator)??

For example, "which data type is used by SchemaGenerator when I use the Hibernate 'string' when I'm connecting to MySql????", answer = VARCHAR(255)

Thanks in advance,
Andr


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 26, 2003 2:41 pm 
Beginner
Beginner

Joined: Tue Nov 25, 2003 3:33 pm
Posts: 35
you can look it up in net.sf.hibernate.type.TypeFactory class


Top
 Profile  
 
 Post subject: also
PostPosted: Wed Nov 26, 2003 3:12 pm 
Senior
Senior

Joined: Sun Aug 31, 2003 3:14 pm
Posts: 151
Location: Earth (at the moment)
You can also look in net.sf.hibernate.dialect.MySQLDialect for more info on how the java.sql.Types get treated for MySQL.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.