Yes, I did this for Oracle. See the, sql2java.java
file.
best,
Chintan
--- middlegen-user-request@xxxxxxxxxxxxxxxxxxxxx
wrote:
> Send middlegen-user mailing list submissions to
> middlegen-user@xxxxxxxxxxxxxxxxxxxxx
>
> To subscribe or unsubscribe via the World Wide Web,
> visit
>
>
https://lists.sourceforge.net/lists/listinfo/middlegen-user
> or, via email, send a message with subject or body
> 'help' to
> middlegen-user-request@xxxxxxxxxxxxxxxxxxxxx
>
> You can reach the person managing the list at
> middlegen-user-admin@xxxxxxxxxxxxxxxxxxxxx
>
> When replying, please edit your Subject line so it
> is more specific
> than "Re: Contents of middlegen-user digest..."
>
>
> Today's Topics:
>
> 1. mapping DB types to Java types (Jonathan
> Scott)
>
> --__--__--
>
> Message: 1
> Date: Thu, 12 Aug 2004 10:25:20 +0900
> From: Jonathan Scott <jwscott@xxxxxxxxxx>
> To: middlegen-user@xxxxxxxxxxxxxxxxxxxxx
> Organization: Vanten
> Subject: [Middlegen-user] mapping DB types to Java
> types
> Reply-To: middlegen-user@xxxxxxxxxxxxxxxxxxxxx
>
> Hi All,
>
> Looking through the MiddleGen site, I am worried it
> is not at all possible to force certain DB types to
> specific Java classes.
>
> PostgreSQL has a type "inet" which is an IP address.
> MiddleGen does not understand this type and thus
> marks it as "Object" in our hbm.xml files. We would
> like to map it to another class.
>
> Is there any configuration file/option etc. that I
> could use to achieve this? Any pointers would be
> more than welcome.
>
> TIA,
> Jonathan Scott
>
>
>
> --__--__--
>
> _______________________________________________
> middlegen-user mailing list
> middlegen-user@xxxxxxxxxxxxxxxxxxxxx
>
https://lists.sourceforge.net/lists/listinfo/middlegen-user
>
>
> End of middlegen-user Digest
>
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
|
Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and so
lutions to enable the business.
subscribe
Systems Management News
, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happenin
g in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
|
Search:
Java, servers, webhosts, VoIP...
more...
|
|
|
|
|