[jboss-user] [JBoss Tools (users)] - Field based Annotations approach in reverse engineering stra

2008-11-21 Thread mcsous
Hi, How can I configure in Jboss Tools 2.x to generate my entities where the annotations are place in fields not in getter/setter methods in reverse engineering strategy? Thanks, View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4191399#4191399 Reply to the

[jboss-user] [JCA/JBoss] - Removing abandoned connections

2008-07-28 Thread mcsous
Hello, I have an application that doesn't close the DataSource connections. But I don't have the code yet. Using tomcat I have 2 properties that do the house keeping in DataSource management: removeAbandoned and removeAbandonedTimeout. Is there any similar tags to do the same result with Jboss

[jboss-user] [JBoss Seam] - How to use Url user friendly with seam

2008-01-11 Thread mcsous
Hello, I looked on documentation but didn't found anything about url user friendly. I want to create something like: /myApplication/users/EditUser/marcossousa where create a url pattern specifies that /myApplication/users/EditUser/#{user.username}. Is it possible to make with seam? View

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Share the same data subclasse entities.

2007-11-28 Thread mcsous
Hello, I have a problem: I have a Person entity that is the superclass, the Customer and Employee that are the subclasses. One Employee can be a Customer, and vice-versa. How can I share the persons data with Employee and customer? Thanks. View the original post :

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Attach Entity

2007-09-18 Thread mcsous
Hello, I'm wanting to save attach file in DataBase. I used this annotation: @Basic(fetch=FetchType.LAZY) | @Column(updatable=false) | private byte[] content; This works fine, except one thing, the fetch strategy doesn't work. The attach content always select like EAGER fetch strategy. How

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Attach Entity

2007-09-18 Thread mcsous
Ok, but if I add @Lob annotation in, Postgres Database, the column type will be wrong and won't save any file. The type column is oid and could be bytea. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4085780#4085780 Reply to the post :

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Saving files using hibernate

2007-07-20 Thread mcsous
Hello! I would know how can I store files like images, documents, sheets using hibernate annotations? And more... is there any way to lazy the file content property? Thanks, View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4066370#4066370 Reply to the post :