Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Creating association between tables using bindModel method in cakephp

Sometime we need to create association between models .we need this because ,we want that all associated data came on the first level of recursion. In cakephp creation of association is done by using cakephp bindModel() method. In below code we are

how to avoid duplicate data in php mysql ?

i have this database which contain table for questions and other for answers how can i display each questions with the answers that belong to this question my problem is when i try to display the questions i get duplicated rows or all the answers for

Maintain Session in Home Page

While using sessions user must have to be cautious while invoking and destroying it When user login into the page session gets created from the database details Ex : session["userid"]=obj.getsessionid(); While logout we must destroy this se

Calling Stored Procedure from Java Code

Let say you have requirement to call stored procedure from your Java code. You can use following sample code for your reference. Change the connection source as per your requirement and call the method. package com.app.util; import java.sql.*; pub

Naming Conventions in CakePHP

If You are confused in CakePHP naming Conventions this blog helps you more to Understand about the Naming Conventions. All naming Convention Depends on your database table name which should be proper name. When Your are creating CakePHP Project you

Authentication using Encyption and Decryption

  While providing user login in encrypted username and password you need to make sure that the credentials entered will first be encrypted and then matched into the database entries for providing login.   ALTER PROC [dbo].[uspAuthentica

JSON.parse in .NET

In programming you need to parse the data while doing the process of json serialization or converting the data into of JSON type means in key value pair form.       So for doing that you need to use the predefined function that wil

Combine the PL/SQL and the SQL commands in manipulating the database.

(PL/SQL structure, Data types, Variable, DBMS Output and Conditions), try to combine the PL/SQL and the SQL, where you can use PL/SQL with SQL commands in manipulating the database. and this is my codes but i am having issues running it, ca

Entity Lifecycle

Entity Lifecycle in EntityFrame Work:-- Before working on entity framework on asp.net, It's important to know the entity (like any table, list etc.) life cycle and how it is managed by the entity framework. During entity’s lifetime, each entity has

ERROR: Cannot lock table [TABLE_NAME] because the table is locked by another process

When by mistake we stopped the IBM WAS Server when Match Job was running. It didn't allowed us to run again the Match Job, every time it was giving following error: [ERROR] com.delos.cmx.server.datalayer.repository.object.ReposTableObject$TableObj

1 153 161
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: