container/profiles/src/main/java/org/mobicents/slee/container/deployment/profile/jpa/JPAProfileEntityFramework.java
public void renameProfileTable(String oldProfileTableName, String newProfileTableName) {

      EntityManager em = getEntityManager();

      final Query q = em.createQuery(
              "UPDATE " + profileEntityClassName + " SET tableName = ?1 WHERE tableName = ?2")
              .setParameter(1, newProfileTableName).setParameter(2, oldProfileTableName);

      q.executeUpdate();
    }
public void renameProfileTable(String oldProfileTableName, String newProfileTableName) {

      EntityManager em = getEntityManager();

      final Query q = em.createQuery(
              "UPDATE " + profileEntityClassName + " SET tableName = ?1 WHERE tableName = ?2")
              .setParameter(1, newProfileTableName).setParameter(2, oldProfileTableName);

      q.executeUpdate();
    }
public void renameProfileTable ( String oldProfileTableName , String newProfileTableName ) { EntityManager em = getEntityManager ( ) ; final Query q = em . createQuery ( "UPDATE " + profileEntityClassName + " SET tableName = ?1 WHERE tableName = ?2" ) . setParameter ( 1 , newProfileTableName ) . setParameter ( 2 , oldProfileTableName ) ; q . executeUpdate ( ) ; }
/*
(non-Javadoc)

@see
org.mobicents.slee.container.component.profile.ProfileEntityFramework
#removeprofile
(org.mobicents.slee.container.component.profile.ProfileEntity)
/ * ( non - Javadoc )