-->
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.  [ 2 posts ] 
Author Message
 Post subject: Question - Perfomance
PostPosted: Fri Jun 22, 2007 9:50 am 
Newbie

Joined: Thu Mar 30, 2006 2:51 pm
Posts: 2
Hi everyone!

I have a question about performance: I'm designing a table (Table1), and it has association with another table (Table2). Table2 can be considered a static table, 'cause its information are never changed. I was thinking about it: Is it good to have a static table on my database, or should I use some other way to get this information? I wouldn't like to have this information in my code...

ps.: this 'static table' is something like ACTIVE/IINACTIVE information (state or something like that...).

Thanks in advance...

[]s
LISS


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 22, 2007 11:38 am 
Regular
Regular

Joined: Fri Jan 20, 2006 9:38 am
Posts: 61
Location: Notts, UK
For design-time information which is immutable, I use Java annotations. You can set up your own annotation classes, and have initialize all the data in your code.

We have a whole API set up using metadata about our application design which is annotated into the application.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.