JavaBeans and Databases

Hi,
I have the following code for a javabean that queries the databases based on a parameter passed in a form.
import java.sql.*;
import java.io.*;
public class QueryBean {
// private String dbURL = "jdbc:odbc:Contacts4";
private String dbURL = "jdbc:odbc:africa";
private String dbDriver = "sun.jdbc.odbc.JdbcOdbcDriver";
private Connection dbCon;
String Name = null;
public QueryBean() {
super();
public String getName() {
return this.Name;
public void setName(String tname) {
this.Name = tname;
public String doQuery() throws ClassNotFoundException, SQLException {
// Class.forName(dbDriver);
Class.forName(dbDriver);
dbCon = DriverManager.getConnection(dbURL,"sa","");
Statement s = dbCon.createStatement();
String sql = "SELECT * FROM Members WHERE Last_Name like '" + this.Name
+ "%' or Notes like '" +"%"+ this.Name
+ "%' or Company_Name like '" +"%"+ this.Name + "%'";
//System.out.println("sql : "+sql);
ResultSet rs = s.executeQuery(sql);
String rt = "";
while (rs.next()) {
rt = rt + "<tr> <td>" + rs.getString("Last_Name") + "</td>";
rt = rt + "<td>" + rs.getString("First_Name") + "</td>";
rt = rt + "<td>" + rs.getString("Address") + "</td>";
rt = rt + "<td>" + rs.getString("Phone") + "</td>";
rt = rt + "<td>" + rs.getString("Type");
rt = rt + "<td>" + " -> "+rs.getString("Notes") + "</td> </tr>";
dbCon.close();
return rt;
When I compile the code it is okay.
I have a form in which somebody enters the parameter:
<html>
<body>
This is the Query page.
<p>
<form method=post action="query2.jsp">
Name: <input type=text name=tname>
<br>
<input type=submit>
</form>
</body>
</html>
The action of the form is this:
<html>
<body>
<%@ page language="java" %>
<jsp:useBean id="queryBean" scope="request" class="QueryBean" />
<%
queryBean.setName(request.getParameter("tname"));
%>
The result of the query is:
<table>
<tr>
<th> Noms </th> <th> Pr�noms </th> <th> Adresses </th><th> T�l�phones
</th><th> Notes </th>
</tr>
<%= queryBean.doQuery() %>
</table>
<p>
</body>
</html>
When the form is submitted I get the following error:
Generated servlet error:
[javac] Compiling 1 source file
C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\japps\query2_jsp.java:44: cannot resolve symbol
symbol : class QueryBean
location: class org.apache.jsp.query2_jsp
QueryBean queryBean = null;
^
An error occurred at line: 3 in the jsp file: /query2.jsp
Generated servlet error:
C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\japps\query2_jsp.java:46: cannot resolve symbol
symbol : class QueryBean
location: class org.apache.jsp.query2_jsp
queryBean = (QueryBean) pageContext.getAttribute("queryBean", PageContext.REQUEST_SCOPE);
^
An error occurred at line: 3 in the jsp file: /query2.jsp
Generated servlet error:
C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\japps\query2_jsp.java:49: cannot resolve symbol
symbol : class QueryBean
location: class org.apache.jsp.query2_jsp
queryBean = (QueryBean) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "QueryBean");
^
3 errors
If you've got any ideas on this.Like help me out.
Cheers

I actually found what the problem was, I simply had to put the class file in a package and everything worked out fine.Thanks for the input though.
Cheers

Similar Messages

  • JSP JavaBeans and Database

    i am wondering whats the "correct" or best way to connect to a DB using JavaBeans and using this in JSP pages?
    i read abt creating a SQL "Helper" class that has some functions like connect etc... but i am thinking its a bit confusing...
    if i have a function
        public static Statement Connect() {
            try {
                Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                con = DriverManager.getConnection("jdbc:odbc:auction","","");
                stmt = con.createStatement();
            } catch (SQLException e) {
                System.out.println("ERROR: SQLException occured!\n" + e.getMessage());
            } catch (Exception e) {
                System.out.println("ERROR: An Exception occured!\n" + e.getMessage());
           return stmt;
        }then i use it
    Statement stmt = SqlHelper.connect();when i want to close the connection how do i do it? is it a must to close connections anyway?
    or shld i do it the easy way, having the code
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    con = DriverManager.getConnection("jdbc:odbc:auction","","");
    stmt = con.createStatement();on all JSP pages?
    Thank you

    BalusC wrote:Do it in the data layer. Write DAO classes and SQL helper classes. Then let the business layer, the Servlet, interact with the data layer and let the presentation layer, the JSP, display the results.
    And don't return a Statement, but a Connection. And yes, closing a Connection is a must, otherwise you're leaking resources which will cause your web application to crash due to a memory shortage.ya thats what i am trying to do... but how do i? like this? except i return a connection instead? and also, i shld return it by reference? mmm... in java isit like return &con?
    package AuctionSystem;
    import java.sql.*;
    public class SqlHelper {
        private static Connection con;
        private static Statement stmt;
        public SqlHelper() {
            Connection con = null;
            Statement stmt = null;
        public static void Connect() {
            try {
                Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                con = DriverManager.getConnection("jdbc:odbc:auction","","");
                stmt = con.createStatement();
            } catch (SQLException e) {
                System.out.println("ERROR: SQLException occured!\n" + e.getMessage());
            } catch (Exception e) {
                System.out.println("ERROR: An Exception occured!\n" + e.getMessage());
        public static Connection getCon() {
            return con;
        public static Statement getStmt() {
            return stmt;
        public static void Close() {
            con.close();
            stmt.close();
        public static String FormatString(String string) {
            return "'" + string + "'";
    }Edited by: iceangel89 on May 27, 2008 3:50 AM

  • What is the diffrence between a javabean and  EJB

    hi!
    what is the diffrence between a javabean and entreprise jvaabeans! i mean which are the uitilization featires of eaxh one !

    i am seeking for a solution for my problem , in fact i ma trying to implement and develop an application with java that allows a certain range of IP adresses to be connected to a database server in order to extract the suitable data from the server .
    let me explain mor ethe suitation , in fact what i am loking for is to use javabeans to grant my application much more consistence and pertinence : si i am asking if it could be possible to use javabeans in my case especially if i am not trying to developp a web application but a cleint /server one allowing some services.
    The application is in fact dealing with a stock exchange market and what i am trying to do is to grant particilar registrated customers to have the informations that they need ( portofolio, currency's status, market indicators, .) also drawing some charts decribing rates, variations, and others specefic financial caracterestics .So , if we consider that this application is not a web application ( no HTTP request and no servers like apache or others ) how it is possible to use javabeans and not EJB to build the application? i mean what could be suitable and preferable to rely on and dvelop to ensure a good java application !!
    if you need more details to help you find the answer for me don't hesitate to answer me back !!
    Someone here gave me that answer
    use RMI to code the services and (Updateable) Value Objects to pass the information between tiers.
    RMI is an all-java distributed component framework (ie. EJB, CORBA, DCE/RPC, DCOM, etc.), that is very suitable for developing non-containerized multi-tier applications. Refer to the RMI trail in the Java Tutorial as a starting point for coding RMI solutions (http://java.sun.com/docs/books/tutorial/index.html). Under this scenario you would code the database access service as an RMI service (server-side). Client/server communication should be facilitated through the use of JavaBeans/classes that wrap the information being passed (customer information, portfolio details, market information, etc.) - these are refered to as 'Updateable Value Objects' (a design pattern). Graphing and charting would be handled in your client from the information received from the (RMI) server. GUI JavaBeans can be used to provide this functionality as well as other client-side services. There are numerous "shrink-wrapped" components for GUIs available on the market just peruse any Java magazine to find them.
    but how comes? how can i do it !! and where can i find more information please about 'Updateable Value Object "
    thanks

  • Re: what is difference between sap locking and database locking

    hi,
        what is difference between sap locking and database locking. Iam locked the table mara by using lock objects.
    But iam unable to unlock the mara table. I give u the coding. Please check it.
    REPORT zlock .
    CALL FUNCTION 'ENQUEUE_EZTEST3'
    EXPORTING
       MODE_MARA            = 'S'
       MANDT                = SY-MANDT
       MATNR                = 'SOU-1'.
    call transaction 'MM02'.
    CALL FUNCTION 'DEQUEUE_EZTEST3'
         EXPORTING
              mode_mara = 'E'
              mandt     = sy-mandt
              matnr     = 'SOU-1'.
    IF sy-subrc = 0.
      WRITE: 'IT IS unlocked'.
    ENDIF.

    Hi Paluri
    Here is the difference between SAP locks and Database locks, i will try to find the solution to your code.
    Regards
    Ashish
    Database Locks: The database system automatically sets database locks when it receives change statements (INSERT, UPDATE, MODIFY, DELETE) from a program. Database locks are physical locks on the database entries affected by these statements. You can only set a lock for an existing database entry, since the lock mechanism uses a lock flag in the entry. These flags are automatically deleted in each database commit. This means that database locks can never be set for longer than a single database LUW; in other words, a single dialog step in an R/3 application program.
    Physical locks in the database system are therefore insufficient for the requirements of an R/3 transaction. Locks in the R/3 System must remain set for the duration of a whole SAP LUW, that is, over several dialog steps. They must also be capable of being handled by different work processes and even different application servers. Consequently, each lock must apply on all servers in that R/3 System.
    SAP Locks:
    To complement the SAP LUW concept, in which bundled database changes are made in a single database LUW, the R/3 System also contains a lock mechanism, fully independent of database locks, that allows you to set a lock that spans several dialog steps. These locks are known as SAP locks.
    The SAP lock concept is based on lock objects. Lock objects allow you to set an SAP lock for an entire application object. An application object consists of one or more entries in a database table, or entries from more than one database table that are linked using foreign key relationships.
    Before you can set an SAP lock in an ABAP program, you must first create a lock object in the ABAP Dictionary.

  • Some error in cluster alertlog but the cluster and database is normal used.

    hi.everybody
    i used RAC+ASM,RAC have two nodes and ASM have 3 group(+DATA,+CRS,+FRA),database is 11gR2,ASM used ASMlib,not raw.
    When i start cluster or auto start after reboot the OS,in the cluster alertlog have some error as follow:
    ERROR: failed to establish dependency between database rac and diskgroup resource ora.DATA.dg
    [ohasd(7964)]CRS-2302:Cannot get GPnP profile. Error CLSGPNP_NO_DAEMON (GPNPD daemon is not running).
    I do not know what cause these error but the cluster and database can start normal and use normal.
    I do not know whether these errors will affect the service.
    thanks everybody!

    anyon has the same question?

  • Performance with MySQL and Database connectivity toolbox

    Hi!
    I'm having quite some problems with the performance of MySQL and Database connectivity toolbox. However, I'm very happy with the ease of using database connectivity toolbox. The background is:
    I have 61 variables (ints and floats) which I would like to save in the MySQL-database. This is no problem, however, the loop time increases from 8ms to 50ms when using the database. I have concluded that it has to do with the DB Tools Insert Data.vi and I think that I have some kind of performance issue with this VI. The CPU never reach more the 15% of its maximum performance. I use a default setup and connect through ODBC.
    My questions are:
    1. I would like to save 61 variables each 8-10ms, is this impossible using this solution?
    2. Is there any way of increasing the performance of the DB Tools Insert Data.vi or use any other VI?
    3. Is there any way of adjusting the MySQL setup to achieve better performance?
    Thank you very much for your time.
    Regards,
    Mattias

    First of all, thank you very much for your time. All of you have been really good support to me.
    >> Is your database on a different computer?  Does your loop execute 61 times? 
    Database is on the same computer as the MySQL server.
    The loop saves 61 values at once to the database, in one SQL-statement.
    I have now added the front panel and block diagram for my test-VI. I have implemented the queue system and separate loops for producer and consumer. However, since the queue is building up faster then the consumer loop consumes values, the queue is building up quite fast and the disc starts working.
    The test database table that I add data to is created by a simple:
    create table test(aa int, bb char(15));
    ...I'm sure that this can be improved in some way.
    I always open and close the connection to the database "outside the loop". However, it still takes some 40-50 ms to save the data to the database table - so, unfortunatly no progress to far. I currently just want to save the data.
    Any more advise will be gratefully accepted.
    Regards,
    Mattias
    Message Edited by mattias@hv on 10-23-2007 07:50 AM
    Attachments:
    front panel 2.JPG ‏101 KB
    block diagram.JPG ‏135 KB

  • I just want itunes music and database to be on external HD not internal

    What am I doing wrong. I have itunes music library on my external HD and my itunes preferences say that my itunes music folder location is just that. It's about 41 GB. Ok, but why on my system drive is there an itunes folder in the default user music folder and it is 7 GB and there are certain titles in there that did not make it to the external. The database files are in there as well. Shouldn't everything be located in the external itunes music folder including the database files ? How do I have itunes automatically update the external HD folder and put the database files in there as well and stop using the internal system drive for storage and database.

    I did that a while ago. But now it seems there are 7 GB of stray files. Is there a sync feature that moves only the itunes files that are outside the designated itunes folder, in my case they are living on the system drive for some reason...

  • I run Dev 6i on Windows 2008 R2 64-bit,the forms are working fine after connection to the database but the reports continue to request for username, password and database connection string every time i try to open a report.

    I receive REP-0501: Unable to connect to specified database. I run developer 6i application on windows 2008 r2. I have applied the nn60.dll and nnb60.dll files to the \BIN directory. The forms are working fine. The reports will only display after the correct user id (username, password and database connection string) is supplied. This is happening to all attempts to open already complied form. Pls, help.

    If you are connecting to an Oracle 11g database, remember that by default the passwords are case sensitive. To disable that, run
    ALTER SYSTEM SET SEC_CASE_SENSITIVE_LOGON = FALSE;

  • ERROR: Exception occured while encrypting the configuration and database

    I'm facing below issue/error during the OIM 11g R2 configuration (fresh install).  Resolutions from other blog with same error (DOMAIN_HOME misconfigured) isn't helping in my case.
    Thanks for your help
    updateMLSLocale:ORACLE_HOME :/fmw/Oracle_IDM1
    updateMLSLocale:LOCALE_PROPERTIES_FILE :/fmw/Oracle_IDM1/inventory/Scripts/ext/jlib/oim/OIMLocales.properties
    java.lang.Exception: Exception occured while encrypting the configuration and database
      at oracle.as.install.oim.config.util.EncryptConfigurationAndDB.encryptConfigurationAndDatbase(EncryptConfigurationAndDB.java:239)
      at oracle.as.install.oim.config.OIMConfigManager.encryptDB(OIMConfigManager.java:1035)
      at oracle.as.install.oim.config.OIMConfigManager.configureOIM(OIMConfigManager.java:891)
      at oracle.as.install.oim.config.OIMConfigManager.doExecute(OIMConfigManager.java:583)
      at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:371)
      at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:88)
      at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:105)
      at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
      at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:64)
      at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:160)
      at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
      at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:86)
      at java.lang.Thread.run(Thread.java:662)
    Caused by: java.lang.Exception: Exception occured while encrypting the database
      at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:159)
      at oracle.as.install.oim.config.util.EncryptConfigurationAndDB.encryptConfigurationAndDatbase(EncryptConfigurationAndDB.java:230)
      ... 12 more
    Caused by: java.lang.Exception: Exception occured in updateMLSLocale method while updating Locale to OIM DB
      at oracle.as.install.oim.config.util.EncryptDataBase.updateMLSLocale(EncryptDataBase.java:318)
      at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:125)
      ... 13 more
    Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV_OIM.UK_MLS_LOCALE_MLS_LOCALE_CODE) violated
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
      at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
      at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
      at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
      at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
      at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
      at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1115)
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)
      at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
      at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3904)
      at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1512)
      at oracle.as.install.oim.config.util.EncryptDataBase.updateMLSLocale(EncryptDataBase.java:310)
      ... 14 more

    Hi
    I faced this issue before ,Reinstall is the option you have .Verify the version of RCU before you start creating schema .Set all Pre DB setting ,hostname and IP Address ,If DB and OIM  are in ifferent machines check pinging from both the sides .
    Please Drop all OLD schema ,Create a New "Prefix" for fresh installation , don't use old schema .
    Let me know .
    Thanks,
    Ari

  • TA25361 I have a ton of documents and databases in AppleWorks v 6.0 that I can no longer open on my MacBook Pro.  Is there any way to recover this info?  Some documents can be opened and resaved with textedit, but not my database with all important addres

    I have a ton of documents and databases in AppleWorks v 6.0 that I can no longer open on my MacBook Pro.  Is there any way to recover this info?  Some documents can be opened and resaved with textedit, but not my database with all important addresses.

    I tried Peggy's List > Select All > Copy > Paste into an AW spreadsheet suggestion.
    In my case, pasting into the spreadsheet lost all text formatting (mostly text set to bold). The results of formulas were pasted, and checkboxes were pasted as "on" or "off". The DB did not contain any pop-up menus or radio buttons, but I expect they would transfer as a number showing the list position of the chosen item.
    Pasting the copied List view data into a Numbers table gave a result similar to that with AppleWorks. I selected B2 as the target cell (for top left cell of the pasted data) to avoid any effects of posting into a header row or column. Bold and regular text formatting looked the same as it had in AW's List view.
    Based on that, I'd slip the 'paste into an AppleWorks Spreadsheet step, and paste directly into a Numbers Table.
    Regards,
    Barry

  • Is the only way to import large amount of data and database objects into a primary database is to shutdown the standby, turn off archive log mode, do the import, then rebuild the standby?

    I have a primary database that need to import large amount of data and database objects. 1.) Do I shutdown the standby? 2.) Turn off archive log mode? 3.) Perform the import? 4.) Rebuild the standby? or is there a better way or best practice?

    Instead of rebuilding the (whole) standby, you take an incremental (from SCN) backup from the Primary and restore it on the Standby.  That way, if, for example
    a. Only two out of 12 tablespaces are affected by the import, the incremental backup would effectively be only the blocks changed in those two tablespaces (and some other changes in system and undo) {provided that there are no other changes in the other ten tablespaces}
    b. if the size of the import is only 15% of the database, the incremental backup to restore to the standby is small
    Hemant K Chitale

  • SQL script based on hostname and database name?

    I am trying to write a script that I can run on several unix servers and databases that will do different sql statements based on which server and database it is being run in.
    Something like:
    if hostname = 'A' and database name = 'D' then do this
    else if hostname = 'B' and database name = 'F' then do that
    I have tried many diifferent combinations of shell scripts and sql scripts but can't seem to get anything that works.
    Can someone help me out? Thanks.

    Since you are already able to get he db and host info, you are well on your way to branching based on that information. All you need is the basic framework:
    declare
      db VARCHAR2(30);
      host VARCHAR2(30);
      sqlcmd VARCHAR2(4000);
    begin
      select sys_context('userenv','host') host
           , sys_context('userenv','db_name') db_name
        into host
           , db
        from dual;
      case
        when db = 'XE' and host = 'mypc' then
          sqlcmd := q'[local_package.do_something('parm1', :db, :host)]';
          execute IMMEDIATE sqlcmd USING db, host;
        when db = 'DEV' and host in ('serv1','serv2') then
          sqlcmd := q'[different_packge.do_something('parm1', :db, :host)]';
          execute IMMEDIATE sqlcmd USING db, host;
        else
          dbms_output.put_line('unrecognized db/host combination: '||db||', '||host);
      end case;
    end;
    /In this example I've used dynamic SQL since not all instances are guaranteed to have any or all of the package procedures referenced in the dynamic sql. With out the dynamic sql, you would get errors and be unable to run the script on any instance lacking one or more of the reference package procedures..

  • Different values on form and database

    hi all
    i have a field which counts the number of rows
    on the form which is showing a different value (which is correct)
    and in the database it is showing a different value (incorrect)
    i have issued commit
    i am not understanding why this is happening ..
    please help me
    Mandar

    listening for the first time but u r facing the problem, reconfirm that the query/properties are correct in form properties, check it by creating new form module for just checking weather it is showing correct in that form. and c if there is when_new_form_instance trigger or When_Validate_windows trigger used for some execution. and one more thing just check if u didnt change the column and create it again and database type is NO ( properties )

  • What is a javabean and how to compose it?

    Q1:although have used many java class in jsp within tomcat, but i don't is it a standard javabean. I mean is any java class can be an javabean, or what is the different between javabean and java class.
    for now i found some problem with 'javabean' used in jsp.
    Q2:what is ther difference between use jsp:setProperty,jsp:getProperty and direct give value like 'myBean.variable=100'?
    thanks!

    javabeans are standard classes but have :
    - default constructor
    - getter and setter methods
    javabean can be used on custom tags, so no code on your jsp !
    why don't directly use attributes ?
    look this thread :
    http://forum.java.sun.com/thread.jsp?forum=45&thread=314643
    this is one, but it's not the only, reason.
    Regards.

  • Re: Workspace integration and Database Mapping

    Subject: Re: Workspace integration and Database Mapping
    >
    1. I aggree with you that this is a weak point of Forte. A possible workaround is
    to have a Workspace 'BugFixes' where you fix your bugs without affecting the rest
    of your code.
    1 - When you integrate a workspace into the repository it takes all the
    changes you have made in that workspace and 'saves' them to the
    repository. However, what if you have a workspace which has a half
    finished project as well as another project which you make a small but
    important change to. The small change must go back because other
    developers need the 'fix', but the half finished project will essentially be
    'broken' if it is integrated at this stage. Is there any way to integrate
    only specific projects? If not, how do you stop the half finished project
    being copied into the other developers' workspaces when they do an
    'Update'.
    Hi Forte'rs
    I just would like to express my deep appreciation for the way integrating
    workspaces works in Forte.
    This makes it a lot safer to work with, because you can only test the
    COMPLETE set of code and not just the 'few' changes you just made...
    I, at least, always make quite a few changes in a bunch of classes, so it would be
    a complete mess to try to sort out which changes to integrate and which to keep
    in my workspace only.
    Now I also have been frustrated not being able to make a quick (and dirty) fix - but
    in hindsight - it is clear that you cannot be sure that the fix works in the real world
    (you know: the stuff outside your own heavily modified workspace).
    So while I agree with everyone that got frustrated by not been able to integrate
    just a few changes, I am also happy that this is not allowed!
    may the forte be with you all
    Jens Chr Juul Jensen
    KAD/Denmark
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Subject: Re: Workspace integration and Database Mapping
    >
    1. I aggree with you that this is a weak point of Forte. A possible workaround is
    to have a Workspace 'BugFixes' where you fix your bugs without affecting the rest
    of your code.
    1 - When you integrate a workspace into the repository it takes all the
    changes you have made in that workspace and 'saves' them to the
    repository. However, what if you have a workspace which has a half
    finished project as well as another project which you make a small but
    important change to. The small change must go back because other
    developers need the 'fix', but the half finished project will essentially be
    'broken' if it is integrated at this stage. Is there any way to integrate
    only specific projects? If not, how do you stop the half finished project
    being copied into the other developers' workspaces when they do an
    'Update'.
    Hi Forte'rs
    I just would like to express my deep appreciation for the way integrating
    workspaces works in Forte.
    This makes it a lot safer to work with, because you can only test the
    COMPLETE set of code and not just the 'few' changes you just made...
    I, at least, always make quite a few changes in a bunch of classes, so it would be
    a complete mess to try to sort out which changes to integrate and which to keep
    in my workspace only.
    Now I also have been frustrated not being able to make a quick (and dirty) fix - but
    in hindsight - it is clear that you cannot be sure that the fix works in the real world
    (you know: the stuff outside your own heavily modified workspace).
    So while I agree with everyone that got frustrated by not been able to integrate
    just a few changes, I am also happy that this is not allowed!
    may the forte be with you all
    Jens Chr Juul Jensen
    KAD/Denmark
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

Maybe you are looking for

  • Number of Rows Displayed in a SQL Report Region

    Hi, Just wondering whether it is possible to control the 'Number of Rows' displayed under the 'Layout and Pagination' section within the Report Attributes page. Basically need to know if I can programmatically control this or even better, can it be c

  • Workflow process does not complete for 3500 but works for about 10 records

    Hi Gurus, I am a novice in workflow. Pls bear if the questions are very basic. We have a old custom workflow process which is inistaed by a PL/SQL procedure WF_ENGINE.CreateProcess --- WF_ENGINE.StartProcess --- COMMIT; --- Now this process has run f

  • HT5538 Can't activate iMessage on my iPhone 5S phone number

    I recently bought an iPhone 5S about two weeks ago and I have been unable to activate iMessage for my phone number on it. I believe I have tried every troubleshoot step without success. When trying to activate iMessage I get several SMS's telling me

  • What should I do when...

    I am burning from iDVD to a disk. The file size is larger then then the disk. What should I use to shrink then burn?

  • Lost license

    Hi, i purchased adobe Photoshop CS3 student edition a few years ago, and now my pc crashed, i couldn't save any data. now i need to reinstall PS on my new pc, but i cannot find the mail with the license key information. Oh, did i mention that back th