-->
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.  [ 1 post ] 
Author Message
 Post subject: Hibernate tool doesn't override or exclude columns
PostPosted: Wed Nov 16, 2005 5:33 pm 
Newbie

Joined: Tue Nov 15, 2005 12:25 pm
Posts: 15
Hibernate version: 3.1 rc1

Hibernate tool version 3.1 beta

Name and version of the database you are using: Sybase 12.5

I am trying to run Hibernate tools with specified reverse eng file :

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-reverse-engineering PUBLIC "-//Hibernate/Hibernate Reverse Engineering DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-reverse-engineering-3.0.dtd" >

<hibernate-reverse-engineering>
<table-filter match-catalog="csa" match-chema="webtransact"
match-name="CSAddress" />
<table-filter match-catalog="csa" match-chema="webtransact"
match-name="CSAlias" />
<table catalog="csa" schema="webtransact" name="CSAddress">
<column name="CITY" exclude="true"/>
</table>
</hibernate-reverse-engineering>

It sucessfully generates mapping and java source files but doesn't exclude
column from mapping.

By the way to get it working with Sybase I had to enable "ddl in trans" for tempdb database.


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

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.