Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 07-16-2005
OrNot OrNot is offline
Registered User
 
Name: Bin.Li
Organization: GE Healthcare
Project: Enterprise solution
 
Join Date: Jun 2005
Location: Shanghai
Posts: 157
Send a message via MSN to OrNot
-->
Questions about IceFreeze.

hi,there,
The following questions may virtually belong to the subject of database and not very suitable to be asked here,
but I think the man who designed the freeze must be a specialist of database and hope getting some helps.

1) Freeze is a very powerful tool but unfortunately ,for the time being, do not support other database systems such as mysql and oracle. I know there exists a class library named Hibernate and want to combinate it in our project with ICE. I am not sure if this strategy is convenient and easy to implement because not familar with it at all.

2) So far as Freeze, supposing that we have a database table and can give the corresponding slice definitions and then produce the class by slice2Freeze, it is ok to do what we want to do with the map. Now, if we allow the client to add a field to the table, we must run the slice2Freeze and recompile our codes again. I want to know, if there are some ways to allow table changed but without redistributing the applications. For example, user can print some info such as name, age and tel. number, now we allow the user to add a email address and print it out in addition.

Thanks in advance -OrNot

Last edited by OrNot : 07-18-2005 at 04:20 AM.
Reply With Quote
  #2 (permalink)  
Old 07-17-2005
matthew's Avatar
matthew matthew is offline
ZeroC Staff
 
Name: Matthew Newhook
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Feb 2003
Location: NL, Canada
Posts: 1,060
I don't really know what the question is in item #1.

As for #2 it depends on what the purpose of the new data field is, and your application design.

What does your application do with this data other than just collecting and storing it? How does the field get added (ie: new field in a GUI?)

If you do computations with the field you must have some way of adding it to the application logic -- which generally means changing the code, or providing some sort of scripting logic to your customer.

Without knowning more about the application design and goals its hard to give a concrete answer.

Assuming that you don't want to do all that much with the data then you could keep a sequence of string/string pairs in the database record which are used for extensible fields.

Regards, Matthew
Reply With Quote
  #3 (permalink)  
Old 07-18-2005
OrNot OrNot is offline
Registered User
 
Name: Bin.Li
Organization: GE Healthcare
Project: Enterprise solution
 
Join Date: Jun 2005
Location: Shanghai
Posts: 157
Send a message via MSN to OrNot
-->
hi,Matthrew,

1) Hibernate (http://www.nhibernate.org/) seems famous in that it can construct a map from database to OOP classes by
configuring XML files and make user operate on these classes. Its ideas seem like the freeze but I cannot say much becuase I do not know it at all. we want to use it only because we have to deal with various database systems.
2) Actually I am in a mess about this question .
Please allow me to hold this question and ask it later. So sorry. Anyway, thank you very much.

OrNot
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
two questions yanhbo Help Center 1 09-15-2005 12:34 AM
Questions. OrNot Help Center 4 07-12-2005 09:40 PM
OR mapping questions stephan Help Center 2 02-04-2005 04:42 PM
several questions on IceSSL diego Help Center 0 11-25-2004 08:44 PM
two questions simpley Help Center 6 11-06-2003 11:11 AM


All times are GMT -4. The time now is 11:05 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.